[Biopython-dev] [Bug 2811] EFetch returning ASN.1 not GenBank format for rettype=genbank

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Apr 15 00:13:49 UTC 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2811





------- Comment #4 from biopython-bugzilla at maubp.freeserve.co.uk  2009-04-14 20:13 EST -------
(In reply to comment #3)
> I saw in the online Tutorial this small typo:
> "form Bio import SeqIO"

I'd fixed at least one occurange of that error before, but you are right -
there were still two left in CVS.  Thanks.

> I and have a question regarding this bug: What about adding "gb" as format
> type in  SeqIO, and mapped to "genbank". This would add consistency (if I
> retrieve a sequence using "gb" from Entrez, I expect to save it using SeqIO
> with "gb"). I think it won't hurt to have "gb" as an alias for "genbank" in
> SeqIO.

The reason we have this bug in the first place was we used an unofficial return
type in EFetch in order to use the same format name ("genbank") in both
Bio.Entrez and Bio.SeqIO - and this did make the examples straight forward.

Adding aliases (such as "gb", "gp", and maybe also "genpept" for "genbank")
might make Bio.Entrez and Bio.SeqIO a little nicer to use together after the
changes forced by this bug.  There are also several aliases used in EMBOSS that
would also make sense (e.g. "pfam" for "stockholm").  On the down side, having
more than one name risks confusion.  Bring this up on the mailing list if you
like.

Leaving this bug as fixed.

Peter


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list