gen_sim_input.py¶
- mlcg_tk.scripts.gen_sim_input.process_sim_input(dataset_name, raw_data_dir, save_dir, tag, pdb_fns, cg_atoms, embedding_map, embedding_func, skip_residues, copies, prior_tag, prior_builders, mass_scale=418.4, collection_cls=<class 'mlcg_tk.input_generator.raw_dataset.SampleCollection'>, smpl_loader=<class 'mlcg_tk.input_generator.raw_data_loader.SimInput_loader'>)[source]¶
Generates input AtomicData objects for coarse-grained simulations
- Parameters:
dataset_name (
str) – Name given to specific datasetraw_data_dir (
str) – Path to location of input structuressave_dir (
str) – Path to directory in which output will be savedtag (
str) – Label given to all output files produced from datasetpdb_fns (
List[str]) – List of pdb filenames from which input will be generatedcg_atoms (
List[str]) – List of atom names to preserve in coarse-grained resolutionembedding_map (
CGEmbeddingMap) – Mapping objectembedding_func (
Callable) – Function which will be used to apply CG mappingskip_residues (
List[str]) – List of residues to skip, can be Nonecopies (
int) – Copies that will be produced of each structure listing in pdb_fnsprior_tag (
str) – String identifying the specific combination of prior termsprior_builders (
List[PriorBuilder]) – List of PriorBuilder objects and their corresponding parametersmass_scale (
Optional[float]) – Optional scaling factor applied to atomic massescollection_cls (
Type[SampleCollection]) – Class type for sample collectionsmpl_loader (
Type[DatasetLoader]) – Loader class for dataset