To discard non-perfect hits and show only the 2 top hits.
The output file has a great format however is there a way to add an extra column that contains the actual target-seq (sequence of the matched hit)? Such that the fields are:
query id, subject id, % identity, alignment length, mismatches, gap opens, q. start, q. end, s. start, s. end, evalue, bit score, sequence
qseqid means Query Seq-id
qgi means Query GI
qacc means Query accesion
qaccver means Query accesion.version
qlen means Query sequence length
sseqid means Subject Seq-id
there is one that show the query(sequence)?
ADD REPLY
• link
updated 4.3 years ago by
Ram
44k
•
written 9.0 years ago by
midox
▴
290
0
Entering edit mode
Obviously none of these - after all none of those descriptions indicates that it would. Keep looking.
Run blastn -help then look for the field called outfmt
*** Formatting options
-outfmt <String>
alignment view options:
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 = XML Blast output,
6 = tabular,
7 = tabular with comment lines,
8 = Text ASN.1,
9 = Binary ASN.1,
10 = Comma-separated values,
11 = BLAST archive format (ASN.1)
Options 6, 7, and 10 can be additionally configured to produce
a custom format specified by space delimited format specifiers.
The supported format specifiers are:
qseqid means Query Seq-id
qgi means Query GI
qacc means Query accesion
qaccver means Query accesion.version
qlen means Query sequence length
sseqid means Subject Seq-id
sallseqid means All subject Seq-id(s), separated by a ';'
sgi means Subject GI
sallgi means All subject GIs
sacc means Subject accession
saccver means Subject accession.version
sallacc means All subject accessions
slen means Subject sequence length
qstart means Start of alignment in query
qend means End of alignment in query
sstart means Start of alignment in subject
send means End of alignment in subject
qseq means Aligned part of query sequence
sseq means Aligned part of subject sequence
evalue means Expect value
bitscore means Bit score
score means Raw score
length means Alignment length
pident means Percentage of identical matches
nident means Number of identical matches
mismatch means Number of mismatches
positive means Number of positive-scoring matches
gapopen means Number of gap openings
gaps means Total number of gaps
ppos means Percentage of positive-scoring matches
frames means Query and subject frames separated by a '/'
qframe means Query frame
sframe means Subject frame
btop means Blast traceback operations (BTOP)
staxids means Subject Taxonomy ID(s), separated by a ';'
sscinames means Subject Scientific Name(s), separated by a ';'
scomnames means Subject Common Name(s), separated by a ';'
sblastnames means Subject Blast Name(s), separated by a ';'
(in alphabetical order)
sskingdoms means Subject Super Kingdom(s), separated by a ';'
(in alphabetical order)
stitle means Subject Title
salltitles means All Subject Title(s), separated by a '<>'
sstrand means Subject Strand
qcovs means Query Coverage Per Subject
qcovhsp means Query Coverage Per HSP
ADD REPLY
• link
updated 6.0 years ago by
Ram
44k
•
written 11.0 years ago by
H@rry
▴
30
1
Entering edit mode
How to give a mismatch parameter in blastn. I was to perform alignment allowing 1 mismatch.
I'm going through a lot of parameters but can't find this one.
I believe that strand is the relative position of subject to query, hence if sstrand is reverse, it that the query reverse complementary to the reference sequence.
Hi . Can you please suggest How to use output format 8 . -outfmt 8 doesn't work. I am trying to do blastp and have tried using -m 8 and -outfmt 8. It doesn't work though it works with -outfmt 6.
thre is a solution to see the sequence(query) in alignment result?
all the valid fields are listed in the help
I know but in:
there is one that show the query(sequence)?
Obviously none of these - after all none of those descriptions indicates that it would. Keep looking.
Hi!! Do you know how to see the sequence (query) in your blast result?
Hi, Is there any way to look for the sequence variation using the above command?