Converting Molecules to Names

Converts a file of chemical structures (specified by -in option) into chemical names (-out option), in a choice of language (-language option), encodings (-encoding option) and styles (-style option).

Command Line Interface

A description of the command line interface can be obtained by executing the program with the –help argument.

prompt> mol2nam_example --help

will generate the following output:

Simple parameter list

      -in : Input filename
      -out : Output filename
      -dots : Use dots to show progress.
      -debug : Write out debug messages in addition to warnings.

      -nobanner : Suppress the program banner.
      -language : Language for output names.
      -style : Style of output names
      -capitalize : Capitalize output names.
      -tag : Set name as SD data with tag
      -delim : Append name to title using "delim"
      -suppressName : Generated name not written to title field
      -charset : Choose charset/encoding for output names.


Download code

mol2nam_example.cpp and mol2nam_example.txt interface file