[Bio] / RAST / CloseStrains.tt2 Repository:
ViewVC logotype

View of /RAST/CloseStrains.tt2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (download) (annotate)
Tue Jul 8 21:22:12 2014 UTC (5 years, 8 months ago) by olson
Branch: MAIN
CVS Tags: rast_rel_2014_0729
Changes since 1.2: +8 -1 lines
Latest mods.

<h1>Close Strains</h1>

[% IF strain_sets.size > 0 %]

<h2>Available close strain sets</h2>

[% FOR set IN strain_sets %]

[% IF set.status == 'complete' %]
<h3><a href="[% set.url %]">[% set.name %]</a></h3>
[% ELSE %]
<h3>[% set.name %]</h3>
[% END %]

<table>
<tr>
<td>Computation status for this set:</td><td>[% set.status %]</td>
</tr>
<tr>
<td>Last update:</td><td>[% set.last_update %]</td>
</tr>
</table>
<p><a href='?page=[% this_page %]&job=[% this_job.job_id %]'>Click here to update page</a><p>

<table>
<tr><th>RAST job id</th><th>Genome name</th></tr>
[% FOR rast IN set.rast %]
<tr><td>[% rast.job_id %]</td><td>[% rast.name %]</td></tr>
[% END %]
<tr><th>Reference genome id</th><th>Genome name</th></tr>
[% FOR ref IN set.ref %]
<tr><td>[% ref.genome_id %]</td><td>[% ref.name %]</td></tr>
[% END %]
</table>

[% END %]

[% ELSE %]

<h2>No strain sets currently computed </h2>

[% END %]

<hr>

<h2> Select genomes to create close strains set</h2>

<form name="create_close_strains" method="POST" enctype="multipart/form-data">
<input type="hidden" name="page" value="[% this_page %]">
<input type="hidden" name="job" value="[% this_job.job_id %]">
<table>
<tr><th>RAST job id</th><th>Genome name</th></tr>
[% FOR rast IN avail_jobs %]
<tr><td>[% rast.job_id %]</td><td>[% rast.name %]</td></tr>
[% END %]
<tr><th>Reference genome id</th><th>Genome name</th></tr>
[% FOR ref IN avail_refs %]
<tr><td>[% ref.genome_id %]</td><td>[% ref.name %]</td>
<td><input type="checkbox" [% IF ref.default %] checked [% END %] name="ref_[% ref.genome_id %]"></td>
</tr>
[% END %]
</table>
<input type="submit" value="Create Close Strains Set" name="create_set">
</form>

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3