fastacmd

fastacmd retrieves FASTA formatted sequences from a blast database that was indexed using formatdb and formatted using the '-o' option.

An example fastacmd call would be:

/biolo/ncbi/bin/fastacmd -s UniRef90_P01892 -d /blast/uniref90

fastacmd is one of the programs distributed along with the old blastall program by the NCBI. The NCBI recommends that people start using the programs of the blast+ package instead. Having said that, most documentation currently available still refers to blastall and the programs distributed with it.

  http://nebc.nox.ac.uk/bioinformatics/docs/fastacmd.html