Relative Buried Surface Area of Docked Ligands ============================================== This optional analysis consumes collected SILCS-MC poses and a protein in the same coordinate frame. It is also used in the Hotspots follow-up workflow. See :ref:`silcsmc_cli_artifacts`, :ref:`fda_top20_analysis`, and :doc:`../cli-conventions`. Run ``utils/calc_rBSA_in_minconfpdb.sh`` from the ``minconfpdb`` directory containing the collected ligand PDBs, with the parent ``lgfe.csv`` available one directory above. Request PDBs during SILCS-MC collection with ``pdb=true``. :: "$SILCSBIODIR/utils/calc_rBSA_in_minconfpdb.sh" 20 true The positional inputs are protein PDB, number of top results (default 20), whether to copy the selected structures (default false), and an optional numeric GROMACS ligand-group index. If that index is omitted, the analysis prompts for it; do not assume the ligand always has the same index. The ranking input must match the expected collection column layout; optional columns such as SMILES can change that layout. Do not mix a score table from one collection with another pose tree. The output ``rBSA.txt`` has ``Ligand-name LGFE PL-SASA L-SASA %rBSA`` fields. LGFE is the docking score in kcal/mol, the solvent-accessible surface areas are scaled to square angstroms from GROMACS output, and ``%rBSA`` is a percentage. ``top.txt`` summarizes the selected score-ranked rows. With copying enabled, ``top20_pdbs/`` (or the requested count) gathers selected structures. Inspect diagnostics and confirm every expected ligand was processed before using the table; ``gmx.log`` is overwritten for each ligand and only preserves the last one's GROMACS output. Use a fresh analysis directory or archive outputs before rerunning.