Personal tools

User:Serkan/test5: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 98: Line 98:
             var return_val = ""
             var return_val = ""
             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) {


                     return_val = '<a href=\"/resource_browser/' + "Swissregulon:" + splitted[i] + '\"><img src=\"/resource_browser/seqlogos/' + splitted[i] + '.png"  class="ImageBorder"  alt="' + splitted[i] + '">' + '</a>' + return_val;
                     return_val = '<a href=\"/resource_browser/'+ splitted[i] + '\"><img src=\"/resource_browser/seqlogos/' + splitted[i].split(":")[1] + '.png"  class="ImageBorder"  alt="' + splitted[i] + '">' + '</a>' + return_val;
                 }
                 }


Line 112: Line 112:
             } else if (splitted[0].toString().indexOf("Swissregulon") >= 0) {
             } else if (splitted[0].toString().indexOf("Swissregulon") >= 0) {


                 return_val = '<a href=\"/resource_browser/' + "Swissregulon:" + splitted[0] + '\"><img src=\"/resource_browser/seqlogos/' + splitted[0] + '.png"  class="ImageBorder"  alt="' + splitted[0] + '">' + '</a>' ;
                 return_val = '<a href=\"/resource_browser/' + splitted[0] + '\"><img src=\"/resource_browser/seqlogos/' + splitted[0].split(":")[1]  + '.png"  class="ImageBorder"  alt="' + splitted[0] + '">' + '</a>' ;
             }
             }



Revision as of 10:46, 18 April 2014



Mouse transcription factors