multifile makedb


New member
I understand that Diamond can read files from stdin and also .gz format, however when I write
cat DDB/*.faa.gz | diamond makedb -d DDB/RSDB
the error message is :
Scoring parameters: (Matrix=BLOSUM62 Lambda=0.267 K=0.041 Penalties=11/1)
Database file:
Input file parameter (--in) is missing. Input will be read from stdin.
Opening the database file... [0.008109s]
Loading sequences... [0.028403s]
Error: Error reading input stream at line 1: FASTA format error: Missing '>' at record start.

as if Diamond tried to align the data instead of making a DB.

How can I make a DB from multiple files?
the files are all refseq files, 31GB in total, machine memory is set to 48 GB

Best regards,

Alar Aints