U.S. flag

An official website of the United States government

NCBI Bookshelf. A service of the National Library of Medicine, National Institutes of Health.

BLAST® Command Line Applications User Manual [Internet]. Bethesda (MD): National Center for Biotechnology Information (US); 2008-.

Cover of BLAST® Command Line Applications User Manual

BLAST® Command Line Applications User Manual [Internet].

Show details

Faster sequence lookups by accession

Created: ; Last Update: January 7, 2021.

Starting with BLASTDB version 5, blastdbcmd has two additional parameters (-taxids and -taxidlists) to efficiently retrieve sequences by taxid.

# Retrieves all human entries; 
# %a prints the accession, %T prints the taxid, %S prints the scientific name
$ blastdbcmd -db nr -taxids 9606 -outfmt “%a %T %S” -target_only

Note: -target_only is used to ensure that only accessions for the human entries are present. Otherwise, it will present all accessions on any sequence with at least one human sequence. This is important since nr is a non-redundant database.

Copyright Notice

BLAST is a Registered Trademark of the National Library of Medicine

Bookshelf ID: NBK569840

Views

Other titles in this collection

Recent Activity

Your browsing activity is empty.

Activity recording is turned off.

Turn recording back on

See more...