Sandbox
From Metabolomics.JP
(Difference between revisions)
Line 6: | Line 6: | ||
for id, name in stdin:gmatch("&&(%w+).Common Name=&&(%S+)") do | for id, name in stdin:gmatch("&&(%w+).Common Name=&&(%S+)") do | ||
name = string.lower(name); | name = string.lower(name); | ||
− | for term in string.gmatch(name,"( | + | for term in string.gmatch(name,"(%w+)") do |
− | if ((string.len(term) > | + | if ((string.len(term) > 30)) then |
if (H[term] == nil) then | if (H[term] == nil) then | ||
H[term] = id; table.insert(I, term); | H[term] = id; table.insert(I, term); |
Revision as of 02:46, 2 October 2008
this is sandbox page.
- glucopyranosyldihydrokaempferol FL4DAACS0001