As mentioned before in Section 1, blastcl3 has no GUI and works only under a command
terminal. Users execute the the program by issuing command lines, and controls the way blast
search is done through options in the command line. The command line options for this program
are listed here individually below. The options commonly adjusted during actual searches are: -i, -
d, -p, -o, -e, -F, -u, -b, -v, -m, and -n. The first four are mandatory.
| Table 4.1 |
| Option | -p |
| Function | Specifies which program to run |
| Default | None, mandatory |
| Input Format | String |
| Example | To run blastn program use: -p blastn |
| Note | Program string options and type of search they specify |
| Program | Query | DB |
| blastn | nucleotide | nucleotide |
| blastp | protein | protein |
| blastx | nucleotide, translated | Protein |
| tblastn | protein | nucleotide, translated |
| tblastx | nucleotide, translated | nucleotide, translated |
| Table 4.2 |
| Option | -d |
| Function | Specifies database(s) to be searched |
| Default | nr |
| Input Format | String |
| Example | One can search against multiple databases can be specified in command
line. To search nr and est at together use: -d "nr est" |
| Note | Be conservative. Search against large databases may not complete due
to CPU time limit, which is set at one hour. |
| Table 4.3 |
| Option | -i |
| Function | Specifies input query file |
| Default | stdin |
| Input Format | String, mandatory |
| Example | To use sequences from query.txt as query, use -i query.txt |
| Note | One should use the complete file name WITH its extension.
To use stdin default, omit the -i and redirect using: < mito.txt |
| Table 4.4 |
| Option | -e |
| Function | Specifies Expect value cutoff |
| Default | 10 |
| Input Format | Real |
| Example | To make the search more stringent, one can use: -e 0.001 |
| Note | Accepted formats are integer, fraction, decimal, exponential and scientific
notation. To set the cutoff to 2×10-20, use -e 2e-20 |
| Table 4.5 |
| Option | -m |
| Function | Specifies alignment view option |
| Default | 0 |
| Input Format | Integer |
| Example | To display the result in XML form use: -m 7 |
| Note | Option values and the output formats they specify |
| 0 | Pairwise |
| 1 | query-anchored showing identities |
| 2 | query-anchored no identities |
| 3 | flat query-anchored, show identities |
| 4 | flat query-anchored, no identities |
| 5 | query-anchored no identities and blunt ends |
| 6 | flat query-anchored, no identities and blunt ends |
| 7 | XML Blast output |
| 8 | tabular (not post processing) |
| 9 | tabular with comment lines (post-processed, sorted) |
| 10 | ASN, text |
| 11 | ASN, binary |
| Table 4.6 |
| Option | -o |
| Function | Specifies result output file |
| Default | stdout (print to screen) |
| Input Format | String [file name] |
| Example | To save result in out.txt use: -o out.txt |
| Note | -p, -i, -d, -o are the core options needed for a blastcl3 search. |
| Table 4.7 |
| Option | -F |
| Function | Specifies which filter(s) to use to mask query sequence |
| Default | T (DUST for nucleotide, SEG for protein) |
| Input Format | String |
| Example | To filter low complexity and lookup table only, use: -F "m L" |
| Note | Accepted strings: T, F, D, L, R, V, S, C, and m.
m in -F stands for masking for lookup table only, which enables blast to
display the masked region in the alignment. L stands for Low complexity,
D stands for DUST. R stands for human Repeats, V stands for Vector.
S stands for SEG, which has other user specifiable values:
-F "S 10 1.0 1.5" SEG filter: window=10; low cut=1; high cut=1.5.
C stands for COIL, which also has user specifiable values:
-F "C 28 40 32" COIL filter: window=22; cutoff=40; linker=32.
To run SEG and COIL filter together, use: -F "S; C"
To mask lookup table only, add m: -F m "S; C"
To mask repeat sequences use: -F R or -F "m R"
To combine all together, use: -F "m L;R"
To mask vector filter, use: -F V
To call rodent repeat filter, use: -F "R -d rodent.lib" |
| Table 4.8 |
| Option | -G |
| Function | Cost to open a gap |
| Default | 0 |
| Input Format | [Integer] |
| Example | To increase the gap open penalty to 10, use: -G 10 |
| Note | Zero invokes default (5) for blastn. It varies for blastp, blastx, tblastn, and
tblastx. In protein searches, only a controlled set of -G/-E value pairs are acceptable for a
given scoring matrix. |
| Table 4.9 |
| Option | -E |
| Function | Cost to extend a gap |
| Default | 0 |
| Input Format | [Integer] |
| Example | To increase the gap extension penalty to 4, use: -E 4 |
| Note | Zero invokes default or 2 for blastn. Varies for blastp, blastx, tblastn, and
tblastx. In protein searches, only a controlled set of -G/-E value pairs are acceptable for a
given scoring matrix. |
| Table 4.10 |
| Option | -X |
| Function | X dropoff value for gapped alignment (in bits) |
| Default | 0 |
| Input Format | [Integer] |
| Example | To increase the gapped alignment dropoff to 40, use: -X 40 |
| Note | Gapped Alignment Dropoff Default Setting (in bits) |
| Program | blastn | megablast | tblastx | others |
| Value | 30 | 20 | 0 | 15 |
| Table 4.11 |
| Option | -I (capital i) |
| Function | Show GI in definition line |
| Default | F |
| Input Format | [T/F] |
| Example | To activate the GI display use: -I T |
| Note | Sample display: T: gi|223046|prf||0410468A... F: prf||0410468A... |
| Table 4.12 |
| Option | -q |
| Function | Penalty for a nucleotide mismatch |
| Default | -3 |
| Input Format | [Integer] |
| Example | To set penalty to -2, use: -q -2 |
| Note | For blastn only, different -r/-q ratios are optimal for aligning sequences
with different percentage of similarities. |
| Table 4.13 |
| Option | -r |
| Function | Reward for a nucleotide match |
| Default | 1 |
| Input Format | [Integer] |
| Example | To increase the reward to 2, use: -r 2 |
| Note | For blastn only. Others use external scoring matrix to determine this. See
-M table in blastall for more details. |
| Table 4.14 |
| Option | -v |
| Function | Number of database sequences to show one-line descriptions for |
| Default | 500 |
| Input Format | [Integer] |
| Example | To increase the descriptions displayed to 1000 use: -v 1000 |
| Note | Web counterpart is "Descriptions" |
| Table 4.15 |
| Option | -b |
| Function | Number of sequences with alignments to show |
| Default | [Integer] |
| Input Format | 250 |
| Example | To increase the alignment displayed to 1000 use: -b 1000 |
| Note | Upper limit is 200000. Web counterpart: "Alignments".
This is NOT the total number of alignment segments or high scoring pairs
(HSPs). Rather it is the number of database sequences with HSP(s) to
the query. |
| Table 4.16 |
| Option | -f |
| Function | Threshold for extending hits |
| Default | 0 |
| Input Format | Integer |
| Example | To increase this threshold to 15, use: -f 15 |
| Note | Default if set to zero, not used by blastn or megablast. Extension Threshold Default Settings |
| Program | blastp | blasn | blastx | tblastn | tblastx | megablast |
| Value | 11 | 0 | 12 | 13 | 13 | 0 |
| Table 4.17 |
| Option | -g |
| Function | Perform gapped alignment |
| Default | T |
| Input Format | [T/F] |
| Example | To do only ungapped alignment, use: -g F |
| Note | Default is gapped alignment, not available with tblastx. |
| Table 4.18 |
| Option | -Q |
| Function | Query genetic code to use |
| Default | 1 |
| Input Format | [Integer] |
| Example | To set the genetic code (translation table) to 14, use: -Q 14 |
| Note | This determines which translation table to use on query in translated
blastx and tblastx searches. Default is universal codon. |
| Table 4.19 |
| Option | -D |
| Function | DB Genetic code |
| Default | 1 |
| Input Format | [Integer] |
| Example | To set the genetic code (translation table) to 14, use: -D 14 |
| Note | Determines which translation table to use for the database in tblastn and
tblastx search. See details at: www.ncbi.nlm.nih.gov/Taxonomy/Utils/wprintgc.cgi?mode=c |
| Table 4.20 |
| Option | -a |
| Function | Number of processors to use |
| Default | 1 |
| Input Format | [Integer] |
| Example | To change this to two CPUs, use: -a 2 |
| Note | From 1 up to the number of CPUs available. |
| Table 4.21 |
| Option | -O |
| Function | To save SeqAlign object |
| Default | N/A |
| Input Format | String [File Out] |
| Example | To save SeqAlign object to blast_seqalign, use: -O blast_seqalign |
| Note | User can use the output to reformat the result into different format using
NCBI toolkit function. See /blast/demo/ subdirectory
for more information. |
| Table 4.22 |
| Option | -J |
| Function | Believe the query definition line |
| Default | F |
| Input Format | [T/F] |
| Example | To set this to true, use: -J T |
| Note | Default set to false since query file definition lines may not follow NCBI
convention. |
| Table 4.23 |
| Option | -M |
| Function | Protein scoring matrix to use |
| Default | BLOSUM62 |
| Input Format | [String] |
| Example | To change this to PAM30, use: -M PAM30 |
| Note | Accepted value: BLOSUM45, BLOSUM62, BLOSUM80, PAM30, or PAM70. |
| Table 4.24 |
| Option | -W |
| Function | Word size |
| Default | 0 |
| Input Format | [Integer] |
| Example | To set word size to 32, use: -W 32 |
| Note | Word size setting for different programs |
| Program | blastn | megablast | all others |
| Value | 11 | 28 | 3 |
| Table 4.25 |
| Option | -z |
| Function | Effective length of the database |
| Default | 0 |
| Input Format | [Real] |
| Example | To set this to 10000000, use: -z 10000000 |
| Note | Use zero for the actual database size. |
| Table 4.26 |
| Option | -K |
| Function | Number of best hits from a region to keep |
| Default | 0 |
| Input Format | [Integer] |
| Example | To keep 200 hits, use: -K 200 |
| Note | This selects the specified number of best hits for a given region of the
query for further evaluation. Off by default, 100 recommended if used. |
| Table 4.27 |
| Option | -P |
| Function | Use multiple hit |
| Default | 0 |
| Input Format | Integer |
| Example | To do single hit, use: -P 1 |
| Note | Zero is for multiple hit, 1 for single hit. Not applicable to blastn. |
| Table 4.28 |
| Option | -Y |
| Function | Effective length of the search space |
| Default | 0 |
| Input Format | [Real] |
| Example | To set this to 10000000, use: -Y 10000000 |
| Note | This is the product of effective query length and effective database length
- actual length corrected for edge effects. Use zero for actual size. |
| Table 4.29 |
| Option | -S |
| Function | Strands of the nucleotide query to use in the search |
| Default | 3 |
| Input Format | [Integer] |
| Example | To search with the reverse complement strand only, use: -S 2 |
| Note | -S Input Code And Meaning for blastn, blastx, and tblastx. |
| Meaning | Input | Reverse complement | Both |
| Value | 1 | 2 | 3 |
| Table 4.30 |
| Option | -T |
| Function | Produce HTML output |
| Default | F |
| Input Format | [T/F] |
| Example | To generate HTML formatted output, use: -T T |
| Note | With -T T, if the database is from NCBI, BLAST will hot link matched
subject sequences to their actual entries in Entrez. |
| Table 4.31 |
| Option | -u |
| Function | Restrict search of database to the subset satisfying the query |
| Default | N/A |
| Input Format | [Entrez Term] in quotes |
| Example | To restrict entries to mRNA use: -u "biomol_mrna[prop]" |
| Note | Argument is a set of Entrez query terms. BLAST server will use the terms
to retrieve a list of GI numbers and restrict the BLAST search to entries specified by the list. Make sure valid terms are used. For example, it does
not make sense to restrict a search to genomic sequences while searching against the est database. For details, see Entrez Help |
| Table 4.32 |
| Option | -U |
| Function | Use lower case filtering of FASTA sequence |
| Default | F |
| Input Format | [T/F] |
| Example | To turn lowercase filter on, use: -U T |
| Note | Make sure that the query sequences are in UPPERCASE and only the
filtered portions are in lowercase. |
| Table 4.33 |
| Option | -y |
| Function | X dropoff value for ungapped extensions (in bits) |
| Default | 0 |
| Input Format | [Real] |
| Example | To increase the dropoff to 25, use: -y 25 |
| Note | Default setting for ungapped alignment X dropoff (-y, in bits) |
| Program | blastn | megablast | others |
| Value | 20 | 10 | 7 |
| Table 4.34 |
| Option | -Z |
| Function | X dropoff value for final gapped alignment (in bits) |
| Default | 0 |
| Input Format | [Integer] |
| Example | To increase this dropoff to 60, use: -Z 60 |
| Note | Large dropoff value settings may help generate longer alignment.
Default setting for ungapped alignment X dropoff (-Z, in bits)
|
| Program | blastn | megablast | tblastx | all others |
| Value | 50 | 50 | 25 | 0 |
| Table 4.35 |
| Option | -R |
| Function | Run rpsblast search |
| Default | F |
| Input Format | [T/F] |
| Example | To run rpsblast search, use: -R T |
| Note | Performs rpsblast search against CDD database. Requires an
appropriate -d input. See "Remote Accessible BLAST Databases" for more information. |
| Table 4.36 |
| Option | -n |
| Function | Enable megablast search |
| Default | F |
| Input Format | [T/F] |
| Example | To enable megablast search, use -n T |
| Note | Invokes megablast algorithm when set to T. -W will default to 28 and
queries will be concatenated. This will help speed up the search at the
expense of search sensitivities. |
| Table 4.37 |
| Option | -L |
| Function | Location on query sequence |
| Default | N/A |
| Input Format | [String] |
| Example | To search with 100 to 400 of a query, use: -L "100,400" |
| Note | In -L "100,400", 100 is the start and 400 the end. |
| Table 4.38 |
| Option | -A |
| Function | Multiple hits window size |
| Default | 0 |
| Input Format | [Integer] |
| Example | To increase the window size to 50, use: -A 50 |
| Note | Default -A setting for different programs |
| Program | blastn | megablast | all others |
| Value | 0 | 0 | 40 |
| Table 4.39 |
| Option | -w |
| Function | Frame shift penalty |
| Default | 0 (no penalty) |
| Input Format | [Integer] |
| Example | To set OOF penalty to 10, use: -w 10 |
| Note | Non-zero invokes OOF (Out Of Frame) algorithm for blastx. |
| Table 4.40 |
| Option | -t |
| Function | Length of the largest intron allowed in tblastn for linking HSPs |
| Default | 0 |
| Input Format | [Integer] |
| Example | To allow linking of HSPs 10000 letter apart, use: -t 10000 |
| Note | Zero disables linking. Otherwise, the value specified will be used. |
|