diamond
diamond copied to clipboard
Parse multiple databases
Is it possible to parse multiple databases with diamond, i.e. BLAST used to accept -db "/path/to/db1 /path/to/db2 etc", I don't seem to see a way to do that in diamond...
Thanks!
No it's not possible at the moment.
Reading from stdin is now supported. According to the manual, this can be achieved via:
zcat *.fasta.gz | diamond makedb -d diamond db
I read that named pipes are also supported now, so command substitution might work:
~/Applications/diamond makedb --in <(zcat $ARCHIVE_DIR/uniprot_sprot.fasta.gz $ARCHIVE_DIR/uniprot_trembl.fasta.gz) -d diamond_uniprot
This feature would be very nice to have, just like in BLAST. Thanks for the stdin in "diamond makedb", started using it, too.