Hello, guys! I am a fresh man in bioinformatics. When I type:
blastp -db $db -query orf_trans.fasta -outfmt 7 -max_target_seqs 5 -out blastout_top5.txt
it occurs error:
Error: Too many positional arguments (1), the offending value: orf_trans.fasta
Error: (CArgException::eSynopsis) Too many positional arguments (1), the offending value: orf_trans.fasta
Because I use sever to do this work. When I restart the sever, magically,the file blastout_top5.txt shows, but strangely, it is blank inside.
I still have no idea what to do for this error.. Would you please be able to help me out? Thank you so much in advance.
Is
orf_trans.fasta
file in the current directory where you are running this from? I don't recall if-outfmt 7
has a standard number of fields or you need to specify ones you want. For example:Thank you for your helpful suggestions. Yes,
orf_trans.fasta
file is in the current directory where I am running this. I try theblastp -db $db -query orf_trans.fasta -outfmt "7 qacc sacc evalue qstart qend sstart send" -max_target_seqs 5 -out blastout_top5.txt
, but unfortunatelly, it still occur the same error.Thank you all. When I recreate the
db
, everything goes all right.You can accept the answers below (green check mark) to provide closure to this thread. You can accept more than one answer.