Personal tools

User:Serkan/test2/known1: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 40: Line 40:
var number_prefix ="";
var number_prefix ="";
var SReturn_org = global_name;
var SReturn_org = global_name;
sReturn_prefix = SReturn_org .split(":")[0];
motif_prefix = SReturn_org .split(":")[0];
if(sReturn_prefix = "HOCOMOCO"){
var motif_id=  SReturn_org .split(":")[1];
if(motif_prefix = "HOCOMOCO"){
number_prefix = "426";
number_prefix = "426";
}
}
Line 47: Line 48:
number_prefix = "130";
number_prefix = "130";
}
}
else if(sReturn_prefix = "HOMER"){
else if(motif_prefix = "HOMER"){
number_prefix = "138";
number_prefix = "138";
}
}
else if(sReturn_prefix = "SWISSREGULON"){
else if(motif_prefix = "SWISSREGULON"){
number_prefix = "190";
number_prefix = "190";
}
}
else if(sReturn_prefix = "UNIPROBE"){
else if(motif_prefix = "UNIPROBE"){
number_prefix = "413";
number_prefix = "413";
}
}
else if(sReturn_prefix = "ENCODE"){
else if(motif_prefix = "ENCODE"){
number_prefix = "683";
number_prefix = "683";
}
}


sReturn_prefix = "KNOWN"+"_"+number_prefix+"_201304";
motif_prefix = "KNOWN"+"_"+number_prefix+"_201304";
  return '<img src="/resource_browser/seqlogos/' +sReturn_prefix+"/"+ data + '.png" width ="80" height = "20">'; }
  return '<img src="/resource_browser/seqlogos/' +motif_prefix+"/"+ motif_id+ '.png" width ="80" height = "20">'; }
  }
  }



Revision as of 11:36, 19 April 2013

known motifs