Hi,
I am creating a program that calculates the distance between the x, y, z coordinates of atoms listed in a pdb file.
So far i have this:
#!/usr/bin/perl -w
$num = 0;
$count = 0;
while (<>) {
# Find x, y, z coordinates and store in separate arrays
if ($_ =~ /^ATOM/) {
@line = $_...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.