Skip to content
Snippets Groups Projects
Commit c12898c5 authored by gsalin's avatar gsalin
Browse files

correct unclassified way of identify them (changed over time)

parent 33167399
No related branches found
No related tags found
1 merge request!160update demulitplexont analysis in NG6
......@@ -54,10 +54,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</thead>
<tbody>
{foreach from=$stats_metrics key=fastq item=fastq_metrics}
{if $fastq != "unclassified_noBarcode"}<tr><th>{$fastq}</th>{/if}
{if $fastq|regex_replace:"/unclassified/":"" == $fastq}<tr><th>{$fastq}</th>{/if}
{foreach from=$stats_headers key=k item=stat}
{if $fastq == "unclassified_noBarcode"}
{if $fastq|regex_replace:"/unclassified/":"" !== $fastq}
{if $stat == "num_seqs"}{$totalNbSequenceswithoutBarcode=$totalNbSequenceswithoutBarcode+$fastq_metrics[$stat]|replace:',':''|replace:'.':','}{/if}
{if $stat == "sum_len"}{$totalLengthwithoutBarcode=$totalLengthwithoutBarcode+$fastq_metrics[$stat]|replace:',':''|replace:'.':','}{/if}
{else}
......@@ -74,7 +73,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{if $stat == "N50"}{$totalN50=$totalN50+$fastq_metrics[$stat]|replace:',':''|replace:'.':','}{/if}
{/if}
{/foreach}
{if $fastq != "unclassified_noBarcode"}</tr>{/if}
{if $fastq|regex_replace:"/unclassified/":"" == $fastq}</tr>{/if}
{/foreach}
</tbody>
{if $analyse_results|@count > 1 }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment