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


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
The start row specified if all molecules are not written.
Write to the last row if all input rows are not written.
The number of rows written if all molecules are not written and the "End" option is not selected.

Input Ports

Molecules in Maestro format

Output Ports

This node has no output ports


Molecule Writer StdOutErr View
Std out/err of Molecule Writer




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.