Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small suggestion #217

Open
KBT59 opened this issue Jul 7, 2023 · 3 comments
Open

Small suggestion #217

KBT59 opened this issue Jul 7, 2023 · 3 comments

Comments

@KBT59
Copy link

KBT59 commented Jul 7, 2023

Kmc runs but gives all zeros for output when run on fastq headers with white space like

@alph-63_S41_R1_001:2/1 cD:i:1 cE:f:0.000000 cM:i:0

If I first strip headers to contain no whitespace (this takes more time than kmer counting does) then the problem goes away. Can the program be made to tolerate headers with whitespace?

@marekkokot
Copy link
Contributor

Hi, hmm this is surprising. Could you please upload the smallest possible example input file causing this behavior and the full command line you have used? I thought I fixed something like this some time ago... but maybe there is still a problem.

@KBT59
Copy link
Author

KBT59 commented Jul 7, 2023 via email

@marekkokot
Copy link
Contributor

Hi,

I cannot see the attachments.
I created the input myself, like this:

@alph-63_S41_R1_001:2/1 cD:i:1 cE:f:0.000000 cM:i:0
GACTACTACATCTATGCTATCATCTGATGCTGAGCTGATGCATGTCATGCTA
+
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII

but it seems to give ok results:

./kmc -k32 test.fq o .
**
Stage 1: 100%
Stage 2: 100%
1st stage: 0.65277s
2nd stage: 1.55719s
Total    : 2.20996s
Tmp size : 0MB

Stats:
   No. of k-mers below min. threshold :           21
   No. of k-mers above max. threshold :            0
   No. of unique k-mers               :           21
   No. of unique counted k-mers       :            0
   Total no. of k-mers                :           21
   Total no. of reads                 :            1
   Total no. of super-k-mers          :            3

I have been using K-Mer Counter (KMC) ver. 3.2.2 (2023-03-10)
Are you using the same version?
Could you please re-upload your example input (I think the issue is that you responded to this in an e-mail, please respond directly on github).

Best
Marek

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants