-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the SAM output of RapMap, there was an implicit assumption that if a read is unmapped, then the read is written down in the forward orientation. That is, if the read unmapped flag is set (0x4), then the flag 0x10 was assumed to have an invalid (random) state --- the unmapped read is always recorded in its forward orientation. However, while the SAM spec does dictate that many of the flags can be ignored (i.e. are not guaranteed to be valid) if 0x4 is set, it actually doesn't seem to make this claim about 0x10. These changes should assure that, for an orphaned pair, the mateFwd flag will be set.
- Loading branch information
Rob Patro
committed
Feb 1, 2019
1 parent
23ec452
commit 836f85c
Showing
2 changed files
with
9 additions
and
124 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