diamond icon indicating copy to clipboard operation
diamond copied to clipboard

Parse multiple databases

Open kgun12 opened this issue 7 years ago • 3 comments

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!

kgun12 avatar Jun 29 '17 21:06 kgun12

No it's not possible at the moment.

bbuchfink avatar Jun 29 '17 21:06 bbuchfink

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

yunesj avatar Sep 27 '17 21:09 yunesj

This feature would be very nice to have, just like in BLAST. Thanks for the stdin in "diamond makedb", started using it, too.

NZ-HIPS avatar Mar 01 '18 16:03 NZ-HIPS