This example file contains links to the complete descriptions of the BTCL commands. The BTCL language. Added comments that were not part of the original file are in italics.
Default values that are not specified in the command input file appear in the output file.
#BIOSYM btcl 3 set PROJECT butane beginObtain an array of atoms as a subset:
subset define subset sbsth "*:*:H*" database handle sys_h System. subset get hatoms sbsth select nhatoms *:*:!(H*) echo Hydrogen Atoms: echo [object hatoms] echo Non-Hydrogen Atoms: echo [object nhatoms] $sys_h get coord Coord $nhatoms echo Non-Hydrogen Coordinates: echo [object coord]
Lesson on
understanding & creating BTCL scripts, Introduction
Lesson on
understanding & creating BTCL scripts, Section 1
Copyright Biosym/MSI