Skip to content

Commit

Permalink
Update Python wf
Browse files Browse the repository at this point in the history
  • Loading branch information
gbayarri committed Jan 14, 2025
1 parent 34fd61c commit a13f645
Show file tree
Hide file tree
Showing 46 changed files with 188,327 additions and 2 deletions.
3 changes: 1 addition & 2 deletions biobb_wf_md_setup/python/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
def main(config, system=None):
start_time = time.time()
conf = settings.ConfReader(config, system)
print(conf.properties)
global_log, _ = fu.get_logs(path=conf.get_working_dir_path(), light_format=True)
global_prop = conf.get_prop_dic(global_log=global_log)
global_paths = conf.get_paths_dic()
Expand Down Expand Up @@ -105,7 +104,7 @@ def main(config, system=None):
global_log.info("step23_rmsd_exp: Generate RMSd (against exp.) plot for the resulting setup trajectory from the free md step")
gmx_rms(**global_paths["step23_rmsd_exp"], properties=global_prop["step23_rmsd_exp"])

if conf.properties['run_md']:
if conf.properties['global_properties']['run_md']:
global_log.info("step24_grompp_md: Preprocess long MD simulation after setup")
grompp(**global_paths["step24_grompp_md"], properties=global_prop["step24_grompp_md"])

Expand Down
1 change: 1 addition & 0 deletions biobb_wf_md_setup/tests/python/ions.pdb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TER
1,003 changes: 1,003 additions & 0 deletions biobb_wf_md_setup/tests/python/reference/step00_cat_pdb/protein.ions.pdb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

7,484 changes: 7,484 additions & 0 deletions biobb_wf_md_setup/tests/python/reference/step100_make_ndx/str_index.ndx

Large diffs are not rendered by default.

Binary file not shown.
21,734 changes: 21,734 additions & 0 deletions biobb_wf_md_setup/tests/python/reference/step10_mdrun_min/min.gro

Large diffs are not rendered by default.

13,678 changes: 13,678 additions & 0 deletions biobb_wf_md_setup/tests/python/reference/step10_mdrun_min/min.log

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
21,734 changes: 21,734 additions & 0 deletions biobb_wf_md_setup/tests/python/reference/step12_mdrun_nvt/nvt.gro

Large diffs are not rendered by default.

1,855 changes: 1,855 additions & 0 deletions biobb_wf_md_setup/tests/python/reference/step12_mdrun_nvt/nvt.log

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
21,734 changes: 21,734 additions & 0 deletions biobb_wf_md_setup/tests/python/reference/step14_mdrun_npt/npt.gro

Large diffs are not rendered by default.

1,852 changes: 1,852 additions & 0 deletions biobb_wf_md_setup/tests/python/reference/step14_mdrun_npt/npt.log

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
21,734 changes: 21,734 additions & 0 deletions biobb_wf_md_setup/tests/python/reference/step16_mdrun_md/md.gro

Large diffs are not rendered by default.

1,204 changes: 1,204 additions & 0 deletions biobb_wf_md_setup/tests/python/reference/step16_mdrun_md/md.log

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
21,738 changes: 21,738 additions & 0 deletions biobb_wf_md_setup/tests/python/reference/step19_gmx_trjconv_str/setup.top.pdb

Large diffs are not rendered by default.

