Forum: Perl Oct 1st, 2008 |
| Replies: 5 Views: 1,737 hi,
Well, I did get extract the three columns with the script, but i wanted to know how to calculate the distance and put them in an output file.
The distance calculation is between row1_row2,... |
Forum: Perl Oct 1st, 2008 |
| Replies: 5 Views: 1,737 Hello,
I am a beginner in perl. I am stuck with a problem. I have an array which looks like this
6.324 32.707 50.379
5.197 32.618 46.826
4.020 36.132 46.259
7.131 38.210 45.919
6.719... |
Forum: Perl Oct 1st, 2008 |
| Replies: 3 Views: 813 Thank you so much.. that really helped me solve the problem |
Forum: Perl Sep 30th, 2008 |
| Replies: 3 Views: 813 Hello,
I have a file with the data as shown below:
ATOM 2 CA ARG A 1 6.324 32.707 50.379
ATOM 13 CA THR A 2 5.197 32.618 46.826
ATOM 20 CA ASP A... |
Forum: Perl Sep 30th, 2008 |
| Replies: 2 Views: 1,909 hi,
I want to know what is the regular expression to be written in order to match
ATOM 2 CA ARG A 1 6.324 32.707 50.379
the above XYZ coordinates in this line. I have a pdb... |
Forum: Perl Sep 29th, 2008 |
| Replies: 2 Views: 1,909 Hello,
I am new to perl, but I would like write a perl script that can convert xyz cordinates from a pdb file to distances using the formula:
distance = SQRT[(X1-X2)^2 + (Y1-Y2)^2 +... |