Biopython NCBIXML Parsing - Field Parameter
0
0
Entering edit mode
6.8 years ago

Hey,

I want to extract the

 <Iteration_query-def>

from my blast Output (outfmt 5). According to the source code ( http://biopython.org/DIST/docs/api/Bio.Blast.NCBIXML-pysrc.html) it should be something like

blast.query

But

NameError: name 'blast' is not defined

Is there a complete and up to date list what Parameter refers to ist field?

Best regards,

Max

biopython NCBIXML Parse XML • 1.7k views
ADD COMMENT
0
Entering edit mode

could it be as simple as you need a B in blast? modules are case sensetive

ADD REPLY
0
Entering edit mode

Nope. Just tried that.

ADD REPLY
0
Entering edit mode

I think we need to see more of your code to be any help.

ADD REPLY
0
Entering edit mode

I did a workaround. with blast_record.query , I got the line I wanted.

ADD REPLY

Login before adding your answer.

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