Molecule Writer (from MAE)

Write molecules in Maestro, SD, Mol2, SMILES or PDB format. There are two ways to specify the output file, either by text field (i.e., one file) or by selecting a column which has an output file specified for each row. When specifying one file, it is possible to write a file for each row (i.e., using the checkbox option): in this case an additional suffix consisting of the row number is added to the original specified file name for each row.

Backend implementation
$SCHRODINGER/utilities/structconvert

Options

Column containing input structure
Select the column in the input data table that contains the input molecules.
Column containing output file name
Select the column in the input data table that contains the output file name (optional). If this is checked, the "Write a file for each row" option is automatically checked. Also, the Basic settings are disabled since all molecules in each row are written.
Output File
When selected, the molecules are written to the specified output file. For PDB files, the "Write a file for each row" is automatically checked.
Write a file for each row
For each input row, a file is generated with a "_#row" added to the output file name (keeping the same file extension).
Overwrite existing files
If this is not checked and any output file exists, this node fails.
Write all molecules
Whether all input rows are written
Start
The start row specified if all molecules are not written.
End
Write to the last row if all input rows are not written.
Total
The number of rows written if all molecules are not written and the "End" option is not selected.

Input Ports

Icon
Molecules in Maestro format

Output Ports

This node has no output ports

Views

Molecule Writer StdOutErr View
Std out/err of Molecule Writer

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.