Personal tools

Template:DRAAccessionNumbers: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
mNo edit summary
No edit summary
Line 1: Line 1:
{{#vardefine:DRA_sample_accession_content|{{{1}}}}}{{#vardefine:accession_numbers_content|{{{2}}}}}{{#vardefine:library_ids_content|{{{3}}}}}{{#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,BAM accession id,CTSS accession id|;}}
{{#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,BAM accession id{{#ifexpr:{{#pos:{{{1}}}|NA-Seq}}||,CTSS accession id}}|;}}
{{#arraydefine:headers_sample_access_numbers|Method,Sample accession id|;}}{{#arraydefine:y-1|}}{{#arraydefine:k-1|}}{{#vardefine:e-1|}}{{#vardefine:t-1|}}{{#loop: k
{{#arraydefine:headers_sample_access_numbers|Method,Sample accession id|;}}{{#arraydefine:y-1|}}{{#arraydefine:k-1|}}{{#vardefine:e-1|}}{{#vardefine:t-1|}}{{#loop: k
   | 0           
   | 0           
Line 29: Line 29:
{{#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"  
!Accession numbers  
!{{{1}}} Accession numbers  
|-
|-
|<table cellspacing="0" border="1"><tr><th>{{#replace:{{#arrayprint:headers_sample_access_numbers}}|,|</th><th></th><th>}}</tr>{{#loop: j
|<table cellspacing="0" border="1"><tr><th>{{#replace:{{#arrayprint:headers_sample_access_numbers}}|,|</th><th></th><th>}}</tr>{{#loop: j
Line 52: Line 52:
|}
|}
|}
|}
<br>

Revision as of 17:35, 12 May 2017

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

Library idMethodExp. accession idRun accession idBAM accession idCTSS accession id
{{{4}}} {{{3}}}