alexpreynolds / kmer-counter

Count kmers with a more efficient (faster) hash table
MIT License
24 stars 5 forks source link

example for kmer count answer? #8

Open J-I-P opened 3 years ago

J-I-P commented 3 years ago

Hi, There are my command and result.

./kmer-counter --fasta --k=3 test/kmer.fa --rc
>foo    ACG:1 TAA:2 AAC:1
>bar    CTC:1 GCC:2 GCA:2 AAC:1 CTA:1 AAT:2 TCA:2 AGA:3 CAC:1 AAA:2 GAA:3 CCA:2 TAA:1 CAG:1 ATG:2 CAA:2 CCC:1 AAG:3 GGA:1 AGG:1 GAC:2 ACT:2

Original foo's sequence is TTAACG Why the kmer=3 of foo is ACG:1 TAA:2 AAC:1 not TTA:1 TAA:1 AAC:1 ACG:1 ? Is something I get wrong? Thanks for any advice.