[Biopython] Helpa Newbie Please.py

Michiel de Hoon mjldehoon at yahoo.com
Mon Jun 7 00:30:52 UTC 2010


The file ls_orchid.gbk should be in your current directory (the one in which you start python).
--Michiel.

--- On Sun, 6/6/10, Gary <gnd9 at cox.net> wrote:

> From: Gary <gnd9 at cox.net>
> Subject: [Biopython] Helpa Newbie Please.py
> To: biopython at lists.open-bio.org
> Date: Sunday, June 6, 2010, 7:24 PM
> Subject: Helpa Newbie Please.py
> 
> 
> Just started into this fantastic project & can't get
> past Cookbook 2.4.2 parsing example!
> 
> from Bio import SeqIO
> for seq_record in SeqIO.parse("ls_orchid.gbk", "genbank"):
>     print seq_record.id
>     print repr(seq_record.seq)
>     print len(seq_record)
> 
> ALWAYS REPLYS:
> 
> Traceback (most recent call last):
> File "(stdin)"' line1, in (module)
> File "C:\Python26\lib\site-package\Bio\SeqIO\_init_.py"'
> line 483, in parse
> IOError: [Error 2] No such file or directory:
> 'ls_orchid.gbk'
> 
> 
> I do have the file in fact I put it in several
> locations.... genbank folder, SeqIO folder, Python2.6
> folder....
> Does anyone know which folder SeqIO is looking for the
> orchid file?
> I assume thats my problem
> 
> Thanks in advance
> Helpa Newbie Please.py
> 
> 
> 
>  
> _______________________________________________
> Biopython mailing list  -  Biopython at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biopython
> 


      




More information about the Biopython mailing list