Sandbox

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
this is sandbox page.
 
this is sandbox page.
  
<!---{{Index/name|F|G|FL|}}
+
{{#lua:
 
+
  local H = {};
{{#persist:FLindex name|name|Index/name|2|a;FL}}---->
+
  local I = {};
 +
  for id, name in stdin:gmatch("&&(%w+).Common Name=&&(%S+)") do
 +
    name = string.lower(name);
 +
    for term in string.gmatch(name,"([^&]+)&&") do
 +
      if ((string.len(term) > 60)) then
 +
        if (H[term] == nil) then
 +
          H[term] = id; table.insert(I, term);
 +
        else
 +
          H[term] = H[term] .. ";" .. id;
 +
        end
 +
      end
 +
    end
 +
  end
 +
  table.sort(I, function (x,y) return string.len(x)<string.len(y) end);
 +
  local ret = "";
 +
  for i=1,table.getn(I) do
 +
    local k = I[i];
 +
    ret = ret .. "* '''" .. k;
 +
    for id in string.gmatch(H[k],"%w+") do
 +
      ret = ret .. "'''&nbsp;&nbsp; [[" .. id .."]] &nbsp; ";
 +
    end
 +
    ret = ret .. "\n";
 +
  end
 +
  print(ret);
 +
|
 +
{{#SearchLine:Common Name=||FL%}}
 +
}}

Revision as of 02:39, 2 October 2008

this is sandbox page.

  • 5-hydroxy-3,6,7,8-tetramethoxy-2-phenyl-4h-1-benzopyran-4-one   FL5FG9NS0005  
  • 3,5,7-trihydroxy-6,8-dimethoxy-2-phenyl-4h-1-benzopyran-4-one   FL5FG9NS0001  
  • 3,5-dihydroxy-6,7,8-trimethoxy-2-phenyl-4h-1-benzopyran-4-one   FL5FG9NS0004  
  • 6-c-beta-d-xylopyranosyl-8-c-alpha-l-arabinopyranosylapigenin   FL3FAACS0011  
  • 5,8-dihydroxy-3,6,7-trimethoxy-2-phenyl-4h-1-benzopyran-4-one   FL5FG9NS0002  
  • 3'-hydroxy-3,5,8,4',5'-pentamethoxy-6,7-methylenedioxyflavone   FL5FGGNS0016  
  • 5,7-dihydroxy-3,6,8-trimethoxy-2-phenyl-4h-1-benzopyran-4-one   FL5FG9NS0003  
  • 3,2',4',6'-tetrahydroxy-4-methoxy-3',5-diprenyldihydrochalcone   FL1DAENI0001  
  • 6'-hydroxy-2,3,4,5,2'-pentamethoxy-3',4'-methylenedioxychalcone   FL1CELNS0004  
  • 4,2',4',beta-tetrahydroxy-6'-methoxy-alpha,beta-dihydrochalcone   FL1DHYNS0005  
  • 5-hydroxy-7-methoxy-6,8-dimethyl-2-phenyl-4h-1-benzopyran-4-one   FL3FA9NM0005  
  • 5,3'-dihydroxy-3,8,4',5'-tetramethoxy-6,7-methylenedioxyflavone   FL5FGGNS0015  
  • 5-hydroxy-3,8-dimethoxy-3',4'-methylenedioxy-7-prenyloxyflavone   FL5FFCNI0006  
  • 7-hydroxy-5,6-dimethoxy-3',4'-methylenedioxy-8-prenylisoflavone   FLIAECNI0001  
  • 6-o-beta-l-arabinopyranosyl-8-c-alpha-l-arabinopyranosylapigenin   FL3FAACS0069  
  • 6-c-alpha-l-arabinopyranosyl-8-c-beta-l-arabinopyranosylapigenin   FL3FAACS0068  
  • beta-hydroxy-2',6'-dimethoxy-3',4'-methylenedioxydihydrochalcone   FL1DHYNS0004  
  • 5,2'-dihydroxy-7-methoxy-6,8-dimethyl-4',5'-methylenedioxyflavan   FL6FALNM0001  
  • 6-c-beta-d-glucopyranosyl-8-c-beta-d-6-deoxygulopyranosylapigenin   FL3FAACS0070  
  • 7-hydroxy-2',5'-dimethoxy-3',4'-methylenedioxy-8-prenylisoflavone   FLIA1LNI0006  
  • 2,2'-dihydroxy-3,4,5,6'-tetramethoxy-3',4'-methylenedioxychalcone   FL1CELNS0003  
  • 3,5,7-trihydroxy-8-methoxy-6-methyl-2-phenyl-4h-1-benzopyran-4-one   FL5FF9NM0004  
  • 2',6'-dihydroxy-4,3'-dimethoxy-4',5'-methylenedioxydihydrochalcone   FL1DGANS0001  
  • 5,7-dihydroxy-6-methyl-4-oxo-2-phenyl-4h-1-benzopyran-8-carboxaldehyde   FL3FA9NM0008  
  • 5,7-dihydroxy-8-methyl-4-oxo-2-phenyl-4h-1-benzopyran-6-carboxaldehyde   FL3FA9NM0007  
  • 2alpha-phenyl-2,3-dihydro-5,7-dihydroxy-8-methoxy-4h-1-benzopyran-4-one   FL2FF9NS0005  
  • 4,5-dihydro-5'alpha-hydroxy-4'alph-methoxy-6a,12a-dehydro-alph-toxicarol   FLIFWXNP0001  
  • 6-hydroxy-5-methyl-3',4',5'-trimethoxyaurone-4-o-alpha-l-rhamnopyranoside   FL1AAKGM0001  
  • (2s)-5,7,3',4'-tetrahydroxy-6-(7-hydroxy-3,7-dimethyl-2-octenyl)flavanone   FL2FACNI0021  
  • 1",2"-dihydro-8-hydroxyisopentanyl-2'-methoxy-4'-o-methylalpinumisoflavone   FLIAALNP0011  
  • 1",2"-dihydro-8-hydroxyisopentanyl-3'-methoxy-4'-o-methylalpinumisoflavone   FLIAAFNP0001  
  • 8-beta-d-glucopyranosyl-5-hydroxy-7-methoxy-2-phenyl-4h-1-benzopyran-4-one   FL3FA9CS0006  
  • (2r,3r)-2,3-dihydro-3,5,7-trihydroxy-2-(4-hydroxyphenyl)-4h-1-benzopyran-4-one   FL4DAANS0001  
  • 6-alpha-l-arabinopyranosyl-8-beta-d-glucopyranosyl-3',4',5,7-tetrahydroxyflavone   FL3FACCS0021  


Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox