📄 invertpdb
字号:
#!/bin/sh# extracts all atoms in <larger_pdbfile> that are not in <smaller_pdbfile># useful for making an exclude.pdb file (see autoMS) from get_near_res output# DAG 1/95if [ $# -ne 2 ]; then echo "Usage: `basename $0` <larger_pdbfile> <smaller_pdbfile>" exit 1firefpdb=$1smallpdb=$2skipatoms=skip.pdbegrep 'ATOM|HETATM' $smallpdb > $skipatomsnawk 'BEGIN{getline ignore_line < skipatoms}{if ($1 == "ATOM" || $1 ~ /ATM/) { if ($0 ~ ignore_line) { getline ignore_line < skipatoms } else { print $0 } }else { print $0 }}' skipatoms=$skipatoms $refpdb/bin/rm $skipatoms
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -