" type="text/css"/> " type="text/css"/>

Run ${run.name}

: ${run.name}
:
: ${run.supplier}
: ${run.machine}
:
Edit run
: ${run.assays?.size()} <% def numHidden = run.assays?.findAll { !it.study.canRead( session.user ) }.size() ; %> (${numHidden} hidden)
: ${run.assaySamples?.size()} <% numHidden = run.assaySamples?.findAll { !it.assay?.study.canRead( session.user ) }.size() ; %> (${numHidden} hidden)
: ${run.numSequences()}
: ${run.numFiles()}

Samples

No samples found in run. <% def assaySamples = run.assaySamples.findAll { it.assay?.study.canRead( session.user ) }.toList().sort { it.sample.name }; %>
name study assay tag name tag sequence # sequences # qual
${assaySample.sample.name} ${assaySample.assay.study.name} ${assaySample.assay.name} ${assaySample.tagName} ${assaySample.tagSequence} ${assaySample.numSequences()} - ${assaySample.numQualScores()} -
<% def writableAssaySamples = assaySamples.findAll { it.assay.study.canWrite( session.user ) } %> disabled="disabled">

Assays

No assay found for this run <% def assays = run.assays.findAll { it.study.canRead( session.user ) }.toList().sort { it.name }; %>
name study # samples other runs
${assay.name} ${assay.study?.name} ${assay.assaySamples?.size()} <% /* If only 1 run is found, then it is the current one */ %> - ${otherRun.name}
<% def writableAssays = otherAssays.findAll { it.study.canWrite( session.user ) } %>