Template:Pathway/Metabolic

From Metabolomics.JP
< Template:Pathway(Difference between revisions)
Jump to: navigation, search
Line 23: Line 23:
 
       for k, v in string.gmatch(line, "(%d%d?) (%d%d?) %d?%d? ?;") do
 
       for k, v in string.gmatch(line, "(%d%d?) (%d%d?) %d?%d? ?;") do
 
         map[v] = k;
 
         map[v] = k;
         print(v .. "-" .. k .. " ");
+
         --print(v .. "-" .. k .. " ");
 
       end
 
       end
 
       --- Leave only positions that can be mapped
 
       --- Leave only positions that can be mapped
Line 36: Line 36:
 
       for k, v in string.gmatch(line, "(%d%d?) (%d%d?) %d?%d? ?;") do
 
       for k, v in string.gmatch(line, "(%d%d?) (%d%d?) %d?%d? ?;") do
 
         map[k] = v;
 
         map[k] = v;
         print(k .. "-" .. v .. " ");
+
         --print(k .. "-" .. v .. " ");
 
       end
 
       end
 
       --- Leave only positions that can be mapped
 
       --- Leave only positions that can be mapped
Line 53: Line 53:
 
     print("\n");
 
     print("\n");
 
   end
 
   end
   table.sort(list);
+
   --table.sort(list);
   for i,v in ipairs(list)
+
   --for i,v in ipairs(list)
    do print(v) end
+
  -- do print(v) end
 
|{{#repeat:Pathway/Mapping|1|{{#cdr:{{{list}}}|&&}}|&&}}
 
|{{#repeat:Pathway/Mapping|1|{{#cdr:{{{list}}}|&&}}|&&}}
 
}}
 
}}

Revision as of 12:20, 16 March 2009



Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox