Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Calc distance between atoms in pdb file

by brx (Pilgrim)
on Apr 29, 2012 at 18:53 UTC ( #967964=note: print w/ replies, xml ) Need Help??


in reply to Calc distance between atoms in pdb file

Post some real input data: answers will be better, with a better regex/method.

Reading each line, you can calculate distance with all previous points - no need to make a double loop after reading all the file.


Update: strike first part (sorry OP)


Comment on Re: Calc distance between atoms in pdb file
Re^2: Calc distance between atoms in pdb file
by BrowserUk (Pope) on Apr 29, 2012 at 19:17 UTC
    Post some real input data: answers will be better,

    I found the real input data via the OPs reference.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://967964]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (14)
As of 2013-05-22 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (470 votes), past polls