<div dir="ltr"><div>It is indeed qcovs, I was stuck using XML, didn't investigate that before. I haven't looked into the SearchIO version yet, but I assume it won't be more difficult to implement there so I'm happy to commit to that.<br></div><div><br></div><div>John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 September 2017 at 21:14, Peter Cock <span dir="ltr"><<a href="mailto:p.j.a.cock@googlemail.com" target="_blank">p.j.a.cock@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi John, CC Bow,<br>
<br>
Is this information in any of the BLAST output formats?<br>
<br>
I suspect you are talking about recreating one or more<br>
of the coverage fields which can be requested in the<br>
BLAST csv or tabular output files formats? i.e. qcovs<br>
or qcovhsp perhaps?<br>
<br>
If so, I can see a rational for computing this for the<br>
BLAST XML parsing... although given we'd like to<br>
push people towards SearchIO (which supports the<br>
BLAST tabular format as well), doing it there might<br>
make more sense than in NCBIXML?<br>
<br>
Peter<br>
<div><div class="h5"><br>
On Mon, Sep 11, 2017 at 5:40 PM, John T <<a href="mailto:jaytee00@gmail.com">jaytee00@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I've written a script that calculates the overall coverage for all HSP in an<br>
> alignment, like that given on the BLAST homepage. Would it make sense to add<br>
> this to Bio.Blast.Record.Alignment (and/or the BlastIO equivalent)? It's not<br>
> something that's explicitly defined in the XML and so may be out of scope,<br>
> but it is something that's given in the website version of BLAST results so<br>
> people might reasonably expect it to be there. I'd add it as a @property so<br>
> it as only calculated when required.<br>
><br>
> I've never tried contributing to an open source project before so I didn't<br>
> want to dive in and do something stupid.<br>
><br>
> Cheers,<br>
> John<br>
><br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Biopython-dev mailing list<br>
> <a href="mailto:Biopython-dev@mailman.open-bio.org">Biopython-dev@mailman.open-<wbr>bio.org</a><br>
> <a href="http://mailman.open-bio.org/mailman/listinfo/biopython-dev" rel="noreferrer" target="_blank">http://mailman.open-bio.org/<wbr>mailman/listinfo/biopython-dev</a><br>
</blockquote></div><br></div>