/usr/share/ray/scripts/xsl-xml/SequenceAbundances-to-html-tables.xsl is in ray-extra 2.3.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<style>
body{
font-family: Arial;
}
table{
margin: 40px;
}
th{
background-color:green;
color:white;
border: 1px solid black;
padding:15px;
}
td{
width: 200px;
padding:15px;
border: 1px solid black;
}
</style>
<title>
Sample: <xsl:value-of select="root/sample"/>
</title>
</head>
<body>
<h1>Sample: <xsl:value-of select="root/sample"/></h1>
<h2>Demultiplexed biological abundances from BiologicalAbundances/<xsl:value-of select="root/searchDirectory"/>/BiologicalAbundances.xml</h2>
<h2>Produced by Ray technologies</h2>
<div>
Total assembled k-mer observations:
<xsl:value-of select="root/totalAssembledKmerObservations"/>
</div>
<table><caption>Detected sequences</caption><tbody>
<tr><th>File</th><th>Sequence</th><th>Demultiplexed k-mer observations</th><th>Proportion</th></tr>
<xsl:for-each select="root/entry">
<xsl:sort data-type="number" order="descending" select="demultiplexedKmerObservations" />
<xsl:if test="demultiplexedKmerObservations/text() != '0'">
<tr><td>
<xsl:value-of select="file"/></td><td>
<xsl:value-of select="name"/></td><td>
<xsl:value-of select="demultiplexedKmerObservations"/> </td><td>
<xsl:value-of select="100* proportion"/>%</td></tr>
</xsl:if>
</xsl:for-each>
</tbody></table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
|