Using non-standard parameter files: Difference between revisions
No edit summary |
(Add to Examples category) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
To use non-standard parameter files (restyp.lib, par.lib, top.lib) with the | <!-- ## page was renamed from Using_non-standard_parameter_files --> | ||
To use non-standard parameter files (restyp.lib, par.lib, top.lib) with the AutoModel class in Modeller 10.0: | |||
* You can specify a non-standard restyp.lib file when creating the | * You can specify a non-standard restyp.lib file when creating the Environ object. See the [https://salilab.org/modeller/10.0/manual/node117.html manual page]. | ||
* To use non standard parameter and topology files, set the | * To use non standard parameter and topology files, set the <code>toplib</code> and <code>parlib</code> members of the automodel object: | ||
< | <syntaxhighlight lang="python"> | ||
env = | env = Environ(restyp_lib_file='myrestyp.lib') | ||
a = | a = AutoModel(env, ...) | ||
a.toplib = 'mytop.lib' | a.toplib = 'mytop.lib' | ||
a.parlib = 'mypar.lib' | a.parlib = 'mypar.lib' | ||
a.make() | a.make() | ||
</ | </syntaxhighlight> | ||
[[Category:Examples]] |
Latest revision as of 21:18, 16 August 2022
To use non-standard parameter files (restyp.lib, par.lib, top.lib) with the AutoModel class in Modeller 10.0:
- You can specify a non-standard restyp.lib file when creating the Environ object. See the manual page.
- To use non standard parameter and topology files, set the
toplib
andparlib
members of the automodel object:
env = Environ(restyp_lib_file='myrestyp.lib')
a = AutoModel(env, ...)
a.toplib = 'mytop.lib'
a.parlib = 'mypar.lib'
a.make()