-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve MM/MN tag validity checking to cope with SEQ "*"
Added MM overflow detection for +ve strand data. It was already detected on -ve strand as this is done in the initial parse loop. We only detect +ve strand overflow once we hit the end of the iterator, but it's still sufficient for validation. Also improve MM parsing when faced with empty lists, such as "C+m;C+h,0". These parsed correctly before, but left state->MM[0] pointing at the "C" rather than ";" which makes overflow detection harder.
- Loading branch information
1 parent
e6eb2f4
commit 172da4d
Showing
2 changed files
with
24 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
@CO Separate m, h and N modifications | ||
* 0 * 0 0 * * 0 0 AGCTCTCCAGAGTCGNACGCCATYCGCGCGCCACCA * Mm:Z:C+m,2,2,1,4,1;C+76792,6,7;N+n,15; Ml:B:C,102,128,153,179,204,161,33,212,169 | ||
* 0 * 0 0 * * 0 0 AGCTCTCCAGAGTCGNACGCCATYCGCGCGCCACCA * Mm:Z:C+m,2,2,1,4,1;C+76792,6,7;N+n,15; Ml:B:C,102,128,153,179,204,161,33,212 |