180 lines
6.3 KiB
HTML
180 lines
6.3 KiB
HTML
<!--
|
|
~ Copyright (c) 2012, The Broad Institute
|
|
~
|
|
~ Permission is hereby granted, free of charge, to any person
|
|
~ obtaining a copy of this software and associated documentation
|
|
~ files (the "Software"), to deal in the Software without
|
|
~ restriction, including without limitation the rights to use,
|
|
~ copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
~ copies of the Software, and to permit persons to whom the
|
|
~ Software is furnished to do so, subject to the following
|
|
~ conditions:
|
|
~
|
|
~ The above copyright notice and this permission notice shall be
|
|
~ included in all copies or substantial portions of the Software.
|
|
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
~ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
~ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
~ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
~ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
~ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
~ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
~ OTHER DEALINGS IN THE SOFTWARE.
|
|
-->
|
|
|
|
<#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></td>
|
|
<td>${arg.type}</td>
|
|
<td>${arg.defaultValue!"NA"}</td>
|
|
<td>${arg.summary}</td>
|
|
</tr>
|
|
<#--
|
|
<td>${arg.required}</td>
|
|
-->
|
|
</#list>
|
|
</#if>
|
|
</#macro>
|
|
|
|
<#macro argumentDetails arg>
|
|
<h3><a name="${arg.name}">${arg.name}
|
|
<#if arg.synonyms??> / ${arg.synonyms}</#if>
|
|
</a>
|
|
(
|
|
<#if arg.attributes??>${arg.attributes}</#if>
|
|
${arg.type}
|
|
<#if arg.defaultValue??> with default value ${arg.defaultValue}</#if>
|
|
)
|
|
</h3>
|
|
<p class="args">
|
|
${arg.summary}. ${arg.fulltext}
|
|
<#if arg.rodTypes??>${arg.name} binds reference ordered data. This argument supports ROD files of the
|
|
following types: ${arg.rodTypes}
|
|
</#if>
|
|
<#if arg.options??>
|
|
<br>
|
|
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>
|
|
</#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>
|
|
|
|
<#list categories as cat>
|
|
<?php $categories[] = '${cat}'; ?>
|
|
</#list>
|
|
<@makeHeader title="${name} documentation" isIndex=false />
|
|
<section class="span4">
|
|
<aside class="well">
|
|
<h2>Categories</h2>
|
|
<@getCategories map=catNav filter="all" />
|
|
</aside>
|
|
<?php getForumPosts( '${name}' ) ?>
|
|
|
|
</section>
|
|
|
|
<div class="span8">
|
|
|
|
<h1>${name}</h1>
|
|
|
|
<p class="lead">${summary}</p>
|
|
<#if author??>
|
|
<h2>Author<br/>
|
|
<small>${author}</small>
|
|
</h2>
|
|
</#if>
|
|
<#if (categories?size > 0) >
|
|
<h3>Categories</h3>
|
|
<ul>
|
|
<#list categories as cat>
|
|
<li>${cat.getDescription()}</li>
|
|
</#list>
|
|
</ul>
|
|
</#if>
|
|
<h2>Introduction</h2>
|
|
${description}
|
|
|
|
<#-- Create the argument summary -->
|
|
<#if arguments.all?size != 0>
|
|
<hr>
|
|
<h3>${name} specific arguments</h3>
|
|
<table class="table table-striped table-bordered table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Type</th>
|
|
<th>Default value</th>
|
|
<th>Summary</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<@argumentlist name="Required" myargs=arguments.required/>
|
|
<@argumentlist name="Optional" myargs=arguments.optional/>
|
|
<@argumentlist name="Advanced" myargs=arguments.advanced/>
|
|
<@argumentlist name="Hidden" myargs=arguments.hidden/>
|
|
<@argumentlist name="Depreciated" myargs=arguments.depreciated/>
|
|
</tbody>
|
|
</table>
|
|
</#if>
|
|
|
|
<#-- Create references to additional capabilities if appropriate -->
|
|
<#if extradocs?size != 0>
|
|
<hr>
|
|
<h2>Additional capabilities</h2>
|
|
The arguments described in the entries below can be supplied to this tool to modify
|
|
its behavior. For example, the -L argument directs the GATK engine restricts processing
|
|
to specific genomic intervals. This capability is available to all GATK walkers.
|
|
<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>
|
|
<hr>
|
|
<h2>Related capabilities</h2>
|
|
<@relatedByType name="Superclasses" type="superclass"/>
|
|
<@relatedByType name="Subclasses" type="subclass"/>
|
|
</#if>
|
|
|
|
<#-- List all of the -->
|
|
<#if arguments.all?size != 0>
|
|
<hr>
|
|
<#-- Create the argument details -->
|
|
<h2>Argument details</h2>
|
|
<#list arguments.all as arg>
|
|
<@argumentDetails arg=arg/>
|
|
</#list>
|
|
</#if>
|
|
|
|
<@footerInfo />
|
|
<@pageFooter /> |