-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Feature]: Add alignment
and cigar
getters
#42
base: master
Are you sure you want to change the base?
Conversation
Add a function that can convert the information contained in an Insertion or a Deletion into a CIGAR operator.
Add a function that can calculate the matching bases between two (non-matching) Variations and return a matching (M) CIGAR operation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #42 +/- ##
==========================================
+ Coverage 86.52% 90.06% +3.53%
==========================================
Files 7 7
Lines 282 312 +30
==========================================
+ Hits 244 281 +37
+ Misses 38 31 -7
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
alignment
and cigar
getters
Closes #39
Types of changes
This PR implements the following changes:
📋 Additional detail
Add methods to
BioAlignments.alignment
andBioAlignments.cigar
to pull aPairwiseAlignment
and CIGAR string from aHaplotype
, respectively.See the updated docs for runnable examples.
☑️ Checklist
docs/src/
.[UNRELEASED]
section of the manually curatedCHANGELOG.md
file for this repository.