-
Notifications
You must be signed in to change notification settings - Fork 14
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
Adopt cutesv error handling #320
Conversation
Codecov Report
@@ Coverage Diff @@
## develop_v3 #320 +/- ##
==============================================
- Coverage 86.45% 86.43% -0.02%
==============================================
Files 55 55
Lines 9289 9306 +17
Branches 2398 2404 +6
==============================================
+ Hits 8031 8044 +13
- Misses 778 779 +1
- Partials 480 483 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
std_row['break2_position_start'] > std_row['break2_position_end'] | ||
or std_row['break1_position_start'] > std_row['break1_position_end'] | ||
): | ||
if 'event_type' in std_row and std_row['event_type'] != 'BND': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: FYI you could just do std_row.get('event_type') != 'BND'
here if you wanted
Addresses edge cases found in SV caller outputs:
change the convert module to not allow the end of breakpoint1 to be greater than the end of breakpoint2 (
end1_after_end2
)----------================---------------
----------------========---------------------
should be converted into
----------===========---------------------
----------------========---------------------
do not allow the start of breakpoint 2 to be lesser than the start of breakpoint 1 (
start2_before_start1
)-------------------============---------------
----------------=================---------------------
should be converted into
-------------------============---------------
-------------------===============---------------------
breakpoint ends must allows be greater or equal to the same breakpoint start (throw a user warning in this case, as it should never happen, but still coerce the breakpoint to be the other)