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.
In reply to Re: Calc distance between atoms in pdb file
by brx
in thread Calc distance between atoms in pdb file
by stellaparallax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |