comparison hetbox.xml @ 3:479f860eb8a9 draft

updated tool xml description
author boris
date Tue, 25 Jun 2013 00:50:46 -0400
parents b4f9a4f2f65d
children
comparison
equal deleted inserted replaced
2:57c5ea9c3c5c 3:479f860eb8a9
1 <tool id="hetbox" version="1.0" name="Minor variant boxplot"> 1 <tool id="hetbox" version="1.0" name="MAF boxplot">
2 <description> from allele counts</description> 2 <description></description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="2.15.0">R</requirement> 4 <requirement type="package" version="2.15.0">R</requirement>
5 <requirement type="package" version="2.2.6">rpy2</requirement> 5 <requirement type="package" version="2.2.6">rpy2</requirement>
6 <requirement type="package" version="1.7.1">numpy</requirement> 6 <requirement type="package" version="1.7.1">numpy</requirement>
7 </requirements> 7 </requirements>
8 <command interpreter="python">hetbox.py $input $outplot $outreport 8 <command interpreter="python">hetbox.py $input $outplot $outreport
9 </command> 9 </command>
10 <inputs> 10 <inputs>
11 <param name="input" type="data" format="tabular" label="Input allele counts"/> 11 <param name="input" type="data" format="tabular" label="Input allele counts table"/>
12 <param name="report" type="boolean" truevalue="yes" falsevalue="no" checked="True" label="Also produce a potential contamination report" /> 12 <param name="report" type="boolean" truevalue="yes" falsevalue="no" checked="True" label="Also generate a report on data spread" />
13 </inputs> 13 </inputs>
14 <outputs> 14 <outputs>
15 <data name="outplot" format="png"/> 15 <data name="outplot" format="png" label="${tool.name} on ${on_string}: boxplot"/>
16 <data name="outreport" format="tabular"> 16 <data name="outreport" format="tabular" label="${tool.name} on ${on_string}: report">
17 <filter>report is True</filter> 17 <filter>report is True</filter>
18 </data> 18 </data>
19 </outputs> 19 </outputs>
20 <stdio> 20 <stdio>
21 <exit_code range="1:" err_level="fatal"/> 21 <exit_code range="1:" err_level="fatal"/>
26 26
27 .. class:: infomark 27 .. class:: infomark
28 28
29 **What it does** 29 **What it does**
30 30
31 Given a table with sample ids and minor alelles frequencies, generates boxplot per sample and 31 The MAF Boxplot tool takes a table listing heteroplasmic sites per sample and their corresponding minor allele frequency.
32 It generates a boxplot of the minor allele frequencies per sample by default.
33 Optionally, it can generate a report including the total number of heteroplasmic sites and the median and the median absolute deviation (MAD) of the minor allele frequencies per sample.
34
35 -----
36
37 .. class:: warningmark
38
39 **Note**
40
41 Please, follow the format described below for the input file:
42
43 -----
32 44
33 .. class:: infomark 45 .. class:: infomark
34 46
35 **Boxplot** 47 **Formats**
36 48
37 The graphic shows the distribution of the minor allele frequencies as a boxplot per sample. At the bottom of each plot, a count (N) is given of the number of minor alleles in the plot. 49 **Count alleles tool output format**
38 50
51 Columns::
39 52
40 **Report** 53 1. sample id
54 2. chromosome
55 3. position
56 4 counts for A's
57 5. counts for C's
58 6. counts for G's
59 7. counts for T's
60 8. Coverage
61 9. Number of alleles passing frequency threshold
62 10. Major allele
63 11. Minor allele
64 12. Minor allele frequency in position
41 65
42 The graphic shows the distribution of the minor allele frequencies as a boxplot per sample. At the bottom of each plot, a count (N) is given of the number of minor alleles in the plot. 66 -----
43 67
68 **Citation**
69
70 If you use this tool, please cite Dickins B, Rebolledo-Jaramillo B, et al. *In preparation.*
71 (boris-at-bx.psu.edu)
44 72
45 73
46 </help> 74 </help>
47 </tool> 75 </tool>