An official website of the United States government
Here’s how you know
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock (
)or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.
| bit | Xplor-NIH | VMD-XPLOR |
|---|
|
| Xplor-NIH home Documentation |
{*Only the active energy terms are affected by the learn statement.*}
flags exclude * include bonds angles dihedrals impropers end
{*Initiate the learning process.*}
parameters
learn initiate sele=(all) mode=statistics end
end
{*Loop through the ensemble of coordinates.*}
for $filename in ( "a1.pdb" "a2.pdb" "a3.pdb" "a4.pdb" "a5.pdb"
"a6.pdb" "a7.pdb" "a8.pdb" "a9.pdb" "a10.pdb" )
loop main
coordinates @@$filename
parameters
learn accumulate end
end
end loop main
{*Now we terminate the learning process.*}
parameters
learn terminate end
end
{*One could now compute energies with the learned parameters or *}
{*reduce them to type-based parameters and write them to a file.*}
Instead of learning from an ensemble of coordinates, one could have also learned the coordinates from a trajectory (Section 12.2).