Template:PKS/DomainColor

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
m
m
 
(2 intermediate revisions by one user not shown)
Line 4: Line 4:
 
     str = string.gsub(str,"ACP", '<span style="background:plum">ACP</span>');
 
     str = string.gsub(str,"ACP", '<span style="background:plum">ACP</span>');
 
     str = string.gsub(str,"PP", '<span style="background:plum">PP</span>');
 
     str = string.gsub(str,"PP", '<span style="background:plum">PP</span>');
     str = string.gsub(str,"AT", '<span style="background:plum">AT</span>');
+
     str = string.gsub(str,"([^S])AT", '%1<span style="background:plum">AT</span>');
 
     str = string.gsub(str,"DH", '<span style="background:lightgreen">DH</span>');
 
     str = string.gsub(str,"DH", '<span style="background:lightgreen">DH</span>');
 
     str = string.gsub(str,"ER", '<span style="background:lightgreen">ER</span>');
 
     str = string.gsub(str,"ER", '<span style="background:lightgreen">ER</span>');
Line 10: Line 10:
 
     str = string.gsub(str,"TE", '<span style="background:gold">TE</span>');
 
     str = string.gsub(str,"TE", '<span style="background:gold">TE</span>');
 
     str = string.gsub(str,"CYC", '<span style="background:gold">CYC</span>');
 
     str = string.gsub(str,"CYC", '<span style="background:gold">CYC</span>');
     str = "<big><b>" .. str .. "</b></big>";
+
     str = "<b>" .. str .. "</b>";
 
     print(str);
 
     print(str);
 
   end
 
   end
|{{{1|KS-AT-DH-KR-ACP}}}}}
+
|{{{1|SAT-KS-AT-DH-KR-ACP}}}}}

Latest revision as of 16:07, 12 May 2012

SAT-KS-AT-DH-KR-ACP

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox