|
|
本帖最后由 wal 于 2026-9-1 20:09 编辑
感觉这贴提出的需求好像挺有用的,利用个人库做了一个脚本,对一个体系的氢键设置键级为0.5的虚键,并利用gview显示。
用法:hb xx.gjf
- $ hb h2o4_bane.gjf
- H...X cutoff: 2.5 A
- Donors: F,N,O,S
- Acceptors: F,N,O,S
- Job 1: perceived topology (8 covalent bonds); H-bonds added=4, already present=0
- O1-H3...O4 H...A=1.717 A angle=170.3 deg [added 0.5]
- O4-H6...O10 H...A=1.716 A angle=170.3 deg [added 0.5]
- O7-H8...O1 H...A=1.717 A angle=170.2 deg [added 0.5]
- O10-H12...O7 H...A=1.717 A angle=170.1 deg [added 0.5]
- Wrote: h2o4_bane_hb.gjf
- Hydrogen bonds: added 4, already present 0
- $
复制代码 还可以调整D/A的元素表,指定cutoff,指定键角等
- Usage: hb [options] input.gjf
- Add 0.5-order H...X hydrogen-bond edges to Gaussian connectivity.
- If the input already has Connectivity, it is preserved and reused;
- otherwise covalent connectivity is perceived from Cartesian geometry.
- Options:
- -o, --output FILE Output GJF (default: <input>_hb.gjf)
- -d, --distance ANGSTROM Maximum H...acceptor distance (default: 2.5)
- --min-angle DEG Minimum donor-H...acceptor angle; 0 disables
- angle filtering (default: 0)
- --donors LIST Donor X elements (default: N,O,F,S)
- --acceptors LIST Acceptor X elements
- (default: N,O,F,S)
- LIST is comma-separated or 'all'
- --topology-scale X Covalent-perception cutoff scale
- (default: 1.0)
- -q, --quiet Suppress per-job/candidate details
- -h, --help Show this help
复制代码 下载:
二进制(linux):
hb
(3.96 MB, 下载次数 Times of downloads: 0)
测试:
h2o4_bane.gjf
(808 Bytes, 下载次数 Times of downloads: 0)
|
评分 Rate
-
查看全部评分 View all ratings
|