1,003 changes: 1,003 additions & 0 deletions biobb_wf_md_setup/tests/python/reference/step1_extract_molecule/protein.pdb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# This file was created Tue Jan 14 16:44:25 2025
# Created by:
# :-) GROMACS - gmx energy, 2022.2-conda_forge (-:
#
# Executable: /home/gbayarri/anaconda3/envs/biobb_wf_md_setup/bin.AVX2_256/gmx
# Data prefix: /home/gbayarri/anaconda3/envs/biobb_wf_md_setup
# Working dir: /home/gbayarri/projects/BioBB/biobb_workflows/biobb_wf_md_setup/python
# Command line:
# gmx energy -f /home/gbayarri/projects/BioBB/biobb_workflows/biobb_wf_md_setup/python/sandbox_3679c174-b9b9-4d62-8e30-0d8cd5cafd6a/md.edr -o /home/gbayarri/projects/BioBB/biobb_workflows/biobb_wf_md_setup/python/sandbox_3679c174-b9b9-4d62-8e30-0d8cd5cafd6a/setup.energy.xvg -xvg xmgr
# gmx energy is part of G R O M A C S:
#
# Getting the Right Output Means no Artefacts in Calculating Stuff
#
@ title "GROMACS Energies"
@ xaxis label "Time (ps)"
@ yaxis label "(kJ/mol)"
@TYPE nxy
@ view 0.15, 0.15, 0.75, 0.85
@ legend on
@ legend box on
@ legend loctype view
@ legend 0.78, 0.8
@ legend length 2
@ legend string 0 "Potential"
@ legend string 1 "Total Energy"
0.000000 -292210.062500 -235844.781250
10.000000 -291451.468750 -235346.343750
20.000000 -291025.781250 -235750.500000
30.000000 -292012.500000 -236335.781250
40.000000 -290595.062500 -234850.906250
50.000000 -291573.312500 -235409.250000
60.000000 -290433.593750 -235400.453125
70.000000 -291172.093750 -235344.453125
80.000000 -291492.781250 -236259.281250
90.000000 -291700.562500 -236664.843750
100.000000 -292325.125000 -236887.765625
110.000000 -291082.531250 -236386.968750
120.000000 -291613.000000 -235899.031250
130.000000 -291393.406250 -235632.171875
140.000000 -291319.937500 -235543.453125
150.000000 -291257.437500 -235851.062500
160.000000 -291957.093750 -236218.593750
170.000000 -291397.062500 -235483.437500
180.000000 -291459.218750 -235637.468750
190.000000 -290807.250000 -235038.062500
200.000000 -291830.781250 -236271.437500
210.000000 -291671.250000 -236155.968750
220.000000 -289435.562500 -233698.468750
230.000000 -291168.531250 -235559.750000
240.000000 -290914.500000 -234969.171875
250.000000 -291656.937500 -236652.687500
260.000000 -291513.937500 -235778.187500
270.000000 -291776.968750 -235460.156250
280.000000 -291237.000000 -235078.000000
290.000000 -290700.437500 -235002.687500
300.000000 -291703.687500 -235765.968750
310.000000 -290186.062500 -234362.968750
320.000000 -291249.781250 -235675.265625
330.000000 -291610.343750 -236634.343750
340.000000 -290374.250000 -234120.093750
350.000000 -290915.531250 -235953.468750
360.000000 -291272.500000 -235968.156250
370.000000 -290394.968750 -234488.437500
380.000000 -291291.531250 -235244.656250
390.000000 -290523.343750 -234479.046875
400.000000 -291765.718750 -236858.812500
410.000000 -289544.156250 -233676.890625
420.000000 -291554.718750 -235383.281250
430.000000 -291273.812500 -235770.687500
440.000000 -292071.781250 -236715.562500
450.000000 -291228.656250 -235528.078125
460.000000 -292297.250000 -237265.000000
470.000000 -291499.593750 -235934.859375
480.000000 -291448.093750 -236087.718750
490.000000 -291825.593750 -236198.062500
500.000000 -290777.125000 -235247.375000
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# This file was created Tue Jan 14 16:44:25 2025
# Created by:
# :-) GROMACS - gmx gyrate, 2022.2-conda_forge (-:
#
# Executable: /home/gbayarri/anaconda3/envs/biobb_wf_md_setup/bin.AVX2_256/gmx
# Data prefix: /home/gbayarri/anaconda3/envs/biobb_wf_md_setup
# Working dir: /home/gbayarri/projects/BioBB/biobb_workflows/biobb_wf_md_setup/python
# Command line:
# gmx gyrate -s /home/gbayarri/projects/BioBB/biobb_workflows/biobb_wf_md_setup/python/sandbox_297a0ad1-22af-4ca1-9ace-bb529959e859/gppmd.tpr -f /home/gbayarri/projects/BioBB/biobb_workflows/biobb_wf_md_setup/python/sandbox_297a0ad1-22af-4ca1-9ace-bb529959e859/md.imaged.rot.xtc -o /home/gbayarri/projects/BioBB/biobb_workflows/biobb_wf_md_setup/python/sandbox_297a0ad1-22af-4ca1-9ace-bb529959e859/setup.rgyr.xvg -xvg xmgr -n /home/gbayarri/projects/BioBB/biobb_workflows/biobb_wf_md_setup/python/sandbox_297a0ad1-22af-4ca1-9ace-bb529959e859/str_index.ndx
# gmx gyrate is part of G R O M A C S:
#
# Getting the Right Output Means no Artefacts in Calculating Stuff
#
@ title "Radius of gyration (total and around axes)"
@ xaxis label "Time (ps)"
@ yaxis label "Rg (nm)"
@TYPE nxy
@ view 0.15, 0.15, 0.75, 0.85
@ legend on
@ legend box on
@ legend loctype view
@ legend 0.78, 0.8
@ legend length 2
@ legend string 0 "Rg"
@ legend string 1 "Rg\sX\N"
@ legend string 2 "Rg\sY\N"
@ legend string 3 "Rg\sZ\N"
0 1.40465 1.20274 1.02643 1.20248
10 1.4098 1.2079 1.0279 1.20808
20 1.41866 1.21242 1.03264 1.2202
30 1.4168 1.20807 1.03671 1.21674
40 1.417 1.21723 1.02792 1.21553
50 1.41266 1.20005 1.03165 1.21934
60 1.42033 1.21531 1.03746 1.21712
70 1.41482 1.20894 1.03366 1.21386
80 1.42078 1.22139 1.02458 1.22298
90 1.41223 1.20577 1.03634 1.20869
100 1.41216 1.20504 1.03641 1.20919
110 1.41752 1.21468 1.02918 1.21824
120 1.4151 1.21269 1.03136 1.21272
130 1.39941 1.19756 1.0185 1.20216
140 1.41358 1.20879 1.02736 1.21645
150 1.40163 1.19489 1.02512 1.20437
160 1.40238 1.19545 1.02303 1.20734
170 1.40656 1.20172 1.0266 1.20781
180 1.43154 1.23466 1.03312 1.22755
190 1.42478 1.22528 1.03416 1.22032
200 1.41566 1.2119 1.03121 1.21495
210 1.41373 1.2098 1.03013 1.21347
220 1.42331 1.22384 1.03205 1.22012
230 1.4186 1.21559 1.03176 1.21765
240 1.41469 1.2096 1.03028 1.21577
250 1.41108 1.20692 1.02002 1.21869
260 1.41502 1.21312 1.02588 1.21676
270 1.41001 1.20476 1.02574 1.21353
280 1.41902 1.21411 1.03528 1.21713
290 1.40336 1.19751 1.02419 1.20658
300 1.41515 1.2122 1.02978 1.21467
310 1.41711 1.20815 1.02554 1.22679
320 1.42457 1.21704 1.04173 1.22164
330 1.42588 1.22543 1.03906 1.21859
340 1.42621 1.21951 1.03985 1.22461
350 1.42512 1.22415 1.03448 1.22199
360 1.43273 1.22513 1.03992 1.23412
370 1.43008 1.22385 1.03939 1.22966
380 1.41821 1.21246 1.02843 1.22267
390 1.42391 1.21142 1.03887 1.22809
400 1.4147 1.21088 1.02553 1.21853
410 1.41732 1.20581 1.03113 1.22491
420 1.41314 1.2034 1.02905 1.21935
430 1.42038 1.21919 1.02598 1.22307
440 1.41164 1.20661 1.03089 1.21111
450 1.42171 1.21644 1.03692 1.21968
460 1.41627 1.21279 1.02711 1.21895
470 1.42507 1.22299 1.0262 1.22998
480 1.42094 1.21718 1.02768 1.22494
490 1.42586 1.21785 1.0355 1.2291
500 1.4108 1.20432 1.02543 1.21608
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
0.0000000 0.0004983
10.0000000 0.0882976
20.0000000 0.1009137
30.0000000 0.1042208
40.0000000 0.0990004
50.0000000 0.1157570
60.0000000 0.1026079
70.0000000 0.0984185
80.0000000 0.1046421
90.0000000 0.1120810
100.0000000 0.1109380
110.0000000 0.1024542
120.0000000 0.1120389
130.0000000 0.1258988
140.0000000 0.1166675
150.0000000 0.1188417
160.0000000 0.1176418
170.0000000 0.1199123
180.0000000 0.1150633
190.0000000 0.1142853
200.0000000 0.1098681
210.0000000 0.1051684
220.0000000 0.1097609
230.0000000 0.1104533
240.0000000 0.1134407
250.0000000 0.1240702
260.0000000 0.1114514
270.0000000 0.1121840
280.0000000 0.1081034
290.0000000 0.1147312
300.0000000 0.1085151
310.0000000 0.1166231
320.0000000 0.1083383
330.0000000 0.1183344
340.0000000 0.1214116
350.0000000 0.1097584
360.0000000 0.1263362
370.0000000 0.1177408
380.0000000 0.1236903
390.0000000 0.1210635
400.0000000 0.1244315
410.0000000 0.1206656
420.0000000 0.1095138
430.0000000 0.1112008
440.0000000 0.1126739
450.0000000 0.1147963
460.0000000 0.1179199
470.0000000 0.1313033
480.0000000 0.1193580
490.0000000 0.1342734
500.0000000 0.1199950
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
0.0000000 0.0428278
10.0000000 0.0943547
20.0000000 0.1043761
30.0000000 0.1087452
40.0000000 0.1010803
50.0000000 0.1196981
60.0000000 0.1052756
70.0000000 0.1007559
80.0000000 0.1070204
90.0000000 0.1142137
100.0000000 0.1119740
110.0000000 0.1024525
120.0000000 0.1118176
130.0000000 0.1281846
140.0000000 0.1181788
150.0000000 0.1222831
160.0000000 0.1199770
170.0000000 0.1237564
180.0000000 0.1171505
190.0000000 0.1151326
200.0000000 0.1088742
210.0000000 0.1045081
220.0000000 0.1085259
230.0000000 0.1098917
240.0000000 0.1126470
250.0000000 0.1222617
260.0000000 0.1083908
270.0000000 0.1126521
280.0000000 0.1086005
290.0000000 0.1172039
300.0000000 0.1071002
310.0000000 0.1146606
320.0000000 0.1052762
330.0000000 0.1166871
340.0000000 0.1185504
350.0000000 0.1095545
360.0000000 0.1284285
370.0000000 0.1204959
380.0000000 0.1257453
390.0000000 0.1232615
400.0000000 0.1271250
410.0000000 0.1233761
420.0000000 0.1079968
430.0000000 0.1114356
440.0000000 0.1130703
450.0000000 0.1159657
460.0000000 0.1208043
470.0000000 0.1335848
480.0000000 0.1228710
490.0000000 0.1383823
500.0000000 0.1249608
Loading

0 comments on commit a13f645

Please sign in to comment.