Commit d1b301f0 authored by Audrey Gibert's avatar Audrey Gibert

[AlignmentStats.tpl]

Little display correction #132
parent eaeee36f
......@@ -111,10 +111,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{assign var="mapped" value=" "|explode:$sample_results["default"].mapped}
{assign var="properlypaired" value=" "|explode:$sample_results["default"].properlypaired}
{assign var="singletons" value=" "|explode:$sample_results["default"].singletons}
<td>{$mapped[0]|number_format:0:' ':' '} {$mapped[1]}</td>
<td>{$properlypaired[0]|number_format:0:' ':' '} {$properlypaired[1]}</td>
<td>{$mapped[0]|number_format:0:' ':' '} {$mapped[1]}{$mapped[2]}</td>
<td>{$properlypaired[0]|number_format:0:' ':' '} {$properlypaired[1]}{$properlypaired[2]}</td>
<td>{$sample_results["default"].matemapped|number_format:0:' ':' '}</td>
<td>{$singletons[0]|number_format:0:' ':' '} {$singletons[1]}</td>
<td>{$singletons[0]|number_format:0:' ':' '} {$singletons[1]}{$singletons[2]}</td>
<td>{$sample_results["default"].mapch1|number_format:0:' ':' '}</td>
<td>{$sample_results["default"].supplementary|number_format:0:' ':' '}</td>
{if !isset($sample_results["default"]["pairOpticalDuplicates"]) }
......@@ -122,7 +122,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<td>-</td>
<td>-</td>
{else}
<td>{($sample_results["default"].pairDuplicates*2 + $sample_results["default"].unpairDuplicates)|number_format:0:' ':' '} ({$sample_results["default"].percentDuplication}*100%)</td>
<td>{($sample_results["default"].pairDuplicates*2 + $sample_results["default"].unpairDuplicates)|number_format:0:' ':' '} ({$sample_results["default"].percentDuplication*100}%)</td>
<td>{$sample_results["default"].pairDuplicates|number_format:0:' ':' '}</td>
<td>{$sample_results["default"].pairOpticalDuplicates|number_format:0:' ':' '}</td>
{/if}
......
Markdown is supported
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