Re: biopython

2010-06-14 Thread Sebastian Bassi
On Mon, Jun 14, 2010 at 11:02 AM, madhuri vio wrote: > TypeError: Need a file handle, not a string (i.e. not a filename) This says that the error is that you are using a filename where you should be using a filehandle. So this line: for seq_record in SeqIO.read("ls_MTbH37Rv.fasta", "fasta"): Sh

Re: biopython

2010-06-14 Thread geremy condra
On Mon, Jun 14, 2010 at 9:38 AM, Thomas Jollans wrote: > On 06/14/2010 05:45 PM, madhuri vio wrote: >> >> i am still waiting for some help. > > WHAT?! Your behaviour on this list is making me really, really angry. We > are not a tech support company. You are not paying for the privilege of > s

Re: biopython

2010-06-14 Thread Ajit Kumar
On Mon, Jun 14, 2010 at 9:38 AM, Thomas Jollans wrote: > On 06/14/2010 05:45 PM, madhuri vio wrote: >> >> i am still waiting for some help. > > Besides: your original TWO (why two??) posts got a couple of replies. > One annoyed but in principle I think helpful one from myself, and one > rather

Re: biopython

2010-06-14 Thread Mark Lawrence
On 14/06/2010 16:45, madhuri vio wrote: i am still waiting for some help. You cheeky git, this is simply *NOT* cricket! Your 1st post was timed at 13:59 BST, the response from Thomas Jollans at 14:12. Your 2nd post was at 15:02 and I replied at 15:12. Now you're back again at 16:45, to

Re: biopython

2010-06-14 Thread Thomas Jollans
On 06/14/2010 05:45 PM, madhuri vio wrote: > > i am still waiting for some help. WHAT?! Your behaviour on this list is making me really, really angry. We are not a tech support company. You are not paying for the privilege of sending your mail here. However, Sir, you are acting as if you were

Re: biopython

2010-06-14 Thread Benjamin Kaplan
On Mon, Jun 14, 2010 at 8:45 AM, madhuri vio wrote: > > i am still waiting for some help. > -- > madhuri :) > You already have your help- the traceback tells you everything you need to know. If you don't understand what the traceback is saying, come back here and specifically ask about the p

Re: biopython

2010-06-14 Thread Mark Lawrence
On 14/06/2010 15:02, madhuri vio wrote: i have tried this still unable to get an output from Bio import Seq from Bio import SeqIO from Bio import SeqRecord for seq_record in SeqIO.read("ls_MTbH37Rv.fasta", "fasta"): print seq_record.id print repr(seq_record.seq) print len(seq_rec

Re: biopython

2010-06-14 Thread Thomas Jollans
On 06/14/2010 02:59 PM, madhuri vio wrote: > i cudnt run this!! Take a deep breath, and read the error message. It's very informative, and tells you exactly what the problem is, and how to fix it, if you'd just try to understand it. It would be much appreciated if you had a look at http://www

Re: biopython

2008-09-09 Thread Gabriel Genellina
En Tue, 09 Sep 2008 05:53:19 -0300, Beema Shafreen <[EMAIL PROTECTED]> escribió: Hi all, I am using Biopython to fetch pumed Id's ,The module i use is (from Bio import Entrez) But i am getting this error from Bio import Entrez Traceback (most recent call last): File "", line 1, in ? Impo

Re: biopython

2008-09-09 Thread skip
>>> from Bio import Entrez Traceback (most recent call last): File "", line 1, in ? ImportError: cannot import name Entrez Can you import Bio, e.g.: import Bio ? If not, check to see where it's installed and make sure the directory containing Bio (or Bio.py) is in sys.pat