Format Convertor¶
The program, format_convertor,
converts ligand files from one format to another format.
It can also split a multiple-ligand SD file into single-ligand SD files.
The supported formats for formart conversion are:
SD, SDF
Mol, Mol2
PDB
Help menu:
$SILCSBIODIR/programs/format_convertor
    --split        [MODE] split: split input SDF file into a folder
    --convert      [MODE] convert: convert input file into other format
    --inf FILE     *[INPUT] input file name
    --outf FILE    *[OUTPUT] output file/folder name
    --iformat arg  *[FORMAT] input file format: PDB, MOL2, SDF, MOL
    --oformat arg  *[FORMAT] out file format: PDB, MOL2, SDF, MOL
-v, --verbose      verbose output
-h, --help         print help
Example usage for spliting one multiple-ligand SD file into single-ligand SD files:
$SILCSBIODIR/programs/format_convertor --split --inf i.sdf --outf dir
Example usage for converting a single-ligand SD file to a PDB file:
$SILCSBIODIR/programs/format_convertor --convert --inf i.sdf --outf o.pdb --iformat SDF --oformat PDB