Personal tools

Template:AccessionNumbers: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
 
(37 intermediate revisions by the same user not shown)
Line 23: Line 23:


if(accession_numbers_content.length>1 ){
if(accession_numbers_content.length>1 ){
}
else{
}
for(i=0;i<accession_numbers_content.length;i++){
for(i=0;i<accession_numbers_content.length;i++){
tmp =new Array();  
tmp =new Array();  
Line 33: Line 38:
}
}
m_data.push(tmp);
m_data.push(tmp);
}
}
}


Line 46: Line 50:
{"aTargets":[0],"sTitle": "Library ID","fnRender": function ( obj ) {
{"aTargets":[0],"sTitle": "Library ID","fnRender": function ( obj ) {
                   return obj.aData[ obj.iDataColumn ];}},
                   return obj.aData[ obj.iDataColumn ];}},
{"aTargets":[1],"sTitle": "Experiment Accession ID"},
{"aTargets":[1],"sTitle": "Experiment Accession ID", "fnRender": function ( obj ) {
{"aTargets":[2],"sTitle": "Run Accession ID"},
              var temp="";
{"aTargets":[3],"sTitle": "Run Bam Accession ID"},
var col = obj.aData[ obj.iDataColumn ];
{"aTargets":[4],"sTitle": "Run Ctss Accession ID"}
var colll= col.toString();
var cols =colll.split(",");
if(cols.length>0)
{
  for(i=0;i<cols.length;i++){
      temp = temp +'<a href=http://trace.ddbj.nig.ac.jp/DRASearch/experiment?acc='+cols[i]+'>'+cols[i]+'</a>'+"  ";
  }
}else{
temp ='<a href=http://trace.ddbj.nig.ac.jp/DRASearch/experiment?acc='+cols[i]+'>'+cols[i]+'</a>';
}
              return temp;}},
{"aTargets":[2],"sTitle": "Run Accession ID","fnRender": function ( obj ) {
var temp="";
var col = obj.aData[ obj.iDataColumn ];
var colll= col.toString();
var cols =colll.split(",");
if(cols.length>0)
{
  for(i=0;i<cols.length;i++){
      temp = temp +'<a href=http://trace.ddbj.nig.ac.jp/DRASearch/run?acc='+cols[i]+'>'+cols[i]+'</a>'+"  ";
  }
}else{
temp ='<a href=http://trace.ddbj.nig.ac.jp/DRASearch/run?acc='+cols[i]+'>'+cols[i]+'</a>';
}
              return temp;}},
{"aTargets":[3],"sTitle": "Run Bam Accession ID","fnRender": function ( obj ) {
                var temp="";
var col = obj.aData[ obj.iDataColumn ];
var colll= col.toString();
var cols =colll.split(",");
if(cols.length>0)
{
  for(i=0;i<cols.length;i++){
      temp = temp +" "+cols[i];
  }
}else{
temp =cols[i];
}
              return temp;}},
{"aTargets":[4],"sTitle": "Run Ctss Accession ID","fnRender": function ( obj ) {
                var temp="";
var col = obj.aData[ obj.iDataColumn ];
var colll= col.toString();
var cols =colll.split(",");
if(cols.length>0)
{
  for(i=0;i<cols.length;i++){
      temp = temp +" "+cols[i];
  }
}else{
temp =cols[i];
}
              return temp;}}
],
],
"aaSorting": [[ 0, "asc" ]],
"aaSorting": [[ 0, "asc" ]],
Line 58: Line 114:
</html>
</html>


============Other TEST==================
==Data Accession Details ==
 
<br>
{| class="wikitable mw-collapsible mw-collapsed" style="width:800px"
* Sample Accession Number :  [http://trace.ddbj.nig.ac.jp/DRASearch/sample?acc={{{DRA_sample_Accession}}} {{{DRA_sample_Accession}}}
! Accession Numbers
<br>
|-
<br>
| <table cellspacing="0" border="1"><tr><td>{{#replace:{{#replace:{{{accession_numbers}}}|!|</td></tr><tr><td>}}|;|</td><td>}}</tr></table>
* Library Accession Numbers : <br><br>
|}
<includeonly> <table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table></includeonly>
 
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>

Latest revision as of 13:23, 1 October 2013

Data Accession Details




  • Library Accession Numbers :