(From Geoff Barton's group at the EBI)http://barton.ebi.ac.uk/manuals/stamp.4.2/stamp.html
#For Stamp
setenv STAMPDIR /max2/people/dbuckler/stamp_4_2
set path = ($STAMPDIR $STAMPDIR/bin/sgi $path)
#For Alscript
set path = (/max2/people/dbuckler/alscript.2_07a/bin/sgi $path)
cd /max2/people/dbuckler/stamp_4_2/
cp defs/pdb.directories .
cp defs/dssp.directories .
cd /max2/people/dbuckler/STAMP/DSSPRepeat the above for all *pdb files.
dssp ../PDB/2CHE.pdb 2CHE.dssp
cd /max2/people/dbuckler
mkdir WORK
cd WORK
pdbc -m wbi2.pdb
pdbc -d wbi2 >! regdom.domainsRepeat this for each each pdb file. Note that only the string code for the pdb file is used, without the "pdb" suffix, and it is case insensitive. It finds all chains for the pdb file located in the /STAMP/PDB directory. The resulting file, regdom.domains, will now include path/filename for all files (note that pdb files with multiple segments will have multiple listings -- one for each segment). It is often worthwhile to edit the *.domains file and comment out all but one chain for each protein to reduce the number of structures used in the alignment to the minimal representative subset for proteins of interest.
pdbc -d 1a04 >> regdom.domains
pdbc -d 1a2o >> regdom.domains
orig_regdom.domains (the original file after the above series of pdbc -d commands)
regdom.domains (the edited file to select one chain from each protein)
stamp -l regdom.domains -rough -n 2 -prefix regdom -o regdom_stamp.logThe rough mode is appropriate when sequences/structures are reasonably similar and align reasonably well when left (N-terminally) justification as a starting point. The "-n 2" indicates that a conformation-biased fit will be performed before the final fit.
Example file: reg1.domains
pdbc -d 3chy > 3chy.domainsResulting output file: 3chy.domains
stamp -l 3chy.domains -n 2 -s -slide 5 -d reg1.domains -prefix reg1 -cutThe cut feature removes parts of sequences that are not similar.
sorttrans -f reg1.scan -s Sc 2.5 > reg1.sorted
stamp -l reg1.sorted -prefix reg1A series of files are generated: reg1.n; the one with largest "n" contains all structural alignments; use it for subsequent steps.
transform -f reg1.7 -g -o reg1_7.pdbIf -g (graphics) is omitted, separate pdb files are output for each aligned structure.
avestruc -f reg1.7 -o reg1_7_ave.pdb
poststamp -f reg1.7 -min 0.5
stamp_clean reg1.7.post 3 > reg1.7.cleanThis will create a file reg1.7.clean where all gaps not lying within structurally equivalent regions and having fewer than 3 aligned residues in a
ver2hor -f reg1.7.clean > reg1.7.clean.v2h
dstamp -f reg1.7.clean -prefix reg1_7_align
alscript reg1_7_align.alsThis generates output reg1_7_align.ps
gv reg1_7_align.ps or
lp reg1_7_align.ps