Code Monkey home page Code Monkey logo

Comments (5)

tseemann avatar tseemann commented on July 22, 2024 1

@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.

marekkokot avatar marekkokot commented on July 22, 2024 1

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.

niuyushuo avatar niuyushuo commented on July 22, 2024

@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.

niuyushuo avatar niuyushuo commented on July 22, 2024

@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.

marekkokot avatar marekkokot commented on July 22, 2024

Long reads problem was solved with d1dfea4

from kmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.