-
Notifications
You must be signed in to change notification settings - Fork 23
read_blast_tab
Martin Asser Hansen edited this page Oct 2, 2015
·
8 revisions
read_blast_tab and written
to file with write_blast - or with blastall
and the -m 8
or -m 9
switch.
Each column in the table corresponds to the following keys:
- Q_ID - Query ID.
- S_ID - Subject ID.
- IDENT - Identity (%).
- ALIGN_LEN - Alignment length.
- MISMATCHES - Number of mismatches.
- GAPS - Number of gaps.
- Q_BEG - Query begin.
- Q_END - Query end.
- S_BEG - Subject begin.
- S_END - Subject end.
- E_VAL - Expect value.
- BIT_SCORE - Bit score.
Furthermore, two extra keys are added to the record:
- STRAND - Strand.
- REC_TYPE - Record type.
read_blast_tab [options] -i <BLAST tabular file(s)>
[-? | --help] # Print full usage description.
[-i <files!> | --data_in=<files!>] # Comma separated list of files or glob expression to read.
[-n <uint> | --num=<uint>] # Limit number of records to read.
[-I <file!> | --stream_in=<file!>] # Read input stream from file - Default=STDIN
[-O <file> | --stream_out=<file>] # Write output stream to file - Default=STDOUT
[-v | --verbose] # Verbose output.
To read all BLAST entries from a file:
read_blast_tab -i test.blast
To read in only 10 records from a BLAST file:
read_blast_tab -n 10 -i test.blast
To read all BLAST entries from multiple files:
read_blast_tab -i test1.blast,test2.blast
To read BLAST entries from multiple files using a glob expression:
read_blast_tab -i '*.blast'
Martin Asser Hansen - Copyright (C) - All rights reserved.
August 2007
GNU General Public License version 2
http://www.gnu.org/copyleft/gpl.html
read_blast_tab is part of the Biopieces framework.