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

View of /RAST/Upload3p3.tt2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (download) (annotate)
Thu Jan 20 17:07:44 2011 UTC (9 years, 1 month ago) by olson
Branch: MAIN
CVS Tags: mgrast_dev_02212011, myrast_33, mgrast_dev_02222011, rast_rel_2011_0119
Changes since 1.9: +7 -0 lines
Add support for disabling cache jobs for admins.

<script type="text/javascript">
function check_gene_caller(form)
{
    var oRadio = form.elements["gene_caller"];
    var value;

    if (oRadio.tagName == "SELECT")
    {
	value = oRadio.options[oRadio.selectedIndex].value;
    }
    else
    {
	for(var i = 0; i < oRadio.length; i++) {
	    
	    if(oRadio[i].checked) {
		value = oRadio[i].value;
		break;
	    }
	}
    }

    var fix_errors = form.elements["fix_errors"];
    var fix_frameshifts = form.elements["fix_frameshifts"];
    var backfill = form.elements["backfill_gaps"];
    if (value == "glimmer3" || value == "keep")
    {
	fix_errors.checked = false;
	fix_frameshifts.checked = false;
	backfill.checked = false;

	if (value == "glimmer3")
	{
	    determine_family.checked = false;
	    determine_family.disabled = true;
	}
	else
	{
	    determine_family.disabled = false;
	}

	fix_errors.disabled = true;
	fix_frameshifts.disabled = true;
	backfill.disabled = true;
    }
    else
    {
	fix_errors.disabled = false;
	fix_frameshifts.disabled = false;
	backfill.disabled = false;
	determine_family.disabled = false;
    }
}

</script>


[% form.jshead %]
<h1> Upload a Genome </h1>
<h2>Complete Upload</h2>
[% form.start %]
<p>
<strong>By answering the following questions you will help us improve our ability to track problems in processing your genome:</strong>
<p>

<fieldset>
<legend>Optional information:</legend>
<table>
<tr>
<td> Sequencing Method </td>
<td> [% form.field.sequencing_method.field %] </td>
</tr>
<tr>
<td> Coverage </td>
<td> [% form.field.coverage.field %] </td>
</tr>
<tr>
<td> Number of contigs </td>
<td> [% form.field.number_of_contigs.field %] </td>
</tr>
<tr>
<td> Average Read Length </td>
<td> [% form.field.read_length.field %] <i>(leave blank if unknown)</i> </td>
</tr>
</table>
</fieldset>
<p>
<strong>Please consider the following options for the RAST annotation pipeline:</strong>
</p>
<fieldset>
<legend>RAST Annotation Settings:</legend>
<table>
<tr>
<td> Select gene caller</td>
<td> [% form.field.gene_caller.field %] </td>
<td><i>Please select which type of gene calling you would like RAST to perform. Note that using GLIMMER-3 will disable automatic error fixing, frameshift correction and the backfilling of gaps.</i></td>
</tr>
[% IF domain != "Virus" %]
<tr>
<td> Automatically fix errors?</td>
<td> [% form.field.fix_errors.field %] </td>
<td><i>The automatic annotation process may run into problems, such as gene candidates overlapping RNAs, or genes embedded inside other genes. To automatically resolve these problems (even if that requires deleting some gene candidates), please check this box.
</i></td>
</tr>
[% END %]
<tr>
<td> Fix frameshifts?</td>
<td> [% form.field.fix_frameshifts.field %] </td>
<td><i>If you wish for the pipeline to fix frameshifts, check this option. Otherwise frameshifts will not be corrected.</i></td>
</tr>
[% IF user_is_admin || user_is_advanced %]
<tr>
<td> Determine FIGFAM membership for assignments? </td>
<td> [% form.field.determine_family.field %] </td>
<td><i>If you wish RAST to narrow each functional role called to the particular FIGFAM that induced it, check this option.</i></td>
</tr>
[% END %]
[% IF allow_model_building || user_is_advanced %]
<tr>
<td> Build metabolic model? </td>
<td> [% form.field.build_models.field %] </td>
<td><i>If you wish RAST to build a metabolic model for this genome, check this option.</i></td>
</tr>
[% END %]
<tr>
<td> Backfill gaps?</td>
<td> [% form.field.backfill_gaps.field %] </td>
<td><i>If you wish for the pipeline to blast large gaps for missing genes, check this option.</i></td>
</tr>
<tr>
<td> Turn on debug?</td>
<td> [% form.field.enable_debug.field %] </td>
<td><i>If you wish debug statements to be printed for this job, check this box.</i></td>
</tr>
<tr>
<td> Set verbose level </td>
<td> [% form.field.verbose_level.field %] </td>
<td><i>Set this to the verbosity level of choice for error messages.</i></td>
</tr>
[% IF user_is_admin %]
<tr>
<td> Disable replication </td>
<td> [% form.field.disable_replication.field %] </td>
<td><i>Even if this job is identical to a previous job, run it from scratch.</i></td>
</tr>
[% END %]
</table>
</fieldset>

[% form.submit %]
[% form.end %]


MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3