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

Empty output #223

Open
mesti90 opened this issue Oct 9, 2023 · 2 comments
Open

Empty output #223

mesti90 opened this issue Oct 9, 2023 · 2 comments

Comments

@mesti90
Copy link

mesti90 commented Oct 9, 2023

I'd like to understand why kmc gives an empty output for several genomes.

The genome I downloaded and tried to analyze was https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/001/067/135/GCF_001067135.1_ASM106713v1/GCF_001067135.1_ASM106713v1_genomic.fna.gz (saved as GCF_001067135.1.fna.gz)

The following commands were called:

kmc -t60 -k75 -f -fm NCBI_genomes/GCF_001067135.1.fna Klebsiella_kmc/GCF_001067135.1 .

Stdout:

Stage 1: 100%
Stage 2: 100%
1st stage: 0.316763s
2nd stage: 0.140104s
Total    : 0.456867s
Tmp size : 4MB

Stats:
   No. of k-mers below min. threshold :      5403715
   No. of k-mers above max. threshold :            0
   No. of unique k-mers               :      5403715
   No. of unique counted k-mers       :            0
   Total no. of k-mers                :      5403715
   Total no. of sequences             :          240
   Total no. of super-k-mers          :       149446

Output: two files, GCF_001067135.1.kmc_pre (1.3Mb) and GCF_001067135.1.kmc_suf (8bytes)

kmc_dump GCF_001067135.1 GCF_001067135.1.kmers

The output is empty. What is the reason? What should I do to have a meaningful output?

@marekkokot
Copy link
Contributor

Try to add -ci1 to your command. -f is probably unnecessary.
-cx<x> causes removing all k-mers with counters below x (No. of k-mers below min. threshold : 5403715), the default is 2 (to remove k-mers that are probably a result of sequencing errors, which is not the case for genomic files). Let me know if it works with -ci1

@mesti90
Copy link
Author

mesti90 commented Oct 9, 2023

@marekkokot Thank you, it works now

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