comparison gemini_comp_hets.xml @ 0:d666cc4a37e7 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
author iuc
date Thu, 18 Feb 2016 08:52:33 -0500
parents
children ed0b0677dcfe
comparison
equal deleted inserted replaced
-1:000000000000 0:d666cc4a37e7
1 <tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@.0">
2 <description>Identifying potential compound heterozygotes</description>
3 <macros>
4 <import>gemini_macros.xml</import>
5 <token name="@BINARY@">comp_hets</token>
6 </macros>
7 <expand macro="requirements" />
8 <expand macro="stdio" />
9 <expand macro="version_command" />
10 <command>
11 <![CDATA[
12 gemini @BINARY@
13
14 #if $report.report_selector != 'all':
15 --columns "${report.columns}"
16 #end if
17
18 @CMDLN_SQL_FILTER_FILTER_OPTION@
19
20 #if int($min_kindreds) > 0:
21 --min-kindreds $min_kindreds
22 #end if
23
24 #if str($families).strip():
25 --families "$families"
26 #end if
27
28 -d $d
29 $allow_unaffected
30
31 #if int($min_genotypequality) > 0:
32 --min-gq $min_genotypequality
33 #end if
34
35 #if int($gt_pl_max) != -1:
36 --gt_pl_max $gt_pl_max
37 #end if
38
39 $pattern_only
40 --max-priority $max_priority
41
42
43 "${ infile }"
44 > "${ outfile }"
45 ]]>
46 </command>
47 <inputs>
48 <expand macro="infile" />
49 <expand macro="column_filter" />
50 <expand macro="filter" />
51 <expand macro="min_kindreds" />
52 <expand macro="family" />
53 <expand macro="unaffected" />
54 <expand macro="min_sequence_depth" />
55 <param name="min_genotypequality" type="integer" value="0" min="0" label="The minimum genotype quality required for each sample in a family." help="default: 0 (--min-gq)" />
56 <param name="gt_pl_max" type="integer" value="-1" min="-1" label="The maximum phred-scaled genotype (PL) allowed for each sample in a family." help="default: -1 not set (--gt-pl-max)" />
57 <param name="pattern_only" type="boolean" truevalue="--pattern-only" falsevalue="" checked="False"
58 label="Find compound hets by inheritance pattern, without regard to affection" help="(--pattern-only)"/>
59 <param name="max_priority" type="integer" value="1" min="1" label="Default is to show only confident compound hets. Set to 2 or higher to include pairs that are less likely true comp-hets." help="default: 1 (--max-priority)" />
60 </inputs>
61 <outputs>
62 <data name="outfile" format="tabular" />
63 </outputs>
64 <tests>
65 <test>
66 <param name="infile" value="gemini_comphets_input.db" ftype="gemini.sqlite" />
67 <param name="report_selector" value="column_filter" />
68 <param name="columns" value="chrom,start,end,ref,alt,gene,impact" />
69 <param name="allow_unaffected" value="True" />
70 <param name="max_priority" value="3" />
71 <output name="outfile" file="gemini_comphets_result.tabular" />
72 </test>
73 </tests>
74 <help>
75 **What it does**
76
77 Many recessive disorders are caused by compound heterozygotes. Unlike canonical recessive sites where the same recessive allele is
78 inherited from both parents at the _same_ site in the gene, compound heterozygotes occur when the individual’s phenotype is caused
79 by two heterozygous recessive alleles at _different_ sites in a particular gene.
80
81 So basically, we are looking for two (typically loss-of-function (LoF)) heterozygous variants impacting the same gene at different loci.
82 The complicating factor is that this is _recessive_ and as such, we must also require that the consequential alleles at each heterozygous
83 site were inherited on different chromosomes (one from each parent). As such, in order to use this tool, we require that all variants are phased.
84 Once this has been done, the comp_hets tool will provide a report of candidate compound heterozygotes for each sample/gene.
85
86
87 </help>
88 <expand macro="citations"/>
89 </tool>