User:ChristopherW

From 2013.igem.org

(Difference between revisions)
Line 255: Line 255:
}
}
-
// BetterInnerHTML v1.2, (C) OptimalWorks.net
 
-
function BetterInnerHTML(o,p,q){
 
-
 
-
function r(a){
 
-
var b;
 
-
if(typeof DOMParser!="undefined")
 
-
b=(new DOMParser()).parseFromString(a,"application/xml");
 
-
else{
 
-
var c=["MSXML2.DOMDocument","MSXML.DOMDocument","Microsoft.XMLDOM"];
 
-
for(var i=0;i<c.length&&!b;i++){
 
-
try{
 
-
b=new ActiveXObject(c[i]);
 
-
b.loadXML(a);
 
-
}
 
-
catch(e){}
 
-
}
 
-
}
 
-
return b;}
 
-
 
-
function s(a,b,c){
 
-
a[b]=function(){
 
-
return eval(c);
 
-
};
 
-
}
 
-
function t(b,c,d){
 
-
if(typeof d=="undefined")
 
-
d=1;if(d>1){
 
-
if(c.nodeType==1){
 
-
var e=document.createElement(c.nodeName);
 
-
var f={};
 
-
for(
 
-
var a=0,g=c.attributes.length;a<g;a++){
 
-
var h=c.attributes[a].name,k=c.attributes[a].value,l=(h.substr(0,2)=="on");
 
-
if(l)f[h]=k;
 
-
else{
 
-
switch(h){
 
-
case"class":e.className=k;break;case"for":e.htmlFor=k;break;default:e.setAttribute(h,k);
 
-
}
 
-
}
 
-
}
 
-
b=b.appendChild(e);
 
-
for(l in f)
 
-
s(b,l,f[l]);
 
-
}
 
-
else
 
-
if(c.nodeType==3){
 
-
var m=(c.nodeValue?c.nodeValue:"");
 
-
var n=m.replace(/^\s*|\s*$/g,"");
 
-
if (n.length<7||(n.indexOf("<!--")!=0&&n.indexOf("-->")!=(n.length-3)))
 
-
b.appendChild(document.createTextNode(m));
 
-
}
 
-
}for(var i=0,j=c.childNodes.length;i<j;i++)
 
-
t(b,c.childNodes[i],d+1);
 
-
}
 
-
p="<root>"+p+"</root>";
 
-
var u=r(p);
 
-
if(o&&u){
 
-
if(q!=false)
 
-
while(o.lastChild)o.removeChild(o.lastChild);
 
-
t(o,u.documentElement);
 
-
}
 
-
}
 
function go_countingFun() {
function go_countingFun() {
Line 420: Line 358:
         document.getElementById('newoutput').textContent = outputText;
         document.getElementById('newoutput').textContent = outputText;
         document.getElementById('CountingResult').textContent = "Copy the following into the wiki to get the protein-data-table:"
         document.getElementById('CountingResult').textContent = "Copy the following into the wiki to get the protein-data-table:"
-
BetterInnerHTML(document.getElementById("CountingResult"), "A standard <strong>HTML</strong> string.");
+
 
};
};
</script>
</script>

Revision as of 11:41, 15 July 2013

AutoAnnotator by Team TU-Munich 2013

Enter a sequence below!

Enter sequence!

Counting Array will appear below!


Test

Automatically determined parameters using the [http://www.mediawiki.org/wiki/Table BioBrick-AutoAnnotator]
BioBrick: BBa_K1159000 Used open reading frame from position ?x? to ?y?.
A (Ala) 10 (4.00%) R (Arg) 8 (3.20%) N (Asn) 13 (5.20%) D (Asp) 18 (7.20%) C (Cys) 2 (0.80%) Q (Gln) 8 (3.20%) E (Glu) 16 (6.40%) G (Gly) 25 (10.00%) H (His) 10 (4.00%)
K (Lys): 20 (8.00%) M (Met) 6 (2.40%) F (Phe) 13 (5.20%) P (Pro) 11 (4.40%) S (Ser) 9 (3.60%) T (Thr) 16 (6.40%) W (Trp) 1 (0.40%) Y (Tyr) 12 (4.80%) V (Val) 17 (6.80%)
Amino acid counting: Total number of amino acids (aa): 250 Number of positively charged aa: ?9? Number of negatively charged aa: ?9?
Biochemical parameters: Molecular weight [Da]: 24190.279999999995 Theoretical pI: ?4? Extinction coefficient: ?4?
Estimated half-life: Mammals: ?4 h? Yeast: ?4? E. coli: ?4?
Codon usage: Mammals: ?good? Yeast: ?Ok? E. coli: ?bad ?
RFC standard: This is a RFC 25 BioBrick, thus ATGGCCGGC and ACCGGT were added to the 5' and 3' ends.
The BioBrick-AutoAnnotator was created by TU-Munich 2013 iGEM team. For information please read the description.