Commit 9b127cf1 authored by Penom Nom's avatar Penom Nom
Browse files

Use parameter format : ARG=VALUE.

parent 8c8c27fb
......@@ -19,23 +19,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{block name=params_title} Parameters used {/block}
{block name=params_content}
{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("-HISTOGRAM_WIDTH", $params)}
{assign var="histogram_width" value=$params|@array_keys:"-HISTOGRAM_WIDTH"}
<li class="parameter">The inserts with length <= {$params[$histogram_width[0]+1]}bp are used in mean and standard deviation calculation and in the graph.</li>
{/if}
{if in_array("-MINIMUM_PCT", $params)}
{assign var="minimum_pct" value=$params|@array_keys:"-MINIMUM_PCT"}
<li class="parameter">Discard any data categories (out of FR, TANDEM, RF) that have fewer than {$params[$minimum_pct[0]+1]*100}% of overall reads.</li>
{/if}
{if in_array("-VALIDATION_STRINGENCY", $params)}
{assign var="validation_stringency" value=$params|@array_keys:"-VALIDATION_STRINGENCY"}
<li class="parameter">Validation stringency for all SAM files are {$params[$validation_stringency[0]+1]}.</li>
{foreach from=" "|explode:$analyse.params item=param}
{assign var="split_param" value='='|explode:$param}
{if $split_param[0] == "HISTOGRAM_WIDTH"}
<li class="parameter">The inserts with length <= {$split_param[1]}bp are used in mean and standard deviation calculation and in the graph ({$split_param[0]}={$split_param[1]}).</li>
{elseif $split_param[0] == "MINIMUM_PCT"}
<li class="parameter">Discard any data categories (out of FR, TANDEM, RF) that have fewer than {$split_param[1]*100}% of overall reads ({$split_param[0]}={$split_param[1]}).</li>
{elseif $split_param[0] == "VALIDATION_STRINGENCY"}
<li class="parameter">Validation stringency for all SAM files are {$split_param[1]} ({$split_param[0]}={$split_param[1]}).</li>
{/if}
{/foreach}
</ul>
{/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