Skip to content

Commit

Permalink
fix comments to be clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Feb 25, 2017
1 parent dac7996 commit fe48787
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_read_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,11 +515,13 @@ def test_read_cleaning_consume_read_by_read():
kmer = "caggcgcccaccacc".upper()
assert x.get(kmer) == 1

# the 2nd read with this k-mer in it has an N in it; 'consume' will ignore.
# consume will ignore the invalid base in 2nd read containing this k-mer,
# so the k-mer will have an abundance of 2.
kmer = "CCTCATCGGCACCAG"
assert x.get(kmer) == 2

# the 2nd read with this k-mer in it has a Z in it; 'consume' will ignore.
# consume will ignore the invalid base in 2nd read containing this k-mer,
# so the k-mer will have an abundance of 2.
kmer = "ACTGAGCTTCATGTC"
assert x.get(kmer) == 2

Expand Down

0 comments on commit fe48787

Please sign in to comment.