annotate template.j2 @ 2:bd6ee225b770 draft default tip

Uploaded
author fmercuri
date Wed, 23 Jun 2021 21:28:40 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
1 # Template for packmol in Galaxy
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
2 #
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
3
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
4 tolerance {{ allparams.tolerance }}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
5 nloop {{ allparams.nloop }}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
6 maxit {{ allparams.maxit }}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
7 seed {{ allparams.seed }}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
8 filetype pdb
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
9 output {{outfile}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
10
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
11 {% for struct in packmol_inputs %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
12 structure {{struct.file}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
13 # Galaxy datasetname - {{struct.datasetname}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
14 number {{struct.structureparams.number}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
15 radius {{struct.structureparams.radius}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
16 resnumbers {{struct.structureparams.resnumbers}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
17 {% for c in struct.structureparams.constraints_repeat %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
18 {% if c.constraints.constraint == 'fixed' %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
19 {% if c.constraints.center == 'Yes' %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
20 center
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
21 {% endif %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
22 {{c.constraints.constraint}} {{c.constraints.x}} {{c.constraints.y}} {{c.constraints.z}} {{c.constraints.a}} {{c.constraints.b}} {{c.constraints.g}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
23 {% elif c.constraints.constraint == 'cube' %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
24 {{c.constraints.placement}} {{c.constraints.constraint}} {{c.constraints.xmin}} {{c.constraints.ymin}} {{c.constraints.zmin}} {{c.constraints.d}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
25 {% elif c.constraints.constraint == 'box' %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
26 {{c.constraints.placement}} {{c.constraints.constraint}} {{c.constraints.xmin}} {{c.constraints.ymin}} {{c.constraints.zmin}} {{c.constraints.xmax}} {{c.constraints.ymax}} {{c.constraints.zmax}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
27 {% elif c.constraints.constraint == 'sphere' %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
28 {{c.constraints.placement}} {{c.constraints.constraint}} {{c.constraints.a}} {{c.constraints.b}} {{c.constraints.c}} {{c.constraints.d}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
29 {% elif c.constraints.constraint == 'ellipsoid' %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
30 {{c.constraints.placement}} {{c.constraints.constraint}} {{c.constraints.a1}} {{c.constraints.b1}} {{c.constraints.c1}} {{c.constraints.a2}} {{c.constraints.b2}} {{c.constraints.c2}} {{c.constraints.d}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
31 {% elif c.constraints.constraint == 'plane' %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
32 {{c.constraints.placement}} {{c.constraints.constraint}} {{c.constraints.a}} {{c.constraints.b}} {{c.constraints.c}} {{c.constraints.d}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
33 {% elif c.constraints.constraint == 'cylinder' %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
34 {{c.constraints.placement}} {{c.constraints.constraint}} {{c.constraints.a1}} {{c.constraints.b1}} {{c.constraints.c1}} {{c.constraints.a2}} {{c.constraints.b2}} {{c.constraints.c2}} {{c.constraints.d}} {{c.constraints.l}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
35 {% else %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
36 unknowntype specified {{c.constraints}}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
37 {% endif %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
38 {% endfor %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
39 end structure
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
40
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
41 {% endfor %}
bd6ee225b770 Uploaded
fmercuri
parents:
diff changeset
42