Mercurial > repos > rlegendre > ribo_tools
diff get_codon_frequency.py @ 14:344bacf6acb8 draft
Uploaded
author | rlegendre |
---|---|
date | Fri, 10 Apr 2015 03:18:56 -0400 |
parents | 7c944fd9907e |
children | 702e60e819c2 |
line wrap: on
line diff
--- a/get_codon_frequency.py Thu Apr 09 11:35:48 2015 -0400 +++ b/get_codon_frequency.py Fri Apr 10 03:18:56 2015 -0400 @@ -94,7 +94,7 @@ continue len_read = len(read.split('\t')[9]) # if it's read of good length - if len_read == kmer and (tag in line or multi_tag not in line): + if len_read == kmer and (tag in read or multi_tag not in read): feat = read.split('\t') seq = feat[9] # if it's a reverse read