-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
35 lines (29 loc) · 1.02 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import ipsuite as ips
project = ips.Project()
with project:
water = ips.AddDataH5MD(file="data/water.h5", name="water")
bmim_bf4 = ips.AddData(file="data/BMIM_BF4_363_15K.extxyz", name="BMIM_BF4_363_15K")
with project.group("gromacs"):
system = ips.Smiles2Gromacs(
smiles=["CCCCN1C=C[N+](=C1)C", "CC(=O)[O-]"],
density=0.9,
count=[16, 16],
labels=["Imx", "BFx"],
config_files=["config/gromacs/gmx_em.yaml"],
mdp_files=["config/gromacs/gmx_md.mdp"],
fudgeLJ=1.0,
fudgeQQ=1.0,
)
with project.group("pack"):
etoh = ips.Smiles2Conformers(smiles="CCO", numConfs=10)
box = ips.MultiPackmol(
data=[etoh.frames], count=[16], density=800, n_configurations=10
)
with project.group("orca"):
etoh = ips.Smiles2Conformers(smiles="C1=CC2=C(C=C1O)C(=CN2)CCN", numConfs=10)
orca = ips.OrcaSinglePoint(
data=etoh.frames,
orcasimpleinput="PBE def2-TZVP TightSCF EnGrad",
orcablocks="%pal nprocs 8 end",
)
project.build()