Hi everyone,
I have searched for a script allowing me to run blast locally on multiple fasta files contain in a directory. I found out this one line bash script, but it throws me an error when doing the job:
find . -type f -exec blastp -query '{}' -db swissprot -out '{}'_blastp.fas \;
Warning: [blastp] Query is Empty !
I want a solution to avoid warning when doing this stuff. I'm working on linux 16.04, running blast through terminal.
Thanks in advance.
i have got this output running your code
parallel: invalid option -- 'a' parallel [OPTIONS] command -- arguments for each argument, run command with argument, in parallel parallel [OPTIONS] -- commands run specified commands in parallel
+1 thanks, this is indeed an interesting alternative. Can you please let me know how do I get it for CentOS? Is it inbuilt or shall I do a
yum install
Please refer to https://www.gnu.org/software/parallel/parallel_tutorial.html
Usualy it is part of your dist and I have seen it on CentOS dist as well