Personal tools

User:Serkan/test5: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 99: Line 99:
             for (i = 0; i < splitted.length; i++) {
             for (i = 0; i < splitted.length; i++) {
                 if (splitted[i].toString().indexOf("JASPAR_motif") > 0) {
                 if (splitted[i].toString().indexOf("JASPAR_motif") > 0) {
                     return_val = '<a href=\"/resource_browser/' + splitted[i] + '\"><img src=\"/resource_browser/seqlogos/jaspar/' + splitted[i].split[1] + '.png"  class="ImageBorder"  alt="' + splitted[i] + '">' + '</a>' + return_val;
                     return_val = '<a href=\"/resource_browser/' + splitted[i] + '\"><img src=\"/resource_browser/seqlogos/jaspar/' + splitted[i].split(":")[1] + '.png"  class="ImageBorder"  alt="' + splitted[i] + '">' + '</a>' + return_val;
                 } else if (splitted[i].toString().indexOf("Swissregulon") > 0) {
                 } else if (splitted[i].toString().indexOf("Swissregulon") > 0) {


Line 109: Line 109:
         } else {
         } else {
             if (splitted[0].toString().indexOf("JASPAR_motif") >= 0) {
             if (splitted[0].toString().indexOf("JASPAR_motif") >= 0) {
                 return_val = '<a href=\"/resource_browser/' + splitted[0] + '\"><img src=\"/resource_browser/seqlogos/jaspar/' + splitted[0].split[1] + '.png"  class="ImageBorder"  alt="' + splitted[0] + '">' + '</a>' + return_val;
                 return_val = '<a href=\"/resource_browser/' + splitted[0] + '\"><img src=\"/resource_browser/seqlogos/jaspar/' + splitted[0].split(":")[1] + '.png"  class="ImageBorder"  alt="' + splitted[0] + '">' + '</a>' + return_val;
             } else if (splitted[0].toString().indexOf("Swissregulon") >= 0) {
             } else if (splitted[0].toString().indexOf("Swissregulon") >= 0) {



Revision as of 10:26, 18 April 2014



Mouse transcription factors