Parsing Description from NCBI Blast+
1
0
Entering edit mode
8.3 years ago

I used BLAST plus to Blast an assembly against a uniprot database, and want to parse the description of the uniprot ID from the uniprot database I am comparing the fasta file to.

blast Plus fasta • 1.7k views
ADD COMMENT
0
Entering edit mode

How is your blast output file? Is it tabular (-outfmt 6)? What is the uniprot id-description map file like? Post a few example lines please..

ADD REPLY
0
Entering edit mode
blastx -db UniprotConus -query /Users/***/Desktop/Cone_Snail_Assembly.txt -outfmt "10 qseqid sallseqid sscinames scomnames sblastnames pident length mismatch gapopen qstart qend sstart send evalue bitscore sseq qseq" -out UniprotConusBLASTFull2.txt

The uniprot is simply a fasta file made into a database using makeblastdb. lines like this e.g.

>sp|P86500|CX21A_CONPU Conotoxin p21a OS=Conus purpurascens PE=1 SV=1
FELLPSQDRSCCIQKTLECLENYPGQASQRAHYCQQDATTNCPDTYYFGCCPGYATCMSI
NAGNNVRSAFDKCINRLCFDPGH
ADD REPLY
0
Entering edit mode
8.3 years ago
dschika ▴ 320

Use grep or e.g. python dictionaries. You may also specify your question...

ADD COMMENT

Login before adding your answer.

Traffic: 2680 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