Re: [BangPypers] BangPypers Digest, Vol 34, Issue 27

2010-06-14 Thread madhuri vio
hen replying, please edit your Subject line so it is more specific > than "Re: Contents of BangPypers digest..." > > > Today's Topics: > > 1. Re: file handling (Supreet Sethi) > 2. biopython (madhuri vio) > 3. biopython (madhuri vio) > 4. Re: biop

[BangPypers] biopython

2010-06-14 Thread madhuri vio
i am still waiting for some help. -- madhuri :) ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] biopython

2010-06-14 Thread madhuri vio
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_record) python bio.py Traceback (most recent ca

[BangPypers] biopython

2010-06-14 Thread madhuri vio
i cudnt run this!! and this was the error occured for seq_record in SeqIO.parse("ls_MTbH37Rv. fasta","fasta"): ... print seq_record.id ... print repr(seq_record.seq) ... print len(seq_record) ... Traceback (most recent call last): File "", line 1, in File "/var/lib/python-sup

[BangPypers] file handling

2010-06-13 Thread madhuri vio
a = open("human","rb") print a.readlines() this is the code i have written to read a text file but i am unable to .. i get a very weird output... "PK\x03\x04\x14\x00\x00\x00\x00\x00\xd6+\xce<^\xc62\x0c'\x00\x00\x00'\x00\x00\x00\x08\x00\x00\x00mimetypeapplication/vnd.oasis.opendocument.textPK\x03