Skip to content

Commit 6626371

Browse files
author
Andre Lanrezac
committed
feat(example): Add Maltoporin example
1 parent 80a298b commit 6626371

File tree

11 files changed

+20785
-0
lines changed

11 files changed

+20785
-0
lines changed

example/IMPALA/Brasseur/Maltoporin/1AF6.pdb

Lines changed: 10530 additions & 0 deletions
Large diffs are not rendered by default.

example/IMPALA/Brasseur/Maltoporin/1AF6_in_membrane.pdb

Lines changed: 10054 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
BASE_MK := $(shell echo $(PWD) | sed -E 's|(.*example).*|\1/base.mk|')
2+
3+
# Inclure base.mk si trouvé
4+
ifneq ($(wildcard $(BASE_MK)),)
5+
include $(BASE_MK)
6+
# $(info Included: $(BASE_MK))
7+
endif
8+
9+
# RAW PDB INPUT
10+
RAW_PDB = ../1AF6_in_membrane.pdb
11+
12+
# PDB2SPN INPUTS
13+
FF = $(BS_DATA_DIR)/forcefield/amber.ff
14+
GRP = $(BS_DATA_DIR)/reducerules/amber.grp
15+
CUTOFF = 5.0
16+
STIFFNESS = 30.0
17+
18+
# Prepare the input files for the simulation
19+
prep : pdb2spn
20+
21+
# ------------------------------------------------------------------------------
22+
# Usage: run the command make usage
23+
# ------------------------------------------------------------------------------
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Changes in the "BioSpring" branch of UnityMolX:
2+
# - LoadNCFromPath is a new function
3+
# - The UMol working directory is set to the directory of this history file (PythonConsole2.cs > ExecuteScript)
4+
LoadNCFromPath(filePath="model.nc")
5+
clearSelections()
6+
7+
setStructurePositionRotation("model", Vector3(0.0000, 0.0000, 0.0000), Vector3(0.0000, 0.0000, 0.0000))
8+
#Save parent position
9+
setMolParentTransform( Vector3(0.1525, -0.0934, 0.1519), Vector3(0.0145, 0.0145, 0.0145), Vector3(282.9991, 180.0000, 206.8996), Vector3(0.1350, -0.1200, 0.1528) )
10+
11+
ShowMeshMembrane()
12+
UpdateMeshMembraneSize(100)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#--- GeneralSimulation ---
2+
simulation.timestep = 1
3+
simulation.samplerate = 100
4+
#simulation.nbsteps = 10000
5+
6+
#--- GeneralSimulation:Trajectory ---
7+
csvsampling.enable = 0
8+
csvsampling.path = csv_results/ims_out.csv
9+
csvsampling.frequency = 10000
10+
11+
#--- SpringNetwork ---
12+
spring.enable = 0
13+
14+
viscosity.enable = 1
15+
viscosity.value = 0.001
16+
17+
#--- FF:IMPALA ---
18+
impala.enable = 1
19+
impala.scale = 1.0
20+
21+
#--- InsertionVector ---
22+
insertionvector.enable = 1
23+
# THR-40-CA GLN-48-CA, check PDB file & biospring output to verify
24+
insertionvector.vector = 298 360
25+
26+
#--- Rigid body ---
27+
rigidbody.enable = 1
28+
rigidbody.enablesampling = 0
29+
rigidbody.enablemontecarlo = 0
30+
rigidbody.montecarlo_translation_norm = 0.01
31+
rigidbody.montecarlo_rotation_norm = 0.01
32+
rigidbody.montecarlo_temperature = 298.1
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
BASE_MK := $(shell echo $(PWD) | sed -E 's|(.*example).*|\1/base.mk|')
2+
3+
# Inclure base.mk si trouvé
4+
ifneq ($(wildcard $(BASE_MK)),)
5+
include $(BASE_MK)
6+
# $(info Included: $(BASE_MK))
7+
endif
8+
9+
# RAW PDB INPUT
10+
RAW_PDB = ../1AF6_in_membrane.pdb
11+
12+
# PDB2SPN INPUTS
13+
FF = $(BS_DATA_DIR)/forcefield/CAallresBaaden.ff
14+
GRP = $(BS_DATA_DIR)/reducerules/CAallresBaaden.grp
15+
CUTOFF = 9.0
16+
STIFFNESS = 30.0
17+
18+
# Prepare the input files for the simulation
19+
prep : pdb2spn
20+
21+
# ------------------------------------------------------------------------------
22+
# Usage: run the command make usage
23+
# ------------------------------------------------------------------------------
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Changes in the "BioSpring" branch of UnityMolX:
2+
# - LoadNCFromPath is a new function
3+
# - The UMol working directory is set to the directory of this history file (PythonConsole2.cs > ExecuteScript)
4+
LoadNCFromPath(filePath="model.nc")
5+
clearSelections()
6+
7+
setStructurePositionRotation("model", Vector3(0.0000, 0.0000, 0.0000), Vector3(0.0000, 0.0000, 0.0000))
8+
#Save parent position
9+
setMolParentTransform( Vector3(0.1525, -0.0934, 0.1519), Vector3(0.0145, 0.0145, 0.0145), Vector3(282.9991, 180.0000, 206.8996), Vector3(0.1350, -0.1200, 0.1528) )
10+
11+
ShowMeshMembrane()
12+
UpdateMeshMembraneSize(100)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#--- GeneralSimulation ---
2+
simulation.timestep = 1
3+
simulation.samplerate = 100
4+
#simulation.nbsteps = 10000
5+
6+
#--- GeneralSimulation:Trajectory ---
7+
csvsampling.enable = 0
8+
csvsampling.path = csv_results/ims_out.csv
9+
csvsampling.frequency = 10000
10+
11+
#--- SpringNetwork ---
12+
spring.enable = 0
13+
14+
viscosity.enable = 1
15+
viscosity.value = 0.001
16+
17+
#--- FF:IMPALA ---
18+
impala.enable = 1
19+
impala.scale = 1.0
20+
21+
#--- InsertionVector ---
22+
insertionvector.enable = 1
23+
# THR-40-CA GLN-48-CA, check PDB file & biospring output to verify
24+
insertionvector.vector = 298 360
25+
26+
#--- Rigid body ---
27+
rigidbody.enable = 1
28+
rigidbody.enablesampling = 0
29+
rigidbody.enablemontecarlo = 0
30+
rigidbody.montecarlo_translation_norm = 0.01
31+
rigidbody.montecarlo_rotation_norm = 0.01
32+
rigidbody.montecarlo_temperature = 298.1
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
BASE_MK := $(shell echo $(PWD) | sed -E 's|(.*example).*|\1/base.mk|')
2+
3+
# Inclure base.mk si trouvé
4+
ifneq ($(wildcard $(BASE_MK)),)
5+
include $(BASE_MK)
6+
# $(info Included: $(BASE_MK))
7+
endif
8+
9+
# RAW PDB INPUT
10+
RAW_PDB = ../1AF6_in_membrane.pdb
11+
12+
# PDB2SPN INPUTS
13+
FF = $(BS_DATA_DIR)/martini/forcefield/martini_octanol.ff
14+
GRP = $(BS_DATA_DIR)/martini/reducerules/martini.grp
15+
CUTOFF = 5.0
16+
STIFFNESS = 30.0
17+
18+
# Prepare the input files for the simulation
19+
prep : martinize pause pdb2spn
20+
21+
# ------------------------------------------------------------------------------
22+
# Usage: run the command make usage
23+
# ------------------------------------------------------------------------------
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Changes in the "BioSpring" branch of UnityMolX:
2+
# - LoadNCFromPath is a new function
3+
# - The UMol working directory is set to the directory of this history file (PythonConsole2.cs > ExecuteScript)
4+
LoadNCFromPath(filePath="model.nc")
5+
clearSelections()
6+
7+
setStructurePositionRotation("model", Vector3(0.0000, 0.0000, 0.0000), Vector3(0.0000, 0.0000, 0.0000))
8+
#Save parent position
9+
setMolParentTransform( Vector3(0.1525, -0.0934, 0.1519), Vector3(0.0145, 0.0145, 0.0145), Vector3(282.9991, 180.0000, 206.8996), Vector3(0.1350, -0.1200, 0.1528) )
10+
11+
ShowMeshMembrane()
12+
UpdateMeshMembraneSize(100)

0 commit comments

Comments
 (0)