Homework 2008 (due in one week - January 21th)

1) Download the protein PDB file: 1BGY

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:
"perl your_script.pl > output.file"



The output should look something like:

NAME     CYTOCHROME BC1 COMPLEX FROM BOVINE

SOURCE   MOL_ID: 1;                                                           
SOURCE   2 ORGANISM_SCIENTIFIC: BOS TAURUS;                                    
SOURCE   3 ORGANISM_COMMON: BOVINE;                                            
SOURCE   4 ORGAN: HEART;                                                       
SOURCE   5 TISSUE: HEART MUSCLE;                                               
SOURCE   6 ORGANELLE: MITOCHONDRION;                                           
SOURCE   7 CELLULAR_LOCATION: MITOCHONDRIAL INNER MEMBRANE

RESOLUTION. 3.0  ANGSTROMS


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.