2) write a interactive I/O perl script to do: Extracts:
a) the NAME of the protein,
b) the SOURCE of the protein,
c) the RESOLUTION of the structure
d) and for all CHAINS: the following info
1) The CHAIN number,
2) Residue name and the sequence
number
3) The number of atoms for each
residue Prints out all
above
information either to a file or to the screen.
Note that you can "capture" a screen print with:
"perlyour_script.pl>output.file"
A THR-1 7
A ALA-2 5
A THR-3 7
A TYR-4 12
A ALA-5 5
A GLN-6 9
A ALA-7 5
A LEU-8 8
A GLN-9 9
A SER-10 6
A VAL-11 7
A PRO-12 7
A GLU-13 9
A THR-14 7
A GLN-15 9
A VAL-16 7
A SER-17 6
A GLN-18 9
A LEU-19 8
A ASP-20 8
A ASN-21 8
A GLY-22 4
A LEU-23 8
.
.
W ARG-15 11
W ASN-16 8
W TRP-17 14
.
.
Please take a look at 2005's
homework, key, PDB file and output. It might be helpful to
your homework.