Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate active regions based on Cigar information #171

Merged
merged 4 commits into from
Oct 25, 2021

Conversation

joergi-w
Copy link
Member

@joergi-w joergi-w commented Oct 18, 2021

I'm using the activity values from a previous PR to calculate the regions of high activity with a sliding window approach. The regions are returned in the format of intervals (i.e. pairs of genome positions).

The first commit adds the new functionality, the second commit structures the already quite long function into smaller, testable functions. The third commit adds API tests in order to satisfy coverage tests. Therefore, it may be easier to review them separately.

Resolves #153.

@codecov
Copy link

codecov bot commented Oct 18, 2021

Codecov Report

Merging #171 (e180d2a) into master (d14e155) will increase coverage by 0.31%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #171      +/-   ##
==========================================
+ Coverage   96.48%   96.80%   +0.31%     
==========================================
  Files          19       19              
  Lines         797      814      +17     
==========================================
+ Hits          769      788      +19     
+ Misses         28       26       -2     
Impacted Files Coverage Δ
src/iGenVar.cpp 100.00% <ø> (+1.65%) ⬆️
src/variant_detection/snp_indel_detection.cpp 98.48% <100.00%> (+0.92%) ⬆️
src/variant_detection/variant_detection.cpp 93.97% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d14e155...e180d2a. Read the comment docs.

@joergi-w joergi-w requested review from a team and remyschwab and removed request for a team October 18, 2021 14:25
@remyschwab remyschwab requested review from Irallia and removed request for remyschwab October 21, 2021 08:41
@Irallia Irallia requested review from joshuak94 and removed request for Irallia October 21, 2021 08:50
@joshuak94 joshuak94 self-requested a review October 21, 2021 12:20
@joshuak94 joshuak94 requested a review from Irallia October 21, 2021 12:20
Copy link
Collaborator

@Irallia Irallia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGFM, just some style things and maybe missing comments.

@joergi-w joergi-w requested a review from Irallia October 25, 2021 09:30
Copy link
Collaborator

@Irallia Irallia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Irallia Irallia merged commit 1563340 into seqan:master Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Determine the active regions in a genome
3 participants