continuousflex.protocols.utilities.genesis_utilities module¶
- continuousflex.protocols.utilities.genesis_utilities.continuousAssign(inputMeta, inputVol, outputMeta)[source]¶
Make a continuous angular assignment of angles from a volume :param str inputMeta: File name of input Xmipp metadata file with angles to assign :param str inputVol: File name of the input Volume :param str outputMeta: File name of the output Xmipp metadata file with the angles :return str: the Xmipp command to run
- continuousflex.protocols.utilities.genesis_utilities.flipAngles(inputMeta, outputMeta)[source]¶
Flip angles from Xmipp representation to Euler angles :param str inputMeta : File name of input Xmipp metadata file containing the angles to flip :param str outputMeta: file name of the output Xmipp matadata file :return None:
- continuousflex.protocols.utilities.genesis_utilities.generateGROTOP(inputPDB, outputPrefix, forcefield, smog_dir, nucleicChoice)[source]¶
- continuousflex.protocols.utilities.genesis_utilities.generatePSF(inputPDB, inputTopo, outputPrefix, nucleicChoice)[source]¶
- continuousflex.protocols.utilities.genesis_utilities.getAngularShiftDist(angle1MetaFile, angle2MetaData, angle2Idx, tmpPrefix, symmetry)[source]¶
- continuousflex.protocols.utilities.genesis_utilities.getRMSD(mol1, mol2, align=False, idx=None)[source]¶
- continuousflex.protocols.utilities.genesis_utilities.lastPDBFromDCD(inputPDB, inputDCD, outputPDB)[source]¶
- continuousflex.protocols.utilities.genesis_utilities.pdb2vol(inputPDB, outputVol, sampling_rate, image_size)[source]¶
Create a density volume from a pdb :param str inputPDB: input pdb file name :param str outputVol: output vol file name :param float sampling_rate: Sampling rate :param int image_size: Size of the output volume :return str: the Xmipp command to run
- continuousflex.protocols.utilities.genesis_utilities.projectMatch(inputImage, inputProj, outputMeta)[source]¶
Projection matching of an input experimental image with a set of projections :param str inputImage: File name of the input experimental image :param str inputProj: File name of the input set of projections :param str outputMeta: File name of the output Xmipp metadata file with the angles of the matching :return str: the Xmipp command to run
- continuousflex.protocols.utilities.genesis_utilities.projectVol(inputVol, outputProj, expImage, sampling_rate=5.0, angular_distance=- 1, compute_neighbors=True)[source]¶
Create a set of projections from an input volume :param str inputVol: Input volume file name :param str outputProj: Output set of proj file name :param str expImage: Experimental image to project in the neighborhood :param float sampling_rate: Samplign rate :param float angular_distance: Do not search a distance larger than… :param bool compute_neighbors: Compute projection nearby the experimental image :return str: the Xmipp command to run
- continuousflex.protocols.utilities.genesis_utilities.rmsdFromDCD(outputPrefix, inputPDB, targetPDB, idx, align=False)[source]¶
- continuousflex.protocols.utilities.genesis_utilities.runParallelJobs(commands, env=None, numberOfThreads=1, numberOfMpi=1, hostConfig=None)[source]¶
Run multiple commands in parallel. Wait until all commands returned :param list commands: list of commands to run in parallel :param dict env: Running environement of subprocesses :param numberOfThreads: Number of openMP threads :param numberOfMpi: Number of MPI cores :return None:
- continuousflex.protocols.utilities.genesis_utilities.waveletAssignement(inputImage, inputProj, outputMeta)[source]¶
Make a discrete angular assignment of angles from a set of projections :param str inputImage: File name of input experimental image :param str inputProj: File name of the input set of projections :param str outputMeta: File name of the output Xmipp metadata file with the angles assigned :return str: the Xmipp command to run