diamond icon indicating copy to clipboard operation
diamond copied to clipboard

Error: Invalid parameter count for option '--tmpdir'

Open lhxaurora opened this issue 1 year ago • 1 comments

Greeting!

I am trying to run Diamond (version=2.1.9) via the cluster, I smoothly created the database, but cannot avoid "Error: Invalid parameter count for option '--tmpdir'" problem no matter how did I set this parameter. here is the command I have tried:

diamond blastp -threads 20 -q C0_6_aa.fasta -d nr.dmnd -o C0_6_aa_vs_nr_blt.txt --max-target-seqs 10 -evalue 1e-5 --outfmt 6 qseqid qlen sseqid stitle slen pident length mismatch gapopen qstart qend sstart send evalue bitscore -t ./tmp diamond blastp -threads 20 -q C0_6_aa.fasta -d nr.dmnd -o C0_6_aa_vs_nr_blt.txt --max-target-seqs 10 -evalue 1e-5 --outfmt 6 qseqid qlen sseqid stitle slen pident length mismatch gapopen qstart qend sstart send evalue bitscore diamond blastp -threads 20 -q C0_6_aa.fasta -d nr.dmnd -o C0_6_aa_vs_nr_blt.txt --max-target-seqs 10 -evalue 1e-5 --outfmt 6 qseqid qlen sseqid stitle slen pident length mismatch gapopen qstart qend sstart send evalue bitscore -t /dev/shm

I have already checked that for each of the dictionary, there are enough space (>100G), could anyone kindly help me with solving this problem, thanks so much!

lhxaurora avatar May 04 '24 13:05 lhxaurora

The problem is -evalue should be --evalue

bbuchfink avatar May 27 '24 13:05 bbuchfink

Greeting!

I am trying to run Diamond (version=2.1.9) via the cluster, I smoothly created the database, but cannot avoid "Error: Invalid parameter count for option '--tmpdir'" problem no matter how did I set this parameter. here is the command I have tried:

diamond blastp -threads 20 -q C0_6_aa.fasta -d nr.dmnd -o C0_6_aa_vs_nr_blt.txt --max-target-seqs 10 -evalue 1e-5 --outfmt 6 qseqid qlen sseqid stitle slen pident length mismatch gapopen qstart qend sstart send evalue bitscore -t ./tmp diamond blastp -threads 20 -q C0_6_aa.fasta -d nr.dmnd -o C0_6_aa_vs_nr_blt.txt --max-target-seqs 10 -evalue 1e-5 --outfmt 6 qseqid qlen sseqid stitle slen pident length mismatch gapopen qstart qend sstart send evalue bitscore diamond blastp -threads 20 -q C0_6_aa.fasta -d nr.dmnd -o C0_6_aa_vs_nr_blt.txt --max-target-seqs 10 -evalue 1e-5 --outfmt 6 qseqid qlen sseqid stitle slen pident length mismatch gapopen qstart qend sstart send evalue bitscore -t /dev/shm

I have already checked that for each of the dictionary, there are enough space (>100G), could anyone kindly help me with solving this problem, thanks so much!

The problem is -d nr.dmnd, you should not use nr.dmnd directly, you can use that like this: /data3/durui/database/nr_db/nr(right);nor /data3/durui/database/nr_db/nr.dmnd(wrong)

LvbBo avatar Jul 29 '24 08:07 LvbBo

I have fixed this problem by downgrading the version of conda : conda install -c bioconda conda=24.3.0; Hope this method can be work for others!!!

在 2024-10-20 21:58:01,"Benjamin Buchfink" @.***> 写道:

Closed #803 as completed.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

LvbBo avatar Oct 21 '24 14:10 LvbBo