Created
September 10, 2014 00:05
-
-
Save mdshw5/abb0b87681bf548815f2 to your computer and use it in GitHub Desktop.
huh?
This file contains hidden or 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
| def get_alignment(line): | |
| col = line.split('\t') | |
| if sam_format: | |
| if line[0] == '@': return [] | |
| flag = col[1] | |
| if 'u' in flag: return [] | |
| if options.unique and 's' in flag: return [] | |
| if options.pair and 'P' not in flag: return [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment