gatk-3.8/settings/helpTemplates/generic.template.html

297 lines
9.6 KiB
HTML
Raw Normal View History

2014-08-15 13:04:26 +08:00
<?php
include '../../../common/include/common.php';
include_once '../../config.php';
2014-08-15 13:04:26 +08:00
$module = modules::GATK;
printHeader($module, "GATK | Tool Documentation Index", "Guide");
2014-08-15 13:04:26 +08:00
?>
<div class='row-fluid' id="top">
<#include "common.html"/>
<#macro argumentlist name myargs>
<#if myargs?size != 0>
<tr>
<th colspan="4" id="row-divider">${name}</th>
</tr>
<#list myargs as arg>
<tr>
<td><a href="#${arg.name}">${arg.name}</a><br />
2014-08-19 05:35:51 +08:00
<#if arg.synonyms != "NA">
<#if arg.name[2..] != arg.synonyms[1..]>
&nbsp;<em>${arg.synonyms}</em>
</#if>
</#if>
</td>
<!--<td>${arg.type}</td> -->
2011-08-11 10:22:57 +08:00
<td>${arg.defaultValue!"NA"}</td>
<td>${arg.summary}</td>
</tr>
</#list>
</#if>
</#macro>
<#macro argumentDetails arg>
<hr style="border-bottom: dotted 1px #C0C0C0;" />
<h3><a name="${arg.name}">${arg.name} </a>
<#if arg.synonyms??> / <small>${arg.synonyms}</small></#if>
</h3>
<p class="args">
<b>${arg.summary}</b><br />
${arg.fulltext}
</p>
2014-08-19 05:35:51 +08:00
<#if arg.rodTypes != "NA">
<p>This argument supports reference-ordered data (ROD) files in the following formats: ${arg.rodTypes}</p>
</#if>
<#if arg.otherArgumentRequired != "NA">
<p><b>Dependency:</b> This argument requires that you also specify <code>${arg.otherArgumentRequired}</code>.</p>
</#if>
<#if arg.exclusiveOf != "NA">
<p><b>Exclusion:</b> This argument cannot be used at the same time as <code>${arg.exclusiveOf}</code>.</p>
</#if>
2014-08-19 05:35:51 +08:00
<#if arg.options?has_content>
<p>
The ${arg.name} argument is an enumerated type (${arg.type}), which can have one of the following values:
<dl class="enum">
<#list arg.options as option>
<dt class="enum">${option.name}</dt>
<dd class="enum">${option.summary}</dd>
</#list>
</dl>
</p>
</#if>
2014-08-19 05:35:51 +08:00
<p><#if arg.required != "NA">
<#if arg.required == "yes">
<span class="badge badge-important">R</span>
</#if>
</#if>
<span class="label label-info ">${arg.type}</span>
<#if arg.defaultValue?has_content>
&nbsp;<span class="label">${arg.defaultValue}</span>
</#if>
2014-08-19 05:35:51 +08:00
<#if arg.minValue?is_number>
&nbsp;<span class="label label-warning">[ [ ${arg.minValue}</span>
</#if>
2014-08-19 05:35:51 +08:00
<#if arg.minRecValue?is_number>
&nbsp;<span class="label label-success">[ ${arg.minRecValue}</span>
</#if>
2014-08-19 05:35:51 +08:00
<#if arg.maxRecValue?is_number>
&nbsp;<span class="label label-success">${arg.maxRecValue} ]</span>
</#if>
2014-08-19 05:35:51 +08:00
<#if arg.maxValue?is_number>
&nbsp;<span class="label label-warning">${arg.maxValue} ] ]</span>
</#if>
</p>
</#macro>
<#macro relatedByType name type>
<#list relatedDocs as relatedDoc>
<#if relatedDoc.relation == type>
<h3>${name}</h3>
<ul>
<#list relatedDocs as relatedDoc>
<#if relatedDoc.relation == type>
<li><a href="${relatedDoc.filename}">${relatedDoc.name}</a> is a ${relatedDoc.relation}</li>
</#if>
</#list>
</ul>
<#break>
</#if>
</#list>
</#macro>
<?php $group = '${group}'; ?>
2014-08-15 13:04:26 +08:00
<section class="span4">
2014-08-15 13:04:26 +08:00
<aside class="well">
<a href="index"><h4><i class='fa fa-chevron-left'></i> Back to Tool Docs Index</h4></a>
</aside>
<aside class="well">
<h2>Categories</h2>
<@getCategories groups=groups />
</aside>
<?php getForumPosts( '${name}' ) ?>
</section>
<div class="span8">
<h1>${name}</h1>
<p class="lead">${summary}</p>
<#if group?? >
<h3>Category
<small> ${group}</small>
</h3>
</#if>
<#if walkertype != "">
<h3>Traversal
<small>${walkertype}</small>
</h3>
</#if>
<#if walkertype != "">
<h3>PartitionBy
<small>${partitiontype}</small>
</h3>
</#if>
<#if annotfield != "" >
<h3>VCF Field
<small>${annotfield}</small>
</h3>
</#if>
<#if annotinfo != "" >
<h3>Type
<small>${annotinfo}</small>
</h3>
</#if>
2014-08-19 05:35:51 +08:00
<#if annotdescript?has_content >
<h3>Header definition line <br />
2014-08-19 05:35:51 +08:00
<small>
<#list annotdescript as line>
<li><pre>${line}</pre></li>
</#list>
</small>
</h3>
</#if>
<hr>
Fixed issues raised by Appistry QA (mostly small fixes, corrections & clarifications to GATKDocs) GATK-73 updated docs for bqsr args GATK-9 differentiate CountRODs from CountRODsByRef GATK-76 generate GATKDoc for CatVariants GATK-4 made resource arg required GATK-10 added -o, some docs to CountMales; some docs to CountLoci GATK-11 fixed by MC's -o change; straightened out the docs. GATK-77 fixed references to wiki GATK-76 Added Ami's doc block GATK-14 Added note that these annotations can only be used with VariantAnnotator GATK-15 specified required=false for two arguments GATK-23 Added documentation block GATK-33 Added documentation GATK-34 Added documentation GATK-32 Corrected arg name and docstring in DiffObjects GATK-32 Added note to DO doc about reference (required but unused) GATK-29 Added doc block to CountIntervals GATK-31 Added @Output PrintStream to enable -o GATK-35 Touched up docs GATK-36 Touched up docs, specified verbosity is optional GATK-60 Corrected GContent annot module location in gatkdocs GATK-68 touched up docs and arg docstrings GATK-16 Added note of caution about calling RODRequiringAnnotations as a group GATK-61 Added run requirements (num samples, min genotype quality) Tweaked template and generic doc block formatting (h2 to h3 titles) GATK-62 Added a caveat to HR annot Made experimental annotation hidden GATK-75 Added setup info regarding BWA GATK-22 Clarified some argument requirements GATK-48 Clarified -G doc comments GATK-67 Added arg requirement GATK-58 Added annotation and usage docs GSATDG-96 Corrected doc Updated MD5 for DiffObjectsIntegrationTests (only change is link in table title)
2013-03-06 02:58:50 +08:00
<h2>Overview</h2>
${description}
<#-- Create references to additional capabilities if appropriate -->
<#if readfilters?size != 0 || parallel?size != 0>
<hr>
<h2>Additional Information</h2>
<p></p>
</#if>
<#if readfilters?size != 0>
<h3>Read filters</h3>
<#if readfilters?size = 1>
<p>This Read Filter is automatically applied to the data by the Engine before processing by ${name}.</p>
</#if>
<#if (readfilters?size > 1) >
<p>These Read Filters are automatically applied to the data by the Engine before processing by ${name}.</p>
</#if>
<ul>
<#list readfilters as filter>
<li><a href="${filter.filename}">${filter.name}</a></li>
</#list>
</ul>
</#if>
<#if parallel?size != 0>
<h3>Parallelism options</h3>
<#if parallel?size == 1>
<p>This tool can be run in multi-threaded mode using this option.</p>
</#if>
<#if (parallel?size > 1)>
<p>This tool can be run in multi-threaded mode using these options.</p>
</#if>
<ul>
<#list parallel as option>
<li><a href="${option.link}">${option.name} (${option.arg})</a></li>
</#list>
</ul>
</#if>
<#if downsampling?size != 0>
<h3>Downsampling settings</h3>
<#if downsampling.by == "NONE">
<p>This tool does not apply any downsampling by default.</p>
</#if>
<#if downsampling.by != "NONE">
<p>This tool applies the following downsampling settings by default.</p>
<ul>
<li>Mode: <b>${downsampling.by}</b></li>
<li>To coverage: <b>${downsampling.to_cov}</b></li>
</ul>
</#if>
</#if>
<#if refwindow?size != 0>
<h3>Window size</h3>
<p>This tool uses a sliding window on the reference.</p>
<ul>
<li>Window start: <b>${refwindow.start}</b> bp before the locus</li>
<li>Window stop: <b>${refwindow.stop}</b> bp after the locus</li>
</ul>
</#if>
<#if activeregion?size != 0>
<h3>ActiveRegion settings</h3>
<p>This tool uses ActiveRegions on the reference.</p>
<ul>
<li>Minimum region size: <b>${activeregion.min}</b> bp</li>
<li>Maximum region size: <b>${activeregion.max}</b> bp</li>
<li>Extension increments: <b>${activeregion.ext}</b> bp</li>
</ul>
</#if>
<#if extradocs?size != 0 || arguments.all?size != 0>
<hr>
<h2>Command-line Arguments</h2>
<p></p>
</#if>
<#if extradocs?size != 0>
<h3>Engine arguments</h3>
<p>All tools inherit arguments from the GATK Engine' "CommandLineGATK" argument collection, which can be
used to modify various aspects of the tool's function. For example, the -L argument directs the GATK
engine to restrict processing to specific genomic intervals; or the -rf argument allows you to apply
certain read filters to exclude some of the data from the analysis.</p>
<ul>
<#list extradocs as extradoc>
<li><a href="${extradoc.filename}">${extradoc.name}</a></li>
</#list>
</ul>
</#if>
<#-- This class is related to other documented classes via sub/super relationships -->
<#if relatedDocs?? && relatedDocs?size != 0>
<h3>Related capabilities</h3>
<@relatedByType name="Superclasses" type="superclass"/>
<@relatedByType name="Subclasses" type="subclass"/>
</#if>
<#-- Create the argument summary -->
<#if arguments.all?size != 0>
<h3>${name} specific arguments</h3>
<p>This table summarizes the command-line arguments that are specific to this tool. For more details on each argument, see the list further down below the table or click on an argument name to jump directly to that entry in the list.</p>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Argument name(s)</th>
<th>Default value</th>
<th>Summary</th>
</tr>
</thead>
<tbody>
<@argumentlist name="Required Inputs" myargs=arguments.required_in/>
<@argumentlist name="Required Outputs" myargs=arguments.required_out/>
<@argumentlist name="Required Parameters" myargs=arguments.required_param/>
<@argumentlist name="Required Flags" myargs=arguments.required_flag/>
<@argumentlist name="Optional Inputs" myargs=arguments.optional_in/>
<@argumentlist name="Optional Outputs" myargs=arguments.optional_out/>
<@argumentlist name="Optional Parameters" myargs=arguments.optional_param/>
<@argumentlist name="Optional Flags" myargs=arguments.optional_flag/>
<@argumentlist name="Advanced Inputs" myargs=arguments.advanced_in/>
<@argumentlist name="Advanced Outputs" myargs=arguments.advanced_out/>
<@argumentlist name="Advanced Parameters" myargs=arguments.advanced_param/>
<@argumentlist name="Advanced Flags" myargs=arguments.advanced_flag/>
<@argumentlist name="Hidden" myargs=arguments.hidden/>
<@argumentlist name="Deprecated" myargs=arguments.deprecated/>
</tbody>
</table>
</#if>
<#-- List all of the things -->
<#if arguments.all?size != 0>
<#-- Create the argument details -->
<h3>Argument details</h3>
<p>Arguments in this list are specific to this tool. Keep in mind that other arguments are available that are shared with other tools (e.g. command-line GATK arguments); see Inherited arguments above.</p>
<#list arguments.all as arg>
<@argumentDetails arg=arg/>
</#list>
</#if>
<@footerInfo />
<@footerClose />
2014-08-15 13:04:26 +08:00
</div>
<?php printFooter($module); ?>