Comments (5)
@niuyushuo you need to make the directory tmp
that you told it to use. it does not make it itself I discovered :(
Try
mkdir tmp_kmc
/home/niu/KMC-3.0.1/bin/kmc -k20 reads.fq kmers1 tmp_kmc
from kmc.
Hello @niuyushuo, thanks for using KMC3.
KMC in default mode can use up to 12GB of RAM (despite rare cases of really huge input, but it is not your case). You may change default value with -m option (for example -m4 for 4GB of RAM).
Nevertheless, I think the problem is related to your file content.
KMC can read from following input file formats:
- FASTQ (this is default)
- FASTA (may be turned on with -fa option)
- Multi line fasta (may be turned on with -fm option)
In which format your input file is?
For long reads (from 3rd generation sequencing, which are usually in fasta format as far as I know) there is a bug in KMC (see #40), but there is a simple workaround, instead of using -fa you may run KMC with -fm. This bug will be fixed in the near (I hope) future.
Let me know if it helped.
from kmc.
@tseemann Thanks for your response. This problem solved. I just find another problem, does KMC3 has some kind of memory limitation? Right now, I use ubuntu to do the test and I only set around 8G for the Memory and 100GB for the Hard Disk. So if my test fa/fq file is about more than 100kb, the program will give the Error: Wrong input file! If I just run some very small fa/fq files which around 10kb, it works well. Could you tell me the reason?
from kmc.
@marekkokot Thank you very much for your response. The -fm saved my life. Right now the KMC3 works very well on my laptop.
from kmc.
Long reads problem was solved with d1dfea4
from kmc.
Related Issues (20)
- how to install kmc on arm platform οΌthe compiled KMC binary will not be used on ARM HOT 2
- how to install kmc HOT 3
- Space shortage for output not reported
- When compiling make on the arm platform, the following error occurs, using the clang and clang++ compilers HOT 21
- Error: some error while reading fasta file, please contact authors (kmc_core/fastq_reader.cpp: 704) HOT 1
- KMC yields an error on fixed width fasta files HOT 4
- Python 3.11 support
- Small suggestion HOT 3
- Run stages separately HOT 3
- kmc_tools dump not creating file HOT 3
- how to create multiple kmc db output as per @input_file_list. HOT 1
- kmc_tools filter does not accept large FASTA input HOT 1
- KMC abrubtly not working HOT 13
- Empty output HOT 2
- smudge pairs install HOT 1
- kmc_tools simple intersect & union, not considering reverse complement? HOT 3
- kff to jf (or vice versa) HOT 2
- munmap_chunk(): invalid pointer on ubam file - KMC crashes on BAM with long reads HOT 4
- when trying use kmc analyze .fasta file HOT 2
- T2T genome kmer count problem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kmc.