I have the NCBI non-redundant protein database downloaded on my server. When I want to make species- or clade-specific databases (i.e. all the Hymenoptera, or all the Hexapoda, etc.), instead of downloading those sequences again in Fasta format I simply download the GI numbers from NCBI and use blastdb_aliastool to create a database alias for that data set. No new sequences are downloaded, and searches against the db alias are restricted just to those GI numbers. This approach ends up saving a lot of space and time.
When I try to run transrate against a db alias, I get the message Reference fasta file does not exist.
Feature request: add a --dbalias flag to indicate that the value passed to the --reference option is not a Fasta file to be indexed, but a db alias. The presence of the alias can be tested by looking for ${reference}.pal, and ${reference} can be passed directly to the BLAST command as its -db option. The change should be fairly simple, and I would implement this myself and submit a PR, except that I have no experience with Ruby or Transrate's internals. :(
I have the NCBI non-redundant protein database downloaded on my server. When I want to make species- or clade-specific databases (i.e. all the Hymenoptera, or all the Hexapoda, etc.), instead of downloading those sequences again in Fasta format I simply download the GI numbers from NCBI and use
blastdb_aliastool
to create a database alias for that data set. No new sequences are downloaded, and searches against the db alias are restricted just to those GI numbers. This approach ends up saving a lot of space and time.When I try to run transrate against a db alias, I get the message
Reference fasta file does not exist
.Feature request: add a
--dbalias
flag to indicate that the value passed to the--reference
option is not a Fasta file to be indexed, but a db alias. The presence of the alias can be tested by looking for${reference}.pal
, and${reference}
can be passed directly to the BLAST command as its-db
option. The change should be fairly simple, and I would implement this myself and submit a PR, except that I have no experience with Ruby or Transrate's internals. :(