Bemis-Murcko Framework Analysis =============================== The script *gen_bm_frags.py* analyzes the framework of input molecules according to the rules established by Bemis and Murcko :cite:`doi:10.1021/jm9602928`. **Synopsis** :program:`python` *gen_bm_frags.py* [-h] -i -o [-v] [-m] [-H] [-f ] [-r] [-s] [-l] [-x] [-c] **Mandatory options** -i Input molecule file -o Fragment output file **Other options** -h, --help Show help message and exit -v Verbose output (default: false) -m Output the input molecule before the resulting fragments (default: false) -H Keep hydrogen atoms (default: false) -f Output molecule frameworks (default: true) -r Output molecule ring systems (default: false) -s Output molecule side chains (default: false) -l Output ring system linkers (default: false) -x Label atoms with atom mapping IDs (default: false) -c Transform fragments into carbon skeletons (default: false) **Code** .. literalinclude:: /downloads/gen_bm_frags.py :language: python :linenos: :lines: 21- :download:`Download source file`