Question: Platanus assembler : unable to start contig assembly, any problem with the command?
gravatar for johnnytam100
13 months ago by
johnnytam100100 wrote:

I used the following command in hope to start the contig assembly using Platanus :

/data/tam/script/platanus/platanus assemble -f /data/tam/genome/reads/kmer_containing_reads/TTN_3TTN_TTNR1_for_contig/step4_TTN_3TTN_TTNR1_master.fastq -o 1d_TTN_3TTN_TTNR1_for_contig_platanus -m 128 -t 16 2 > assemble.log

However, the following message regarding the usage of option appeared.

Platanus version: 1.2.4
/data/tam/script/platanus/platanus assemble -f /data/tam/genome/reads/kmer_containing_reads/TTN_3TTN_TTNR1_for_contig/step4_TTN_3TTN_TTNR1_master.fastq -o 1d_TTN_3TTN_TTNR1_for_contig_platanus -m 128 -t 16 2

Usage platanus assemble [Options]
    -o STR               : prefix of output files (default 1d_TTN_3TTN_TTNR1_for_contig_platanus, length <= 200)
    -f FILE1 [FILE2 ...] : reads file (fasta or fastq, number <= 100)
    -k INT               : initial k-mer size (default 32)
    -s INT               : step size of k-mer extension (>= 1, default 10)
    -n INT               : initial k-mer coverage cutoff (default 0, 0 means auto)
    -c INT               : minimun k-mer coverage (default 2)
    -a FLOAT             : k-mer extension safety level (default 10.0)
    -u FLOAT             : maximum difference for bubble crush (identity, default 0.1)
    -d FLOAT             : maximum difference for branch cutting (coverage ratio, default 0.5)
    -e FLOAT             : k-mer coverage depth (k = initial k-mer size specified by -k) of homozygous region (default auto)
    -t INT               : number of threads (<= 100, default 16)
    -m INT               : memory limit for making kmer distribution (GB, >=1, default 128)
    -tmp DIR             : directory for temporary files (default .)


Anything wrong with my command?

Thank you!

platanus • 765 views
ADD COMMENTlink modified 13 months ago by Selenocysteine510 • written 13 months ago by johnnytam100100
gravatar for Selenocysteine
13 months ago by
Dublin, Ireland
Selenocysteine510 wrote:

This error means that the call is not correctly formatted. I don't know this assembler, but I would guess that you forgot to put a flag before the number 2 close to the end?

ADD COMMENTlink written 13 months ago by Selenocysteine510

Solved, actually it's the opposite, I delete the 2, which was originally present in the example given by the manual :

Platanus assemble –o Pxut –f ./DRR02167[34]_[12].fastq –t 16 –m 128 2> assemble.log

Thank you!

ADD REPLYlink modified 13 months ago • written 13 months ago by johnnytam100100

In the example, they use 2> assemble.log to redirect stderror to a file. In your original command you made a mistake by typing a space between 2 and >. That's why removing 2 helped. Alternatively, removing the space should fix this as well.

ADD REPLYlink written 11 weeks ago by al-ash70
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1440 users visited in the last hour