SICHO.pm Show Source

The SICHO package manages SICHO lattice chains, in particular for use with the MONSSTER program. Methods are available to read and write lattice chains from and to different formats and to do some checks and conversions.
This package is needed for low-resolution modeling applications that use lattice chains.

new([parameters])
creates a new SICHO object, the following parameters may be set through hash-style key=>value pairs: resolution, offsetx, offsety, offsetz, gridsize, intflag
copy(fromSICHO)
copies the data from another SICHO object
 
readChain(file)
reads a SICHO chain file
 
writeChain(file)
writes a SICHO chain file
 
convert(parameters)
translates the lattice chain representation of the current structure to a new lattice resolution and/or with a new offset. Parameters of the new representation are given as in the constructor.
 
getSimpleFromAllAtom(mol[,parameters])
generates a simple lattice chain from an all atom model represented as a Molecule object Parameters for the new chain can be given as in the constructor.
 
getRandomMONSSTER(num[,parameters])
generates a random MONSSTER chain Parameters for the new chain can be given as in the constructor.
 
genMONSSTERFromAllAtom(mol[,parameters])
generates a MONSSTER chain from an all-atom structure represented as a Molecule object. Parameters for the new chain can be given as in the constructor. In addition fraglist may be used to provide a residue list for loop/fragment modeling. The chain for those residues will then be generated randomly.
 
readMONSSTERTraj(file,timestep,cycle)
reads a single chian configuration from a MONSSTER trajectory. The configuration is identified by the time step and cycle indices.
 
$success = nextMONSSTERTraj(handle)
reads the next chain configuration from a previously opened MONSSTER trajectory file. It returns 1 if successful, 0 otherwise.
 
checkMONSSTER(show)
checks whether the current chain is a valid MONSSTER chain. It returns a non-zero value if it is not a valid MONSSTER chain. Additional information is printed if the argument show is set to 1
 
fromMolecule(mol)
generates a lattice chain from a chain representation as a Molecule object.
sidechain[] -> {xcoor, ycoor, zcoor}
side chain coordinates
 
ca[] -> {xcoor, ycoor, zcoor}
C-alpha coordinates (optional)
 
resolution
lattice resolution
 
offset -> {xcoor, ycoor, zcoor}
lattice offset
 
gridsize
lattice gridsize
 
integer
flag selecting integer or floating point coordinates
GenUtil.pm  Molecule.pm
Michael Feig, Brooks group, TSRI