pyVLMP 1.0.76__tar.gz → 1.0.77__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyvlmp-1.0.76/pyVLMP.egg-info → pyvlmp-1.0.77}/PKG-INFO +3 -3
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/AdaptiveCG.py +36 -28
- {pyvlmp-1.0.76 → pyvlmp-1.0.77/pyVLMP.egg-info}/PKG-INFO +3 -3
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/pyVLMP.egg-info/SOURCES.txt +0 -1
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/pyVLMP.egg-info/requires.txt +1 -1
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/pyproject.toml +2 -2
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/setup.py +1 -1
- pyvlmp-1.0.76/VLMP/components/models/SBCG.py +0 -139
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/LICENSE +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/MANIFEST.in +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/README.md +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/VLMP.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/__main__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/ensembles/NVT.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/ensembles/NVTlambda.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/ensembles/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/integrators/BBK.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/integrators/EulerMaruyama.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/integrators/EulerMaruyamaRigidBody.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/integrators/EulerMaruyamaRigidBodyPatchesState.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/integrators/GJF.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/integrators/MagneticBrownian.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/integrators/NVE.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/integrators/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/ACMagneticField.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/AFM.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/LennardJones.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/WCA.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/absortionSurface.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/addBond.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constantForce.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constantForceBetweenCentersOfMass.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constantForceOverCenterOfMass.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constantTorqueBetweenCentersOfMass.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constantTorqueOverCenterOfMass.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constraintCenterOfMassPosition.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constraintParticlesListPositionLambda.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constraintParticlesPosition.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constraintParticlesPositionLambda.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/harmonicBondBetweenCentersOfMass.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/helixBoundaries.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/plates.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/sphericalShell.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/steric.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/surface.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/surfaceMaxForce.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/uniformField.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelOperations/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelOperations/alignInertiaMomentAlongVector.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelOperations/distributeRandomly.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelOperations/rotation.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelOperations/setCenterOfMassPosition.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelOperations/setContactDistance.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelOperations/setParticleLowestPosition.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelOperations/setParticlePositions.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelOperations/setParticleXYPosition.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/CORONAVIRUS.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/ENM.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/FILE.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/HELIX.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/ICOSPHERE.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/IDP.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/KB.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/MADna.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/MAGNETICNP.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/MEMBRANE.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/PARTICLE.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/PROTEIN_IDP_PROTEIN.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/SIMULATION.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/SOP.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/SPHEREMULTIBLOB.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/STERIC_LAMBDA_SOLVATION.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/WLC.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/data/CORONAVIRUS.json +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/data/ICOSPHERE.json +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/models/data/MADna.json +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/AFMMaxForce.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/afmMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/anglesMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/centerOfMassMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/forceBetweenSetsMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/gyrationRadius.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/heightMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/info.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/lambdaActivation.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/lambdaCycle.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/meanMagnetizationMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/meanRadius.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/meanSquareDisplacement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/nativeContactsMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/oscillatoryForceMeasurment.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/pairwiseForces.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/patchPolymersMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/potentialEnergyMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/potentialMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/savePatchyParticlesState.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/saveState.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/stressMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/thermodynamicIntegration.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/thermodynamicMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/vqcmMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/vqcmMobilityMeasurement.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/systems/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/systems/backup.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/systems/seed.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/systems/simulationName.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/types/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/types/basic.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/types/none.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/units/KcalMol_A.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/units/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/units/none.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/experiments/HighThroughputAFM.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/experiments/SurfaceUmbrellaSampling.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/experiments/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/utils/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/utils/geometry/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/utils/geometry/bounds.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/utils/geometry/objects/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/utils/geometry/objects/helix.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/utils/geometry/particlesDistribution.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/utils/input/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/utils/input/stringUtils.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/utils/launcher/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/utils/selections/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/utils/selections/commonSelections.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/utils/units/__init__.py +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/pyVLMP.egg-info/dependency_links.txt +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/pyVLMP.egg-info/top_level.txt +0 -0
- {pyvlmp-1.0.76 → pyvlmp-1.0.77}/setup.cfg +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyVLMP
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.77
|
|
4
4
|
Summary: Virtual Lab Modeling Platform
|
|
5
|
-
Home-page: https://github.com/PabloIbannez/
|
|
5
|
+
Home-page: https://github.com/PabloIbannez/VLMP
|
|
6
6
|
Author-email: Pablo Ibáñez-Freire <p.ibanez.fre@gmail.com>
|
|
7
7
|
License: GPLv3
|
|
8
8
|
Classifier: Development Status :: 3 - Alpha
|
|
@@ -17,7 +17,7 @@ Description-Content-Type: text/markdown
|
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
Requires-Dist: jsbeautifier
|
|
19
19
|
Requires-Dist: tqdm
|
|
20
|
-
Requires-Dist: pyGrained
|
|
20
|
+
Requires-Dist: pyGrained>=1.0.11
|
|
21
21
|
Requires-Dist: JFIO
|
|
22
22
|
Requires-Dist: pyUAMMD
|
|
23
23
|
Requires-Dist: colorama
|
|
@@ -13,30 +13,32 @@ class AdaptiveCG(modelBase):
|
|
|
13
13
|
"""
|
|
14
14
|
{"author": "Pablo Ibáñez-Freire",
|
|
15
15
|
"description":
|
|
16
|
-
"AdaptiveCG (Adaptive Coarse-Grained) model for protein simulations.
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
"AdaptiveCG (Adaptive Coarse-Grained) model for protein simulations. A chain is
|
|
17
|
+
represented by one bead per `resolution` atoms, and the model is built from two
|
|
18
|
+
independent choices.
|
|
19
19
|
<p>
|
|
20
|
-
|
|
21
|
-
of
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
The mapping places the beads in each chain. kmeans (the default) follows the CG
|
|
21
|
+
mapping of [Monago2025]_ in its sharp limit, where it becomes a mass-weighted k-means:
|
|
22
|
+
the converged bead is the mass centroid of its own Voronoi cell. neuralGas is the
|
|
23
|
+
topology representing network of the shape-based coarse-grained model (SBCG) of
|
|
24
|
+
[Arkhipov2006]_. In both, every atom then belongs to its nearest bead, and a bead sits
|
|
25
|
+
at the centre of mass of its atoms.
|
|
25
26
|
<p>
|
|
26
|
-
|
|
27
|
+
The interactions are chosen apart for the bonds (bondsModel, harmonic, between beads
|
|
28
|
+
of the same chain) and for the native contacts (nativeContactsModel, Morse wells,
|
|
29
|
+
between beads of different chains):
|
|
27
30
|
<p>
|
|
28
|
-
-
|
|
31
|
+
- distance: every pair of beads closer than a cut-off, with a common strength
|
|
29
32
|
<p>
|
|
30
|
-
-
|
|
33
|
+
- alphaCarbonProjection: the pairs of beads joined by at least nMin pairs of alpha
|
|
34
|
+
carbons closer than caCut, with strength K0*(n/n0)^alpha for the bonds and
|
|
35
|
+
E0*(n/n0)^beta for the contacts, n being the number of those alpha carbon pairs
|
|
31
36
|
<p>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<p>
|
|
36
|
-
Bonds are always intra-chain and native contacts always inter-chain. This is not
|
|
37
|
-
configurable: the two are complementary by construction, which is what makes the
|
|
38
|
-
chain interfaces the only part of the force field that carries the assembly energy.
|
|
37
|
+
In both the equilibrium distance is the distance between the beads. Bonds are always
|
|
38
|
+
intra-chain and native contacts always inter-chain, so the chain interfaces are the
|
|
39
|
+
only part of the force field that carries the assembly energy.
|
|
39
40
|
<p>
|
|
41
|
+
The coarse-graining is done once per chain class and spread to the whole assembly.
|
|
40
42
|
This model uses the [pyGrained]_ library to create the AdaptiveCG representation.
|
|
41
43
|
",
|
|
42
44
|
"parameters":{
|
|
@@ -44,14 +46,17 @@ class AdaptiveCG(modelBase):
|
|
|
44
46
|
"type":"str"},
|
|
45
47
|
"resolution":{"description":"Resolution of the coarse-graining, number of atoms per bead. The bead count of a chain is int(N/resolution)+1.",
|
|
46
48
|
"type":"float"},
|
|
47
|
-
"
|
|
49
|
+
"mapping":{"description":"Bead mapping, with name kmeans or neuralGas and, for neuralGas, parameters steps, e0, eS, l0 and lS (defaults 0.3, 0.05, 0.2, 0.01).",
|
|
50
|
+
"type":"dict",
|
|
51
|
+
"default":{"name":"kmeans"}},
|
|
52
|
+
"bondsModel":{"description":"Bonds within chains: distance (parameters enmCut and K; ENM is the former name) or alphaCarbonProjection (parameters caCut, K0, n0, alpha and nMin; defaults n0 1, alpha 1, nMin 1).",
|
|
48
53
|
"type":"dict"},
|
|
49
|
-
"nativeContactsModel":{"description":"
|
|
54
|
+
"nativeContactsModel":{"description":"Morse contacts between chains: distance (parameters ncCut, epsilon, D and eps0; cutOff is the former name) or alphaCarbonProjection (parameters caCut, E0, n0, beta, nMin, D and eps0; defaults n0 1, beta 1, nMin 1, eps0 1).",
|
|
50
55
|
"type":"dict"},
|
|
51
56
|
"minBeads":{"description":"Minimum number of beads per chain.",
|
|
52
57
|
"type":"int",
|
|
53
58
|
"default":1},
|
|
54
|
-
"seed":{"description":"Seed of the
|
|
59
|
+
"seed":{"description":"Seed of the mapping. The mapping is reproducible for a fixed seed.",
|
|
55
60
|
"type":"int",
|
|
56
61
|
"default":0},
|
|
57
62
|
"centerInput":{"description":"If true, centers the input structure.",
|
|
@@ -70,15 +75,17 @@ class AdaptiveCG(modelBase):
|
|
|
70
75
|
\"parameters\":{
|
|
71
76
|
\"PDB\":\"capsid.pdb\",
|
|
72
77
|
\"resolution\":250,
|
|
73
|
-
\"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
+
\"mapping\":{\"name\":\"kmeans\"},
|
|
79
|
+
\"bondsModel\":{\"name\":\"alphaCarbonProjection\",
|
|
80
|
+
\"parameters\":{\"caCut\":10.0,\"K0\":4.0,\"n0\":30,\"alpha\":1.0}},
|
|
81
|
+
\"nativeContactsModel\":{\"name\":\"alphaCarbonProjection\",
|
|
82
|
+
\"parameters\":{\"caCut\":8.0,\"E0\":3.0,\"n0\":10,\"beta\":1.0,
|
|
83
|
+
\"D\":1.0}}
|
|
78
84
|
}
|
|
79
85
|
}
|
|
80
86
|
",
|
|
81
87
|
"references":[
|
|
88
|
+
".. [Arkhipov2006] Arkhipov, A., Freddolino, P. L., & Schulten, K. (2006). Stability and dynamics of virus capsids described by coarse-grained modeling. Structure, 14(12), 1767-1777.",
|
|
82
89
|
".. [Monago2025] Monago, C., de la Torre, J. A., Delgado-Buscalioni, R., & Espanol, P. (2025). Unraveling internal friction in a coarse-grained protein model. The Journal of Chemical Physics, 162(11), 114115.",
|
|
83
90
|
".. [pyGrained] https://github.com/PabloIbannez/pyGrained"
|
|
84
91
|
]
|
|
@@ -88,6 +95,7 @@ class AdaptiveCG(modelBase):
|
|
|
88
95
|
availableParameters = {"PDB",
|
|
89
96
|
"resolution",
|
|
90
97
|
"minBeads","seed",
|
|
98
|
+
"mapping",
|
|
91
99
|
"bondsModel","nativeContactsModel",
|
|
92
100
|
"centerInput",
|
|
93
101
|
"SASA",
|
|
@@ -108,8 +116,8 @@ class AdaptiveCG(modelBase):
|
|
|
108
116
|
###################### Set up model ######################
|
|
109
117
|
############################################################
|
|
110
118
|
|
|
111
|
-
#
|
|
112
|
-
#
|
|
119
|
+
#No PDB ID download is accepted. The model is meant for assemblies large
|
|
120
|
+
#enough that the structure is prepared beforehand.
|
|
113
121
|
|
|
114
122
|
if params["PDB"].split(".")[-1] not in ["pdb","pqr"]:
|
|
115
123
|
raise Exception("PDB parameter must be a path to a .pdb or .pqr file.")
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyVLMP
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.77
|
|
4
4
|
Summary: Virtual Lab Modeling Platform
|
|
5
|
-
Home-page: https://github.com/PabloIbannez/
|
|
5
|
+
Home-page: https://github.com/PabloIbannez/VLMP
|
|
6
6
|
Author-email: Pablo Ibáñez-Freire <p.ibanez.fre@gmail.com>
|
|
7
7
|
License: GPLv3
|
|
8
8
|
Classifier: Development Status :: 3 - Alpha
|
|
@@ -17,7 +17,7 @@ Description-Content-Type: text/markdown
|
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
Requires-Dist: jsbeautifier
|
|
19
19
|
Requires-Dist: tqdm
|
|
20
|
-
Requires-Dist: pyGrained
|
|
20
|
+
Requires-Dist: pyGrained>=1.0.11
|
|
21
21
|
Requires-Dist: JFIO
|
|
22
22
|
Requires-Dist: pyUAMMD
|
|
23
23
|
Requires-Dist: colorama
|
|
@@ -64,7 +64,6 @@ VLMP/components/models/MAGNETICNP.py
|
|
|
64
64
|
VLMP/components/models/MEMBRANE.py
|
|
65
65
|
VLMP/components/models/PARTICLE.py
|
|
66
66
|
VLMP/components/models/PROTEIN_IDP_PROTEIN.py
|
|
67
|
-
VLMP/components/models/SBCG.py
|
|
68
67
|
VLMP/components/models/SIMULATION.py
|
|
69
68
|
VLMP/components/models/SOP.py
|
|
70
69
|
VLMP/components/models/SPHEREMULTIBLOB.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name="pyVLMP"
|
|
3
|
-
version="1.0.
|
|
3
|
+
version="1.0.77"
|
|
4
4
|
authors = [
|
|
5
5
|
{name = "Pablo Ibáñez-Freire", email = "p.ibanez.fre@gmail.com"},
|
|
6
6
|
]
|
|
@@ -18,7 +18,7 @@ classifiers = [
|
|
|
18
18
|
"Programming Language :: Python :: 3.9",
|
|
19
19
|
]
|
|
20
20
|
dependencies = [
|
|
21
|
-
"jsbeautifier","tqdm","pyGrained","JFIO","pyUAMMD","colorama"
|
|
21
|
+
"jsbeautifier","tqdm","pyGrained>=1.0.11","JFIO","pyUAMMD","colorama"
|
|
22
22
|
]
|
|
23
23
|
|
|
24
24
|
[options]
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import sys, os
|
|
2
|
-
|
|
3
|
-
import copy
|
|
4
|
-
|
|
5
|
-
import logging
|
|
6
|
-
|
|
7
|
-
from ... import DEBUG_MODE
|
|
8
|
-
from . import modelBase
|
|
9
|
-
|
|
10
|
-
import pyGrained.models.SBCG as proteinModel
|
|
11
|
-
|
|
12
|
-
class SBCG(modelBase):
|
|
13
|
-
"""
|
|
14
|
-
{"author": "Pablo Ibáñez-Freire",
|
|
15
|
-
"description":
|
|
16
|
-
"SBCG (Shape-Based Coarse-Grained) model for protein simulations. This model implements a
|
|
17
|
-
coarse-grained representation of proteins that maintains the overall shape and essential
|
|
18
|
-
features while reducing computational complexity.
|
|
19
|
-
<p>
|
|
20
|
-
The SBCG approach represents proteins using a reduced number of beads, typically one bead
|
|
21
|
-
for hundreds of atoms, capturing the protein.
|
|
22
|
-
This reduction in degrees of freedom allows for simulations of larger systems and longer
|
|
23
|
-
timescales compared to all-atom models.
|
|
24
|
-
<p>
|
|
25
|
-
Key features of the SBCG model include:
|
|
26
|
-
<p>
|
|
27
|
-
- Shape-preserving coarse-graining based on the input protein structure
|
|
28
|
-
<p>
|
|
29
|
-
- Flexible parameterization of the coarse-graining process
|
|
30
|
-
<p>
|
|
31
|
-
- Automatic generation of bonded and non-bonded interactions
|
|
32
|
-
<p>
|
|
33
|
-
- Support for multi-chain proteins and protein complexes
|
|
34
|
-
<p>
|
|
35
|
-
The model takes a PDB file as input and generates the coarse-grained representation based
|
|
36
|
-
on the specified parameters. It can handle various levels of coarse-graining and allows
|
|
37
|
-
for customization of the interaction potentials.
|
|
38
|
-
<p>
|
|
39
|
-
This model uses the [pyGrained]_ library to create the SBCG representation.
|
|
40
|
-
",
|
|
41
|
-
"parameters":{
|
|
42
|
-
"PDB":{"description":"Path to the input PDB file or a valid PDB ID for download.",
|
|
43
|
-
"type":"str"},
|
|
44
|
-
"resolution":{"description":"Resolution of the coarse-graining, number of atoms per bead.",
|
|
45
|
-
"type":"float"},
|
|
46
|
-
"steps":{"description":"Number of steps in the coarse-graining refinement process.",
|
|
47
|
-
"type":"int"},
|
|
48
|
-
"bondsModel":{"description":"Model used for bonded interactions.(ENM or count)",
|
|
49
|
-
"type":"str"},
|
|
50
|
-
"nativeContactsModel":{"description":"Model used for native contact interactions (CA).",
|
|
51
|
-
"type":"str"},
|
|
52
|
-
"centerInput":{"description":"If true, centers the input structure.",
|
|
53
|
-
"type":"bool",
|
|
54
|
-
"default":true},
|
|
55
|
-
"SASA":{"description":"If true, calculates the Solvent Accessible Surface Area.",
|
|
56
|
-
"type":"bool",
|
|
57
|
-
"default":false},
|
|
58
|
-
"aggregateChains":{"description":"If true, treats multiple chains as a single entity.",
|
|
59
|
-
"type":"bool",
|
|
60
|
-
"default":true}
|
|
61
|
-
},
|
|
62
|
-
"example":"
|
|
63
|
-
{
|
|
64
|
-
\"type\":\"SBCG\",
|
|
65
|
-
\"parameters\":{
|
|
66
|
-
\"PDB\":\"1ABC\",
|
|
67
|
-
\"resolution\":200,
|
|
68
|
-
\"steps\":1000,
|
|
69
|
-
\"bondsModel\":\"ENM\",
|
|
70
|
-
\"nativeContactsModel\":\"CA\",
|
|
71
|
-
\"SASA\":true
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
",
|
|
75
|
-
"references":[
|
|
76
|
-
".. [Arkhipov2006] Arkhipov, A., Freddolino, P. L., & Schulten, K. (2006). Stability and dynamics of virus capsids described by coarse-grained modeling. Structure, 14(12), 1767-1777.",
|
|
77
|
-
".. [pyGrained] https://github.com/PabloIbannez/pyGrained"
|
|
78
|
-
]
|
|
79
|
-
}
|
|
80
|
-
"""
|
|
81
|
-
|
|
82
|
-
availableParameters = {"PDB",
|
|
83
|
-
"resolution","steps",
|
|
84
|
-
"bondsModel","nativeContactsModel",
|
|
85
|
-
"centerInput",
|
|
86
|
-
"SASA",
|
|
87
|
-
"aggregateChains",
|
|
88
|
-
"additionalExclusions"}
|
|
89
|
-
requiredParameters = {"PDB","resolution","steps","bondsModel","nativeContactsModel"}
|
|
90
|
-
definedSelections = set()
|
|
91
|
-
|
|
92
|
-
def __init__(self,name,**params):
|
|
93
|
-
super().__init__(_type = self.__class__.__name__,
|
|
94
|
-
_name= name,
|
|
95
|
-
availableParameters = self.availableParameters,
|
|
96
|
-
requiredParameters = self.requiredParameters,
|
|
97
|
-
definedSelections = self.definedSelections,
|
|
98
|
-
**params)
|
|
99
|
-
|
|
100
|
-
############################################################
|
|
101
|
-
###################### Set up model ######################
|
|
102
|
-
############################################################
|
|
103
|
-
|
|
104
|
-
#Check if PDB is a file or a PDB ID.
|
|
105
|
-
#PDB is considered a file if it has a .pdb or .pqr extension.
|
|
106
|
-
#If it is a file, it is loaded as a PDB file.
|
|
107
|
-
#If it is a PDB ID, PDB file is downloaded from the RCSB PDB database.
|
|
108
|
-
|
|
109
|
-
if params["PDB"].split(".")[-1] in ["pdb","pqr"]:
|
|
110
|
-
inputPDBfilePath = params["PDB"]
|
|
111
|
-
else:
|
|
112
|
-
raise NotImplementedError("PDB ID download not implemented yet.")
|
|
113
|
-
|
|
114
|
-
sbcgParams = {"SASA":params.get("SASA",True),
|
|
115
|
-
"centerInput":params.get("centerInput",True),
|
|
116
|
-
"aggregateChains":params.get("aggregateChains",True),
|
|
117
|
-
"parameters": copy.deepcopy(params),
|
|
118
|
-
"additionalExclusions": params.get("additionalExclusions",False)}
|
|
119
|
-
|
|
120
|
-
sbcg = proteinModel.SBCG(name = name,
|
|
121
|
-
inputPDBfilePath = inputPDBfilePath,
|
|
122
|
-
params = sbcgParams,
|
|
123
|
-
debug = DEBUG_MODE)
|
|
124
|
-
|
|
125
|
-
########################################################
|
|
126
|
-
|
|
127
|
-
types = self.getTypes()
|
|
128
|
-
modelTypes = sbcg.getTypes()
|
|
129
|
-
|
|
130
|
-
for _,t in modelTypes.items():
|
|
131
|
-
types.addType(**t)
|
|
132
|
-
|
|
133
|
-
self.setState(sbcg.getState())
|
|
134
|
-
self.setStructure(sbcg.getStructure())
|
|
135
|
-
self.setForceField(sbcg.getForceField())
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
def processSelection(self,selectionType,selectionOptions):
|
|
139
|
-
return None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/integrators/EulerMaruyamaRigidBodyPatchesState.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constantForceBetweenCentersOfMass.py
RENAMED
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constantForceOverCenterOfMass.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constantTorqueOverCenterOfMass.py
RENAMED
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constraintCenterOfMassPosition.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constraintParticlesPosition.py
RENAMED
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/constraintParticlesPositionLambda.py
RENAMED
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelExtensions/harmonicBondBetweenCentersOfMass.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelOperations/alignInertiaMomentAlongVector.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/modelOperations/setParticleLowestPosition.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/forceBetweenSetsMeasurement.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/meanMagnetizationMeasurement.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/nativeContactsMeasurement.py
RENAMED
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/oscillatoryForceMeasurment.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyvlmp-1.0.76 → pyvlmp-1.0.77}/VLMP/components/simulationSteps/potentialEnergyMeasurement.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|