annotate snpEff_docker.xml @ 1:bed66843c66a draft

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