comparison snpEff_docker.xml @ 0:0d895b0e0f15 draft

planemo upload
author takakoron
date Mon, 11 Apr 2016 11:16:50 -0400
parents
children 216d02ec973a
comparison
equal deleted inserted replaced
-1:000000000000 0:0d895b0e0f15
1 <tool id="snpEff_docker" name="SnpEff" version="3.6c (build 2014-05-20)">
2 <description>Variant effect and annotation (Docker)</description>
3 <requirements>
4 <container type="docker">takakoron/snpeff_3.6c</container>
5 </requirements>
6 <command interpreter="perl">/usr/src/myapp/snpEffWrapper.pl eff
7 -i $inputFormat
8 -o $outputFormat
9 -upDownStreamLen $udLength
10 $canon
11 $hgvs
12 $lof
13 $motif
14 #if $statsFile:
15 -stats $statsFile
16 #end if
17 $genomeVersion $input > $snpeff_output
18 </command>
19 <inputs>
20 <param format="vcf,tabular,pileup,bed" name="input" type="data" label="Sequence changes (SNPs, MNPs, InDels)"/>
21
22 <param name="inputFormat" type="select" label="Input format">
23 <option value="vcf" selected="true">VCF</option>
24 <option value="txt">Tabular</option>
25 <option value="bed">BED</option>
26 </param>
27
28 <param name="outputFormat" type="select" label="Output format">
29 <option value="vcf" selected="true">VCF</option>
30 <option value="txt">Tabular</option>
31 <option value="bed">BED</option>
32 <option value="bedAnn">BED Annotations</option>
33 <option value="gatk">VCF (GATK compatible)</option>
34 </param>
35
36 <param name="genomeVersion" type="select" label="Genome" help="If your annotation of interest is not listed, contact the P-GALAXY team (pipeline_dev@ddbj.nig.ac.jp)">
37 <options from_file="snpEff_genomes.loc">
38 <column name="name" index="1"/>
39 <column name="value" index="0"/>
40 </options>
41 </param>
42
43 <param name="udLength" type="select" label="Upstream / Downstream length">
44 <option value="0">No upstream / downstream intervals (0 bases)</option>
45 <option value="200">200 bases</option>
46 <option value="500">500 bases</option>
47 <option value="1000">1000 bases</option>
48 <option value="2000">2000 bases</option>
49 <option value="5000" selected="true">5000 bases</option>
50 <option value="10000">10000 bases</option>
51 <option value="20000">20000 bases</option>
52 </param>
53
54 <param name="canon" type="boolean" truevalue="-canon" falsevalue="" checked="false" label="Use only cannonical transcripts"/>
55 <param name="hgvs" type="boolean" truevalue="-hgvs" falsevalue="" checked="false" label="Annotate using HGVS nomenclature"/>
56 <param name="lof" type="boolean" truevalue="-lof" falsevalue="" checked="false" label="Annotate Loss of function (LOF) and Nonsense mediated decay (NMD)"/>
57 <param name="motif" type="boolean" truevalue="-motif" falsevalue="" checked="false" label="Annotate transcription factor binding site motifs (only available for latest GRCh37)"/>
58 <param name="generate_stats" type="boolean" truevalue="" falsevalue="-noStats" checked="true" label="Produce Summary Stats"/>
59 </inputs>
60 <outputs>
61 <data format="tabular" name="snpeff_output" >
62 <change_format>
63 <when input="outputFormat" value="txt" format="tabular" />
64 <when input="outputFormat" value="vcf" format="vcf" />
65 <when input="outputFormat" value="bed" format="bed" />
66 <when input="outputFormat" value="bedAnn" format="bed" />
67 </change_format>
68 </data>
69
70 <data format="html" name="statsFile">
71 <filter>generate_stats == True</filter>
72 </data>
73 </outputs>
74 <stdio>
75 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" />
76 <exit_code range="1:" level="fatal" description="Error" />
77 </stdio>
78 <tests>
79 <test>
80 <param name="input" ftype="vcf" value="vcf_homhet.vcf"/>
81 <param name="inputFormat" value="vcf"/>
82 <param name="outputFormat" value="vcf"/>
83 <param name="genomeVersion" value="testCase"/>
84 <param name="udLength" value="0"/>
85 <output name="snpeff_output">
86 <assert_contents>
87 <!-- Check that an effect was added -->
88 <has_text text="EFF=NON_SYNONYMOUS_CODING" />
89 </assert_contents>
90 </output>
91 <output name="statsFile">
92 <assert_contents>
93 <!-- Check for a HTML header indicating that this was successful -->
94 <has_text text="SnpEff: Variant analysis" />
95 </assert_contents>
96 </output>
97 </test>
98 </tests>
99 <help>
100
101 This tool calculate the effect of variants (SNPs/MNPs/Insertions) and deletions.
102
103 For details about this tool, please go to http://snpEff.sourceforge.net
104
105 </help>
106 </tool>
107