Personal tools

Template:DRAAccessionNumbersTest: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:DRA_sample_accession_content|{{{2}}}}}
{{#vardefine:DRA_sample_accession_content|{{{2}}}}}{{#vardefine:accession_numbers_content|{{{3}}}}}{{#vardefine:library_ids_content|{{{4}}}}}{{#arraydefine:DRA_sample_accession_array|{{#var:DRA_sample_accession_content}}|!}}{{#arraydefine:accession_numbers_array|{{#var:accession_numbers_content}}|!}}{{#arraydefine:library_ids_array|{{#var:library_ids_content}}|!}}{{#arraymerge:new_key |accession_numbers_array |library_ids_array}}{{#arraydefine:headers|Library id,Method,Exp. accession id,Run accession id|;}}{{#arraydefine:headers_sample_access_numbers|Method,Sample accession id|;}}{{#arraydefine:y-1|}}{{#arraydefine:k-1|}}{{#vardefine:e-1|}}{{#vardefine:t-1|}}{{#vardefine:header_species1|{{#switch: {{{5}}} | Human (Homo sapiens) = Hg19 | Mouse (Mus musculus) = Mm9 }}}}{{#vardefine:header_species2|{{#switch: {{{5}}} | Human (Homo sapiens) = Hg38 | Mouse (Mus musculus) = Mm10 }}}}{{#loop: k
{{#vardefine:accession_numbers_content|{{{3}}}}}
{{#vardefine:library_ids_content|{{{4}}}}}
 
{{#arraydefine:DRA_sample_accession_array|{{#var:DRA_sample_accession_content}}|!}}
{{#arraydefine:accession_numbers_array|{{#var:accession_numbers_content}}|!}}
{{#arraydefine:library_ids_array|{{#var:library_ids_content}}|!}}
 
{{#arraymerge:new_key |accession_numbers_array |library_ids_array}}
{{#arraydefine:headers|Library id,Method,Exp. accession id,Run accession id|;}}
{{#arraydefine:headers_sample_access_numbers|Method,Sample accession id|;}}
{{#arraydefine:y-1|}}
{{#arraydefine:k-1|}}
{{#vardefine:e-1|}}
{{#vardefine:t-1|}}
{{#vardefine:header_species1|{{#switch: {{{sample_species}}} | Human (Homo sapiens) = Hg19 | Mouse (Mus musculus) = Mm9 }}}}
{{#vardefine:header_species2|{{#switch: {{{sample_species}}} | Human (Homo sapiens) = Hg38 | Mouse (Mus musculus) = Mm10 }}}}
 
{{#loop: k
   | 0           
   | 0           
   | {{#arraysize:accession_numbers_array}}
   | {{#arraysize:accession_numbers_array}}
   | <nowiki/>
   | <nowiki/>
{{#arraydefine:tmp{{#var:k}}|{{#arrayindex:accession_numbers_array |{{#var:k}}}}}}
{{#arraydefine:tmp{{#var:k}}|{{#arrayindex:accession_numbers_array |{{#var:k}}}}}}{{#arraydefine:tmp_{{#var:k}}|{{#arrayprint:tmp{{#var:k}}}}|;}}{{#loop: m
{{#arraydefine:tmp_{{#var:k}}|{{#arrayprint:tmp{{#var:k}}}}|;}}
{{#loop: m
   | 0           
   | 0           
   | {{#arraysize:tmp_{{#var:k}}}}
   | {{#arraysize:tmp_{{#var:k}}}}
Line 40: Line 20:
|
|
{{#arraydefine:tmp__{{#var:m}}|{{#switch: {{#var:m}}| 1 = [http://trace.ddbj.nig.ac.jp/DRASearch/{{#var:link}}?acc={{#var:tmpe}} {{#var:tmpe}}] | 2 = [http://trace.ddbj.nig.ac.jp/DRASearch/{{#var:link}}?acc={{#var:tmpe}} {{#var:tmpe}}] | {{#var:tmpe}}}}  }}  }}
{{#arraydefine:tmp__{{#var:m}}|{{#switch: {{#var:m}}| 1 = [http://trace.ddbj.nig.ac.jp/DRASearch/{{#var:link}}?acc={{#var:tmpe}} {{#var:tmpe}}] | 2 = [http://trace.ddbj.nig.ac.jp/DRASearch/{{#var:link}}?acc={{#var:tmpe}} {{#var:tmpe}}] | {{#var:tmpe}}}}  }}  }}
{{#arraymerge:y{{#var:m}}|y{{#expr:{{#var:m}}-1}}|tmp__{{#var:m}} }}
{{#arraymerge:y{{#var:m}}|y{{#expr:{{#var:m}}-1}}|tmp__{{#var:m}} }}
}}<!--end of loop m -->
}}<!--end of loop m -->
{{#arraymerge:k{{#var:k}}|k{{#expr:{{#var:k}}-1}}|y{{#var:m}} }}
{{#arraymerge:k{{#var:k}}|k{{#expr:{{#var:k}}-1}}|y{{#var:m}} }}
{{#vardefine:e{{#var:k}}|{{#var:e{{#expr:{{#var:k}}-1}}}}!{{#arrayprint:y{{#var:m}}|;}}}}
{{#vardefine:e{{#var:k}}|{{#var:e{{#expr:{{#var:k}}-1}}}}!{{#arrayprint:y{{#var:m}}|;}}}}
}}
}}
{{#arraydefine:kekka|{{#sub:{{#var:e{{#var:k}}}}|1|{{#len:{{#var:e{{#var:k}}}} }} }}|!}}
{{#arraydefine:kekka|{{#sub:{{#var:e{{#var:k}}}}|1|{{#len:{{#var:e{{#var:k}}}} }} }}|!}}
{|class="wikitable  mw-outercollapse mw-collapsible mw-collapsed"  
{|class="wikitable  mw-outercollapse mw-collapsible mw-collapsed"  
!{{{1}}} Accession numbers  
!{{{1}}} Accession numbers  
Line 60: Line 36:
<tr><td>{{#var:EXPMETHOD_URLed}}<td> <td>{{#var:LIBID_URLed}}</td><tr>  
<tr><td>{{#var:EXPMETHOD_URLed}}<td> <td>{{#var:LIBID_URLed}}</td><tr>  
}} </table>
}} </table>
{|class="wikitable mw-collapsible mw-innercollapse" style="width:auto"  
{|class="wikitable mw-collapsible mw-innercollapse" style="width:auto"  
!Library accession numbers
!Library accession numbers
Line 73: Line 48:
</table>
</table>
<!-- bam&ctss accession ID table (Hg19 Mm9) -->
<!-- bam&ctss accession ID table (Hg19 Mm9) -->
<br/>
{|class="wikitable mw-collapsible mw-innercollapse" style="width:auto"  
{|class="wikitable mw-collapsible mw-innercollapse" style="width:auto"  
!Accession ID {{#var:header_species1}}
!Accession ID {{#var:header_species1}}
Line 88: Line 62:
<!-- end of bam&ctss accession ID table -->
<!-- end of bam&ctss accession ID table -->
<!-- bam&ctss accession ID table (Hg38 Mm10) -->
<!-- bam&ctss accession ID table (Hg38 Mm10) -->
{{#vardefine:kekka_firstline|{{#arrayindex:kekka|0}}}}
{{#vardefine:kekka_firstline|{{#arrayindex:kekka|0}}}}{{#arraydefine:kekka_firstarry|{{#var:kekka_firstline}}|;}}{{#vardefine:disp|{{#if:{{#arrayindex:kekka_firstarry|5}}||display:none}}}}{|class="wikitable mw-collapsible mw-innercollapse" style="width:auto;{{#var:disp}}"  
{{#arraydefine:kekka_firstarry|{{#var:kekka_firstline}}|;}}
{{#vardefine:disp|{{#if:{{#arrayindex:kekka_firstarry|5}}||display:none}}}}
{|class="wikitable mw-collapsible mw-innercollapse" style="width:auto;{{#var:disp}}"  
!Accession ID {{#var:header_species2}}
!Accession ID {{#var:header_species2}}
|-
|-
|<br/><table cellspacing="0" border="1"><tr><th>Library id</th><th></th><th>BAM</th><th></th><th>CTSS</th></tr>
|<table cellspacing="0" border="1"><tr><th>Library id</th><th></th><th>BAM</th><th></th><th>CTSS</th></tr>
{{#loop: q
{{#loop: q
   | 0           
   | 0           

Latest revision as of 17:31, 8 August 2017

{{{1}}} Accession numbers
MethodSample accession id
{{{2}}} 
Library accession numbers

Library idMethodExp. accession idRun accession id
{{{4}}} {{{3}}}
Accession ID

Library idBAMCTSS
{{{4}}}