Volatile:Pathway/Metabolic

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
m
 
(44 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{#ifeq:{{#substring:{{FULLPAGENAME}}|0|8}}|Volatile|{{Huge|{{{4}}}}}}}<br/>
 +
Total {{#count:{{{list|}}}}} steps.
 
{|
 
{|
 
|-
 
|-
|style="text-align:center"|{{Metabolite/GetSysName|{{{1|}}}}}<br/>[[Image:{{{1|}}}.png|thumb|{{#var:PIC_SCALE}}px]]  
+
{| class="collapsible"
|
+
! style="text-align:left"|{{Metabolite/GetSysName|{{{1|}}}}}
 +
|-
 +
| style="text-align:left"|[[Image:{{{1|}}}.png|thumb|left|{{#var:PIC_SCALE}}px]]{{Pathway/GetPathwayList|{{{1|}}}}}
 +
|}
 
{{#repeatnum:Pathway/MetabolicTable|4|<!----
 
{{#repeatnum:Pathway/MetabolicTable|4|<!----
4行の出力内訳
+
4行の出力内訳。4行毎にPathway/MetabolicTableを用いて処理。
 
1 ... mapping pagetitle
 
1 ... mapping pagetitle
 
2 ... mapping direction
 
2 ... mapping direction
Line 26: Line 31:
 
           origPos[v] = k;
 
           origPos[v] = k;
 
           if (k == tostring({{{3|?}}})) then
 
           if (k == tostring({{{3|?}}})) then
             str = str .. '<span style=color:red>' ..k.. '->' ..v ..'</span><br/>';
+
             str = str .. '<span style=color:red><b>' ..k.. '&rarr;' ..v..'</b></span>; ';
 
           else
 
           else
             str = str .. '<br/>' ..k.. '->' ..v ..'(' .. {{{3|?}}} ..')';
+
             str = str ..k.. '&rarr;' ..v..'; ';
 
           end
 
           end
 
         end
 
         end
Line 50: Line 55:
 
         local list2 = {};
 
         local list2 = {};
 
         local origPos2 = {};
 
         local origPos2 = {};
         local str = "Mapping:<br/>";
+
         local str = "";
 
         for k, v in pairs(list) do
 
         for k, v in pairs(list) do
 
           if (map[k] ~= nil)
 
           if (map[k] ~= nil)
 
           then
 
           then
 
             list2[map[k]] = map[k];
 
             list2[map[k]] = map[k];
             origPos2[v] = origPos[k];
+
             origPos2[map[k]] = origPos[k];
             if (origPos[k] == {{{3|?}}}) then
+
             if (origPos[k] == tostring({{{3|?}}})) then
               str = str .. '<span style=color:red>' ..k.. '->' ..map[k]..'</span>';
+
               str = str .. '<span style=color:red><b>' ..k.. '&rarr;' ..map[k]..'</b></span>; ';
 
             else
 
             else
               str = str .. '<br/>' .. k .. '->' .. map[k];
+
               str = str .. k .. '&rarr;' .. map[k]..'; ';
 
             end
 
             end
 
           end
 
           end
Line 69: Line 74:
 
       local str = "";
 
       local str = "";
 
       for k, v in pairs(list) do
 
       for k, v in pairs(list) do
         str = str .. '[[Volatile:Sandbox|{{{1}}}|{{{2}}}|' ..k.. '|Trace ' ..k.. ']]<br/>';
+
         str = str .. '[[Volatile:Pathway/Metabolic|{{{1}}}|{{{2}}}|' ..k.. '|{{#replace:{{{4}}}|&#160;|_}}|Trace ' ..k.. ']] ';
 
       end
 
       end
 
       print(str); -- output 4th line
 
       print(str); -- output 4th line
 
     end
 
     end
 
   end
 
   end
|{{#repeat:Pathway/Mapping|1|{{#cdr:{{#decode:{{{2}}}}}|&&}}|&&}} }}
+
|{{#repeat:Pathway/Mapping|1|{{#cdr:{{{2}}}|__}}|__}} }}
 
}}
 
}}
 
|}
 
|}

Latest revision as of 08:18, 22 July 2009


Total 0 steps.

#ifeq:
Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox