MONSSTER.pm Show Source

The MONSSTER package is used to setup and run MONSSTER simulations. Methods are also provided to extract output data and simulated lattice chains from completed simulation runs.

new([sequence]);
creates a new MONSSTER object. A Sequence object may be given as argument
setDirectory(directory)
set working directory
 
$status = complete([requiretrajectory])
determines files from a MONSSTER simulation run are complete. If the argument is set to a non-zero value it requires the trajectory file to be present in addition to the final chain and output file.
 
setParameter(parameters)
sets MONSSTER simulation parameters that are expected as hash-type key=>value pair arguments.
 
setPositionalRestraints(list)
sets the positional restraint list
 
setDistanceRestraints(force,list)
sets the distance restraint list and force
 
setup(input)
sets up all necessary files to run MONSSTER. An input SICHO lattice chain is required as argument.
 
energy(input)
sets up and runs mener to get MONSSTER energies An input SICHO lattice chain is required as argument.
 
run(input)
sets up and runs a MONSSTER simulation An input SICHO lattice chain is required as argument.
 
initChain()
returns the input chain from a MONSSTER run as SICHO object
 
finalChain()
returns the final chain from a MONSSTER run as SICHO object
 
trajFrame(timestep,cycle)
reads a MONSSTER trajectory file and returns the frame corresponding to the time step and cycle arguments
 
finalEnergy()
returns the final energy from the MONSSTER output
 
nSteps()
returns the number of time steps from the MONSSTER output
 
nCycle()
returns the number of cycles at each time step from the MONSSTER output
 
$step = stepInfo(index)
returns a data structure with MONSSTER output for a given time step
 
$cycle = cycleInfo(index)
returns a data structure with MONSSTER output for a given cycle
 
writeInput(file)
writes a MONSSTER input parameter file from previously set parameters.
 
writePosRestraints(file)
writes a MONSSTER restraint file from a previously set positional restraint list
sequence
Sequence object used to generate input for MONSSTER
 
workdir
Working directory for running MONSSTER
 
par -> { random, ncycle, icycle, tsteps,
         resmin, resmax, temp, softcore, 
         central, stiff, pair, kdcore,
         hbond, short, burial,
         multibody, threebody,
         rgyr, krgyr, rho, krho }
MONSSTER simulation parameters
 
posrest[] -> { from, to, force }
list of positional restraints
 
distrest[] -> { from, to }
list of distance restraints
 
distrestforce
restraint force for distance restraints
 
output -> { final  -> { short, long, total, central },
            list[] -> { cycle[] -> { r2, s2, ener, ecent }, 
                        step, temp } }
simulation data extracted from MONSSTER output
GenUtil.pm  Sequence.pm  SICHO.pm
Michael Feig, Brooks group, TSRI