みなさま、
ermod-0.3.1 でバグかな?という挙動があったので、レポートいたします。
名大の cx-400 でコンパイルした ermod-0.3.1 中の gromacs/gen_structure を使用した時に下記のエラーが出ました。
cytc99SB-w20KTIP3P.top は使用した topology file です(cytochrome C 水中)。
$(ermd-0.3.1_directry)/share/ermod/tools/gromacs/gen_structure --top cytc99SB-w20KTIP3P.top -I /center/local/apl/cx/gromacs-5.0.4/share/gromacs/top
Molecule types in topology file: CYTOC SOL
Which molecules are solutes? (For multiple choice please specify as comma-searated list) CYTOC <- ここまで、通常の動作。
Traceback (most recent call last):
File "/home/usr5/z41015t/software/ermod-0.3.1-cx/share/ermod/tools/gromacs/gen_structure", line 434, in <module>
mono = top.moleculetypes[s]
KeyError: 'CYTOC'
この結果、refs と soln は生成されませんでした。
これを ermod-0.3.rc1 の gen_structure で同じコマンドを実行した場合、問題なく refs と soln および MDinfo などのファイルは生成されました。
しかし、確認のために他の topology file でも試してみたら、今度はうまくいきました。使用した topology file は水中のユビキチンです。
$(ermd_directry)/share/ermod/tools/gromacs/gen_structure --top ubi2wTIP3P_ff99SB-ildn.top -I /center/local/apl/cx/gromacs-5.0.4/share/gromacs/top
Molecule types in topology file: Protein_chain_A SOL
Which molecules are solutes? (For multiple choice please specify as comma-searated list) Protein_chain_A
この結果、正常にディレクトリやファイルは生成されました。
また、同じことを京大 cray (D) でも試してみましたが、同様の結果でした(ubiqutin は 0.3.1 でも上手くいくが、cytochrome C は上手くいかなかった)。
念のために、cytochrome C の molecule type 名を"Protein_chain_A"に書き換えてみましたが、やはり同様のエラーが出ました。
ermod-0.3.1 でエラーの出た topology file を念のために、添付いたします。