102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
# File 'lib/bio/shell/demo.rb', line 102
def pdb_hetdic
run(%q[het_dic.size], "Bytes of the file ...", true) &&
run(%q[disp "data/het_dictionary.txt"], "Take a look on the contents ...", true) &&
run(%q[flatindex("het_dic", "data/het_dictionary.txt")],
"Creating index to make the seaarchable database ...", false) &&
run(%q[ethanol = flatsearch("het_dic", "EOH")], "Search an ethanol entry ...", true) &&
run(%q[osake = flatparse(ethanol)], "Parse the entry ...", true) &&
run(%q[osake.conect], "Showing connect table (conect) of the molecule ...", true) &&
true
end
|