[Biopython (old issues only) - Bug #3419] (Closed) Bio.SearchIO.FastaIO

[email protected]
Newsgroups gmane.comp.python.bio.devel
Message-ID <redmine.journal-15302.20160722200723.eee0288df49925ee@redmine.open-bio.org>
Issue #3419 has been updated by Travis Wrightsman.

Status changed from New to Closed
% Done changed from 0 to 100
URL set to https://github.com/biopython/biopython/issues/886

Migrated to GitHub, see URL.

----------------------------------------
Bug #3419: Bio.SearchIO.FastaIO
https://redmine.open-bio.org/issues/3419#change-15302

* Author: Jason Stajich
* Status: Closed
* Priority: Low
* Assignee: Biopython Dev Mailing List
* Category: Main Distribution
* Target version: 
* URL: https://github.com/biopython/biopython/issues/886
----------------------------------------
The strand of the translated sequence (query or subject depending on the analysis) is lost for tfastxy and fastx/y reports.

from Bio import SearchIO
qresults = SearchIO.parse('test.FASTY.out','fasta-m10')
for qresult in qresults:
    for hit in qresult:
        for hsp in hit.hsps:
                print qresult.id, " ", hit.id, " ", \
                hsp.query_start, "..",hsp.query_end, " ", hsp.query_strand, " ", \
                hsp.hit_start, "..",hsp.hit_end, " ", hsp.hit_strand

---Files--------------------------------
bll0026-vs-94.tfasty (32.8 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here and login: http://redmine.open-bio.org

_______________________________________________
Biopython-dev mailing list
[email protected]
http://mailman.open-bio.org/mailman/listinfo/biopython-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.