Commit dc8c1d00 authored by maxime mano's avatar maxime mano
Browse files

Amélioration de l'affichage des paramètres

parent e94e96d6
......@@ -17,6 +17,36 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{extends file='AnalysisTemplate.tpl'}
{block name=params}
{assign var="params" value=" "|explode:$analyse.params}
{foreach from=$analyse_results key=sample item=sample_results}
{assign var="sample" value=$sample}
{/foreach}
<ul>
{if in_array("minSubReadLength", $params)}
{assign var="minSubReadLength" value=$params|@array_keys:"minSubReadLength"}
<li class="parameter">Subreads shorter than {$params[$minSubReadLength[0]+1]} (in base pairs) are filtered out and excluded from analysis.</li>
{/if}
{if in_array("readScore", $params)}
{assign var="polymerase_read_qual" value=$params|@array_keys:"readScore"}
<li class="parameter">Polymerase reads with lower quality than {$params[$polymerase_read_qual[0]+1]} are filtered out and excluded from analysis. </li>
{/if}
{if in_array("minLength", $params)}
{assign var="polymerase_read_length" value=$params|@array_keys:"minLength"}
<li class="parameter">Polymerase reads shorter than {$params[$polymerase_read_length[0]+1]} (in base pairs) are filtered out and excluded from analysis.</li>
{/if}
{if in_array("barcode_file", $params)}
{assign var="barcode_file" value=$params|@array_keys:"barcode_file"}
<li class="parameter">Input barcode file : {$params[$barcode_file[0]+1]}.</li>
{/if}
{if in_array("barcode_score", $params)}
{assign var="barcode_score" value=$params|@array_keys:"barcode_score"}
<li class="parameter">Min identical base for barcode : {$params[$barcode_score[0]+1]}.</li>
{/if}
</ul>
{/block}
{block name=results_title} Reports {/block}
{block name=results}
{assign var="analyse_results_sorted" value=$analyse_results|@ksort}
......@@ -303,6 +333,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</ul>
</span>
</div>
{/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