Entering edit mode
5.7 years ago
yomirann
•
0
Hi all,
I got a WG assembly sequence of an organism which is not on the online BLAST, so I'm using Linux. After creating a DB of it, I start searching for different genes and it works just fine - now I want to see the sequences upstream and downstream to my hit - but I didn't find out how to do it.
Please help! Thanks :-)
You could do as @gb suggests by parsing the
-outfmt 6
output ofblastn
forsstart
(column 9) andsend
(column 10), convert to BED file but add however many bases upstream and downstream you want, and intersect the BED file to the annotations in GFF or GTF format withBedtools
.Hopefully you created your custom database with
--parse_seqids
option.If you did then you can use
blastdbcmd
utility includes inblast+
to retrieve any sequences using the following option.Combine it with
sstart
andsend
as suggested by others.https://www.ncbi.nlm.nih.gov/books/NBK279684/
See the option sstart in
outfmt