[Biopython-dev] EFetch returning ASN.1 not genbank format

Leighton Pritchard lpritc at scri.ac.uk
Tue Apr 14 08:29:14 UTC 2009


On 13/04/2009 18:55, "Peter" <biopython at maubp.freeserve.co.uk> wrote:

[...]
> I think we have two options:
> 
> (1) Add a special case to Bio.Entrez.eftech to map rettype="genbank"
> to rettype="gb" (or "gp" for the protein database).  This is simple
> and causes least disruption to Biopython uses, but is a bad idea in
> the long run as it means we are effectively providing our own variant
> of the Entrez API.
> 
> (2) Update our documentation and unit tests to use rettype="gb" or
> "gp" instead of rettype="genbank", and add a special case to
> Bio.Entrez.eftech to map rettype="genbank" to rettype="gb" (or "gp"
> for the protein database) and issue a warning that the NCBI have
> changed their API.  At a later point we might change this warning to
> an error.  This would provide a clear transition for end user scripts,
> and keep us consistent with the official Entrez API.
> 
> I favour option (2) here.  Any other thoughts?  Whatever we do should
> happen before we release Biopython 1.50.

Option (2).  Option (1) risks cementing an argument into place in Biopython
that could potentially contradict future Entrez API usage.

L.

-- 
Dr Leighton Pritchard MRSC
D131, Plant Pathology Programme, SCRI
Errol Road, Invergowrie, Perth and Kinross, Scotland, DD2 5DA
e:lpritc at scri.ac.uk       w:http://www.scri.ac.uk/staff/leightonpritchard
gpg/pgp: 0xFEFC205C       tel:+44(0)1382 562731 x2405


______________________________________________________
SCRI, Invergowrie, Dundee, DD2 5DA.  
The Scottish Crop Research Institute is a charitable company limited by guarantee. 
Registered in Scotland No: SC 29367.
Recognised by the Inland Revenue as a Scottish Charity No: SC 006662.


DISCLAIMER:

This email is from the Scottish Crop Research Institute, but the views expressed by the sender are not necessarily the views of SCRI and its subsidiaries.  This email and any files transmitted with it are confidential to the intended recipient at the e-mail address to which it has been addressed.  It may not be disclosed or used by any other than that
addressee.
If you are not the intended recipient you are requested to preserve this confidentiality and you must not use, disclose, copy, print or rely on
this e-mail in any way. Please notify postmaster at scri.ac.uk quoting the name of the sender and delete the email from your system.

Although SCRI has taken reasonable precautions to ensure no viruses are present in this email, neither the Institute nor the sender accepts any responsibility for any viruses, and it is your responsibility to scan the email and the attachments (if any).
______________________________________________________



More information about the Biopython-dev mailing list