Analysis of Ligand Substructures

The SilcsBio software provides a utility through the command line interface (CLI) to calculate the properties of substructures within SILCS-MC docked ligands.

Use collected ligand SDFs and a parent SDF retaining LGFE, LE, and atom.dprop.GFE properties. Despite the option name, --minconfpdb identifies that collection directory, not an arbitrary PDB.

python $SILCSBIODIR/utils/python/delta_lgfe_analysis.py \
    --minconfpdb <collection directory> --parent <parent SDF>

Required parameters:

  • Path to directory containing collected SILCS-MC ligand SDF files:

    --minconfpdb <minconfpdb directory>
    
  • Path to parent structure SD file:

    --parent <parent molecule SD file>
    

Optional parameters:

  • Path to output CSV file:

    --output <output csv file>
    
  • Time out limit for each ligand:

    --timeout <maximum time (in seconds) allowed for the computation of the Maximum Common Substructure (MCS) across all molecules; default=30s>
    

After running the above command, a csv (delta_lgfe_analysis.csv by default) will be created. The csv file will list the

  1. ligand name (Ligand, first column),

  2. total LGFE (LGFE, second column),

  3. LE (LE, third column),

  4. change in total LGFE from the parent ligand (dLGFE, fourth column),

  5. SMILES of the common substructure (CSS SMILES, fifth column),

  6. change in LGFE contribution of the common substructure (CSS dLGFE, sixth column),

  7. SMILES of the modification or different substructure ( DSS SMILES, seventh column),

  8. change in LGFE contribution by the modification or different substructure (DSS dLGFE, eight column), and

  9. RMSD of the common substructure in reference to the parent ligand (CSS RMSD, nineth column).

The output csv file is compatible with cheminformatics softwares such as MOE or Molsoft for viewing and further processing. Below is the output visualized in Molsoft with SMILES converted to 2D structures:

Input/output contract

See CLI Inputs, Outputs, and Workflow Handoffs. Despite its name, --minconfpdb identifies the collection directory whose per-ligand *.sdf files are read. Those SDFs must carry LGFE, LE, and atom.dprop.GFE properties from SILCS-MC collection. Arbitrary PDBs or SDFs lacking atomic GFE annotations are not substitutes. --parent is required and identifies the parent SDF, which must also retain its score and atomic-GFE properties.

Default output is delta_lgfe_analysis.csv (or --output). The actual header is Ligand,LGFE,LE,∆_LGFE,CSS_SMILES,CSS_∆_LGFE,DSS_SMILES,DSS_∆_LGFE,CSS_RMSD. Energy differences are relative to the parent in kcal/mol; common-substructure RMSD is in angstroms in the supplied coordinate frame. The parent row has zero differences. Common and differing substructure SMILES identify the comparison, not new simulated molecules.

--timeout limits the common-substructure search (default 30 seconds). A timeout can continue with a partial common substructure; inspect the warning and resulting substructure before comparing rows. No common substructure is an error. Keep the chosen parent, molecular inventory, and timeout with the CSV.