Commit 1667758a authored by Maxime Manno's avatar Maxime Manno 🍜
Browse files

Update run_stats template : barcode results table

parent 272ab220
......@@ -73,14 +73,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{assign var='barcode_name_count' value=$barcode_name_sample|@count}
{*debug*}
<div>
<legend>Analyse results report - Sample name : {$descriptions.sample_1}</legend>
{assign var='data_col' value=2}
<div class="row">
{if $metrics['basic']}
<div class="col-md-4 col-lg-4">
<table id="ont_table_basic" class="table table-striped table-bordered dataTable analysis-result-table">
<table id="ont_table_basic" class="table table-striped table-bordered dataTable">
<thead><tr><th colspan="2"><h4>Basic matrics report</h4></thead></tr></th>
<tbody>
{foreach from=$basic_headers key=k item=head}
......@@ -101,7 +101,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{/if}
{if $metrics['quality']}
<div class="col-md-4 col-lg-4">
<table id="ont_table_quality" class="table table-striped table-bordered dataTable analysis-result-table">
<table id="ont_table_quality" class="table table-striped table-bordered dataTable">
<thead><tr><th colspan="2"><h4>Quality report</h4></thead></tr></th>
<tbody>
{foreach from=$quality_headers key=k item=head}
......@@ -125,7 +125,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{/if}
{if $metrics['plots']}
<div class="col-md-3 col-lg-3">
<table id="ont_table_plot" class="table table-striped table-bordered dataTable analysis-result-table">
<table id="ont_table_plot" class="table table-striped table-bordered dataTable">
<thead><tr><th colspan="2"><h4>Plots report</h4></h4></thead></tr></th>
<tbody>
{foreach from=$plots_headers key=k item=head}
......@@ -149,7 +149,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div>
{/if}
</div>
</div>
......@@ -169,27 +169,27 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{assign var="th_id" value=2}
{foreach from=$barcode_headers key=k item=head}
{if $head == 'total_bases'}
<th class = "numeric-sort" id="th_id_{$th_id}">Total bases</th>
<th class = "numeric-sort" id="th_id_{$th_id}">Total_bases</th>
{elseif $head == 'nb_reads'}
<th class = "numeric-sort" id="th_id_{$th_id}">Nb reads</th>
<th class = "numeric-sort" id="th_id_{$th_id}">Nb_reads</th>
{elseif $head == 'median_read_length'}
<th class = "numeric-sort" id="th_id_{$th_id}">Median read length</th>
<th class = "numeric-sort" id="th_id_{$th_id}">Median read_length</th>
{elseif $head == 'median_read_quality'}
<th class = "numeric-sort" id="th_id_{$th_id}">Median read quality</th>
<th class = "numeric-sort" id="th_id_{$th_id}">Median read_quality</th>
{elseif $head == 'N50_read_length'}
<th class = "numeric-sort" id="th_id_{$th_id}">N50 read length</th>
<th class = "numeric-sort" id="th_id_{$th_id}">N50 read_length</th>
{elseif $head == 'L50_read_length'}
<th class = "numeric-sort" id="th_id_{$th_id}">L50 read length</th>
<th class = "numeric-sort" id="th_id_{$th_id}">L50 read_length</th>
{elseif $head == 'barcode_score'}
<th class = "numeric-sort" id="th_id_{$th_id}">Barcode score</th>
<th class = "numeric-sort" id="th_id_{$th_id}">Barcode_score</th>
{elseif $head == 'nb_read_Q>10'}
<th class = "numeric-sort" id="th_id_{$th_id}">Nb reads Q>10</th>
<th class = "numeric-sort" id="th_id_{$th_id}">Nb_reads Q>10</th>
{elseif $head == 'total_bases_Q>10'}
<th class = "numeric-sort" id="th_id_{$th_id}">Total bases Q>10</th>
<th class = "numeric-sort" id="th_id_{$th_id}">Total_bases Q>10</th>
{elseif $head == 'median_yield_per_sec'}
<th class = "numeric-sort" id="th_id_{$th_id}">Median yield per sec</th>
<th class = "numeric-sort" id="th_id_{$th_id}">Median yield_per_sec</th>
{elseif $head == 'nb_actif_channel'}
<th class = "numeric-sort" id="th_id_{$th_id}">Nb actif channel</th>
<th class = "numeric-sort" id="th_id_{$th_id}">Nb actif_channel</th>
{/if}
{$th_id = $th_id +1}
{/foreach}
......@@ -363,5 +363,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</ul>
</span>
</div>
{if $barcode_name_count > 1 }
<div class="tx-nG6-pi1-help">
<img src="" alt="" class="img" />
<p>Help for Barcode ONT results :</p>
<span class="meta">
<ul>
<li><strong>Barcode score</strong> :
The quality score of the barcode alignment.
</li>
</ul>
</span>
</div>
{/if}
{/block}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment