[Biopython] problem parsing embl file

Sameet Mehta msameet at gmail.com
Mon Jun 28 20:58:01 UTC 2010


Hi Peter,

Yes I am indeed running v 1.53

>>> import Bio
>>> print Bio.__version__
1.53
>>>

I will change that line and see if it works, probably will.  But I
have multiple such files to deal with and i dont knwo the lengths of
each of those.  Is there any other simpler way around.

Sorry to bother you this way.

Samee
On Mon, Jun 28, 2010 at 4:06 PM, Peter <biopython at maubp.freeserve.co.uk> wrote:
> On Mon, Jun 28, 2010 at 9:02 PM, Sameet Mehta <msameet at gmail.com> wrote:
>> Hi Peter,
>>
>> The Sequence length is 5580032, its first chromosome of yeast.
>> following are the first 10 lines of the file.
>>
>> ID c212 standard; DNA; FUN; 666 BP.
>> ...
>>
>> Also I believe that I am using the latest BioPython on my laptop.
>>
>
> Could you check? Run Python then,
>
> import Bio
> print Bio.__version__
>
>> I think I found the problem!! Indeed the first line is the problem. So
>> how can i circumvent this.
>
> Try editing the file to start:
>
> ID c212 standard; DNA; FUN; 5580032 BP.
>
> Peter
>



-- 
Sameet Mehta, Ph.D.,
Phone:  (301) 842-4791



More information about the Biopython mailing list