[BioPython] plain txt blast output - xml instead

Michiel Jan Laurens de Hoon mdehoon at c2b2.columbia.edu
Thu Jun 15 17:43:51 UTC 2006


Peter wrote:
> 
> Looking at the raw XML file by hand, I could only see references to P1, 
> the first protein.
> 
> If the file had results for all four proteins I would expect to see:
> 
> <?xml version="1.0"?>
> ... results for P1 ...
> <?xml version="1.0"?>
> ... results for P2 ...
> <?xml version="1.0"?>
> ... results for P3 ...
> <?xml version="1.0"?>
> ... results for P4 ...
> 
There are results for all four proteins in the XML file, but they look 
like this:

  <Iteration>
    <Iteration_iter-num>2</Iteration_iter-num>
    <Iteration_query-ID>2_20304</Iteration_query-ID>
    <Iteration_query-def>p2</Iteration_query-def>
    ...
  </Iteration>

and so on. Could you let us know how this XML file was generated?

--Michiel


-- 
Michiel de Hoon
Center for Computational Biology and Bioinformatics
Columbia University
1130 St Nicholas Avenue
New York, NY 10032



More information about the Biopython mailing list