continuousflex.protocols.protocol_genesis module¶
- class continuousflex.protocols.protocol_genesis.ProtGenesis(**kwargs)[source]¶
Bases:
pwem.protocols.protocol.EMProtocol
Protocol to perform MD simulation using GENESIS.
- convertInputPDBStep()[source]¶
Convert input PDB step. Generate topology files and copy input PDB files :return None:
- convertInputVol(fnInput, volPrefix)[source]¶
Convert input volume data :param str fnInput: input volume file name :param str volPrefix: ouput volume prefix :return None:
- createGenesisInputFile(inputPDB, outputPrefix, indexFit)[source]¶
Create INP input file for GENESIS :param str inputPDB: input PDB file name :param str outputPrefix: output prefix :param int indexFit: index of the simulation :return None:
- getGenesisCmd(prefix)[source]¶
Get GENESIS cmd to run :param str prefix: prefix of the simulation :return str : GENESIS commadn to run
- getInputEMfn()[source]¶
Get the input EM data file names :return list: list of input EM data file names
- getInputEMprefix(index=0)[source]¶
Get the input EM data prefix of the specified index :param int index: index of the EM data :return str: Input EM data prefix
- getInputPDBprefix(index=0)[source]¶
Get the input PDB prefix of the specified index :param int index: index of input PDB :return str: Input PDB prefix
- getMPIParams()[source]¶
Get mpi parameters for the simulation :return tuple: numberOfMpiPerFit, numberOfLinearFit, numberOfParallelFit, numberOflastIter
- getNumberOfInputEM()[source]¶
Get the number of input EM data to analyze :return int : number of input EM data
- getNumberOfSimulation()[source]¶
Get the number of simulations to perform :return int: Number of simulations
- getOutputPrefix(index=0)[source]¶
Output prefix of the specified index :param int index: index of the simulation to get :return string : Output prefix of the specified index
- getOutputPrefixAll(index=0)[source]¶
All output prefix of the specified index including multiple replicas in case of REUS :param int index: index of the simulation to get :return list: list of all output prefix of the specified index
- getRestartFile(index=0)[source]¶
Get input restart file :param int index: Index of the simulation :return str: restart file