CreateView¶
This manual gives a walkthrough on the CreateView application:
Introduction¶
CreateView composes an SDfile that contains both structures and calculation results using the input SDfile of GenerateMD and a table containing the ordinal number of compounds in the SDfile and other data to be viewed. Such table can be created for example by Compr or Jarp. The generated SDfiles can be displayed by the MarvinView application or other SDF viewer.
Usage¶
CreateView can be used as a command line application in the following way:
Prepare the usage of the crview script or batch file as described in Preparing the Usage of JChem Batch Files and Shell Scripts.
You can also call the CreateView Java class directly:
- Under Win32 / Java 2 (assuming that JChem is installed in c:\jchem):
- Under Unix / Java 2 (assuming that JChem is installed in /usr/local/jchem):
Because the utility has many parameters, it may be reasonable to create a shell script or a batch file for calling the software.
Options and creating input¶
Two input files have to be specified:
- SDfile containing structures ( --input-sdf option).
- A table containing the ordinal number of compounds from the SDfile and other data to be viewed ( --input-table option).
The structure of the input table should be the following:
- headers of columns in column set 1 (1 row)
- column set 1 (multiple rows)
- headers of columns in column set 2 (1 row)
- column set 2 (multiple rows)
- ....
The --id-name :<count> determines which occurrence of the column should be used.
Examples¶
*Example #1 *
--id-name centr:2
The --data-names
Example #2
--data-names clid:size
Using the --condition
For example if --condition clid=2 is set, then only those compounds will be included in the SDfile, for which the value of the clid column is 2.