Missing Blast fields in outfmt 6
1
0
Entering edit mode
9.2 years ago
zgayk ▴ 90

Hello,

I'm using blast to retrieve sequence matches and I want the subject start and end coordinates. But, I notice that although the subject start returns a column, there is no column for the subject end field.

Here is the code I used:

blastn \
  -query Gaviaimmerheader.fasta \
  -db Gallus_gallus.Galgal4.cds.all.fa \
  -task blastn \
  -dust no \
  -outfmt "6 qseqid sseqid length qstart qend sstart send sallgi qseq sseq evalue" \
  -evalue 1e-6 \
  -num_alignments 1 \
  -max_hsps 5 \
  -out outputgallus8.blast.txt

If anyone knows why the send field is entirely absent, let me know.

Thanks,
Zach

blast • 3.7k views
ADD COMMENT
0
Entering edit mode
9.2 years ago
PoGibas 5.1k

Is there a newline character after send?

ADD COMMENT
0
Entering edit mode

I don't believe so. I checked and didn't see one there. It could also be displayed like this:

blastn -query Gaviaimmerheader.fasta -db Gallus_gallus.Galgal4.cds.all.fa -task blastn -dust no -outfmt "6 qseqid sseqid pident length qstart qend sstart send sallgi evalue qseq sseq" -evalue 1e-6 -num_alignments 1 -max_hsps 5 -out outputgallus8.blast.txt
ADD REPLY
0
Entering edit mode

Thank you, I figured out what was wrong. Blast wasn't reading all the fields becuase the code wasn't all on one line.

ADD REPLY

Login before adding your answer.

Traffic: 1978 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6