[Biopython] get back raw records with SeqIO?

Peter biopython at maubp.freeserve.co.uk
Tue Sep 29 19:09:38 UTC 2009


On Fri, Sep 25, 2009 at 10:50 AM, Peter <biopython at maubp.freeserve.co.uk> wrote:
> On Thu, Sep 24, 2009 at 10:51 PM, Cedar McKay <cmckay at u.washington.edu> wrote:
>> Are there plans to preserve more information in the in_genbank
>> --> SeqIO --> out_genbank pipeline? For instance, at the moment,
>> AUTHORS, COMMENT, etc are lost.
>
> Like BioPerl, we are not expecting to offer a 100% round trip, but yes
> there are some bits (like the references) which still need doing. I haven't
> have the time or the need to follow up on those fields yet - but I would
> certainly review a patch if you wanted to work on that.

Hi Cedar,

I've just added support for writing the COMMENT lines in SeqIO's
GenBank output to the repository (which is now using git hosted
on github). I'm hoping you'll give this code a quick test...

Assuming you are runing Biopython 1.52, you only really need to
update the Bio/SeqIO/InsdcIO.py file (e.g. download it via the
source code browser) but it might be simpler to just grab the
latest source and reinstall. See this wiki page for details:
http://biopython.org/wiki/SourceCode

Thanks,

Peter



More information about the Biopython mailing list