469,364 Members | 2,471 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,364 developers. It's quick & easy.

new user needs help!


I am totally new in biopython and its my first program.so may be i am asking
stupid question.
I am working with a text filelooks like this:
#NAME AA TOPO ACCESS DSSP STRIDE Z-COORD
1lghB A i 79.8 H H -24.58
1lghB V i 79.6 H H -22.06
1lghB H i 71.9 H H -19.94
i need to compare those lines which has a value between 10 to 22 and
presents in the following way
True/false A C D E F G H I K L M N P Q R S T V X Y W(here alfabets
represents amino acids)
1 1:1 2:0 3:0 and so on for rest of the amino acids.
IF PRESENT IN THAT RANGE
IF not PRESENT IN THAT RANGE then
-1 1:0 2:0 so on,it should be 1 instead of 0 when it will find corresponding
amino acid for that line.say here,for 2nd line it will be 16:1.
true will represent 1,false -1.
i have to cheek all the lins in the file and print it.
u have to tell simply otherwise i cant understand even,so stupid am i!
I will be really greatful!Thanks in advance
--
View this message in context: http://www.nabble.com/new--user-need...p16571784.html
Sent from the Python - python-list mailing list archive at Nabble.com.

Apr 8 '08 #1
0 1024

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by RCCNH | last post: by
reply views Thread by gertjan.nospam | last post: by
3 posts views Thread by Martin Lacoste | last post: by
10 posts views Thread by Sorin Dolha [MCSD .NET] | last post: by
4 posts views Thread by Prince Mathew | last post: by
12 posts views Thread by Michael | last post: by
33 posts views Thread by JamesB | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.