When inputting a database, there are three options:
- input one of three reserved values:
uniprot
,swissprot
ortaxids
- input a FASTA database
- input a DIAMOND formatted database
UPIMAPI will first check if the DIAMOND version of the databases exist, and if it finds it, will run annotation with it.
- in
--resources-directory
folder, eitheruniprot.dmnd
,uniprot_sprot.dmnd
ortaxids_database.dmnd
- the database filename with termination replaced with
.dmnd
- the database filename itself
If that doesn't exist, UPIMAPI will search for the FASTA format, and if it finds it, will convert to DIAMOND format.
- in
--resources-directory
folder, eitheruniprot.fasta
,uniprot_sprot.fasta
ortaxids_database.fasta
- the database filename itself
- will exit with file not found error
This removes the need to tinker with the --skip-db-check
parameter, but more trust is placed on the user.