Classes and functions¶
DNA¶
- class open3SPN2.DNA(periodic=True)[source]¶
A Coarse Grained DNA object.
- parseConfigurationFile(configuration_file='/home/docs/checkouts/readthedocs.org/user_builds/open3spn2/checkouts/latest/open3SPN2/3SPN2.conf')[source]¶
Reads the configuration file for the forcefield. The default configuration file is 3SPN2.conf and it contains most of the parameters used in the simulation.
- getSequences()[source]¶
Returns the DNA sequence as a Pandas Series. The index of the Series is (Chain, resid)
- computeGeometry(sequence=None, temp_name='temp')[source]¶
This function requires X3DNA. It returns a pdb table containing the expected DNA structure
- computeTopology(template_from_X3DNA=True, temp_name='temp')[source]¶
Creates tables of bonds, angles and dihedrals with their respective parameters (bonded interactions). 3SPN2.C requires a template structure to calculate the equilibrium bonds, angles and dihedrals. If template_from_structure is True, it will try to compute the equilibrium geometry using X3DNA. If template_from_structure is False, then the initial structure is expected to be the equilibrium geometry
- classmethod fromCoarsePDB(pdb_file, dna_type='B_curved', template_from_X3DNA=True, temp_name='temp', compute_topology=True)[source]¶
Initializes a DNA object from a pdb file containing the Coarse Grained atoms
- classmethod fromPDB(pdb_file, dna_type='B_curved', template_from_X3DNA=True, output_pdb='clean.pdb', temp_name='temp', compute_topology=True)[source]¶
Creates a DNA object from a complete(atomistic) pdb file
- static CoarseGrain(pdb_table)[source]¶
Selects DNA atoms from a pdb table and returns a table containing only the coarse-grained atoms for 3SPN2
System¶
DNA Forces¶
DNA - Protein Forces¶
Utils¶
- open3SPN2.parseConfigTable(config_section)[source]¶
Parses a section of the configuration file as a table. This function is used to parse the 3SPN2.conf file
- open3SPN2.parsePDB(pdb_file)[source]¶
Transforms the pdb file into a pandas table for easy access and data editing