|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Calc distance between atoms in pdb fileby brx (Pilgrim) |
| on Apr 29, 2012 at 18:53 UTC ( #967964=note: print w/ replies, xml ) | Need Help?? |
|
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)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||