annotate SNP_density/calculateSlidingWindowsSNPdensitiesFromVCF_wrapper.xml @ 9:98c37a5d67f4 draft

Uploaded
author dereeper
date Wed, 07 Feb 2018 22:08:47 -0500
parents
children c6640c49fd01
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
1 <tool id="sniplay_density" name="SNP density" version="2.0.0">
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
2
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
3 <!-- [REQUIRED] Tool description displayed after the tool name -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
4 <description> Calculate SNP densities along chromosome from a VCF input</description>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
5
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
6
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
7 <!-- [OPTIONAL] 3rd party tools, binaries, modules... required for the tool to work -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
8 <requirements>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
9 <requirement type="binary">perl</requirement>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
10 <requirement type="package" version="1.6.924">perl-bioperl</requirement>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
11 <requirement type="package" version="0.1.14">vcftools</requirement>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
12 <requirement type="package" version="0.1.14">perl-vcftools-vcf</requirement>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
13 </requirements>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
14
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
15 <!-- [STRONGLY RECOMMANDED] Exit code rules -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
16 <stdio>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
17 <!-- [HELP] If no exit code rule is defined, the tool will stop if anything is written to STDERR -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
18 <exit_code range="1:" level="fatal" />
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
19 </stdio>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
20
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
21 <!-- [OPTIONAL] Command to be executed to get the tool's version string -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
22 <version_command>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
23 <!--
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
24 tool_binary -v
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
25 -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
26 </version_command>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
27
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
28 <!-- [REQUIRED] The command to execute -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
29 <command interpreter="bash">
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
30 calculateSlidingWindowsSNPdensitiesFromVCF.sh $filein $fileout $fileout_bysample $step
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
31 </command>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
32
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
33 <!-- [REQUIRED] Input files and tool parameters -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
34 <inputs>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
35 <param name="filein" type="data" format="vcf" optional="false" label="VCF input" />
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
36 <param name="step" type="integer" value="200000" label="Step" help="Step in bp"/>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
37 <param name="fileout_label" type="text" value="densities" label="Output name" help="Output name for tabular files" />
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
38 </inputs>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
39
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
40 <!-- [REQUIRED] Output files -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
41 <outputs>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
42 <data name="fileout" format="txt" label="${fileout_label}" />
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
43 <data name="fileout_bysample" format="txt" label="${fileout_label}.by_sample" />
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
44 </outputs>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
45
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
46 <tests>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
47 <test>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
48 <param name="filein" value="vcf2fastaAndHapmap-sample.vcf" />
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
49 <param name="step" value="20000" />
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
50 <output name="fileout" file="SNPden-result.txt" />
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
51 <output name="fileout_bysample" file="SNPden-result_bysample.txt" />
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
52 </test>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
53 <!-- [HELP] Multiple tests can be defined with different parameters -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
54 <!--
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
55 <test>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
56 </test>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
57 -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
58 </tests>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
59
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
60 <!-- [OPTIONAL] Help displayed in Galaxy -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
61 <help>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
62
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
63 .. class:: infomark
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
64
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
65 **Authors** Dereeper Alexis (alexis.dereeper@ird.fr), IRD, South Green platform
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
66
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
67 | **Please cite** "SNiPlay3: a web-based application for exploration and large scale analyses of genomic variations", **Dereeper A. et al.**, Nucl. Acids Res. (1 july 2015) 43 (W1).
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
68
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
69
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
70 .. class:: infomark
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
71
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
72 **Galaxy integration** Andres Gwendoline, Institut Français de Bioinformatique.
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
73
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
74 .. class:: infomark
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
75
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
76 **Support** For any questions about Galaxy integration, please send an e-mail to support.abims@sb-roscoff.fr
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
77
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
78 ---------------------------------------------------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
79
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
80
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
81
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
82 =============
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
83 SNP densities
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
84 =============
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
85
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
86 -----------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
87 Description
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
88 -----------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
89
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
90 Calculate SNP densities along chromosome from a VCF file
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
91
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
92
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
93 -----------------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
94 Workflow position
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
95 -----------------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
96
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
97 **Upstream tool**
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
98
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
99 =============== ====================== ===========
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
100 Name output file(s) format
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
101 =============== ====================== ===========
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
102 =============== ====================== ===========
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
103
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
104
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
105 ----------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
106 Input file
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
107 ----------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
108
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
109 VCF file
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
110 File with SNPs
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
111
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
112
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
113 ----------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
114 Parameters
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
115 ----------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
116
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
117 Step
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
118 Step in bp for the window to calculate SNP density
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
119
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
120 Output name
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
121 Output base name for the two ouput files
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
122
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
123
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
124 ------------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
125 Output files
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
126 ------------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
127
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
128 Output_name
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
129 Tabular file with SNP density in each postion
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
130
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
131 Output_name.by_sample
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
132 Tabular file with SNP density for each sample
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
133
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
134
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
135 ---------------------------------------------------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
136
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
137 ---------------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
138 Working example
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
139 ---------------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
140
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
141 Input files
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
142 ===========
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
143
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
144 vcf file
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
145 -----------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
146
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
147 ::
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
148
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
149 #fileformat=VCFv4.1
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
150 #FILTER=&lt;ID=LowQual,Description="Low quality">
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
151 #FORMAT=&lt;ID=AD,Number=.,Type=Integer,Description="Allelic depths for the ref and alt alleles in the order listed">
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
152 [...]
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
153 CHROM POS ID REF ALT QUAL FILTER INFO FORMAT CATB1
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
154 chr1 2209 . G T 213.84 . AC=2;AF=1.00;AN=2;DP=7;Dels=0.00;FS=0.000;HaplotypeScore=0.0000;MLEAC=2;MLEAF=1.00;MQ=41.50;MQ0=0;QD=30.55;EFF=DOWNSTREAM(MODIFIER||||Cc01g00020|mRNA||GSCOCT00012438001|),UPSTREAM(MODIFIER||||Cc01g00010|mRNA||GSCOCT00012439001|) GT:AD:DP:GQ:PL 1/1:0,7:7:18:242,18,0
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
155
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
156 Parameters
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
157 ==========
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
158
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
159 Step -> 200000
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
160
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
161 Output name -> densities
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
162
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
163
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
164 Output files
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
165 ============
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
166
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
167 densities
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
168 ---------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
169
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
170 ::
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
171
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
172 Chromosome Position SNPs
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
173 chr1 200000 355
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
174 chr1 400000 228
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
175 chr1 600000 63
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
176 chr1 800000 191
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
177
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
178
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
179 densities.by_sample
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
180 -------------------
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
181
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
182 ::
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
183
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
184 Chromosome BA58 BA59 BD54
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
185 chr1 220 197 225
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
186 chr1 130 119 133
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
187 chr1 43 43 40
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
188 chr1 139 167 141
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
189
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
190 </help>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
191 <citations>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
192 <!-- [HELP] As DOI or BibTex entry -->
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
193 <citation type="bibtex">@article{Dereeper03062015,
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
194 author = {Dereeper, Alexis and Homa, Felix and Andres, Gwendoline and Sempere, Guilhem and Sarah, Gautier and Hueber, Yann and Dufayard, Jean-François and Ruiz, Manuel},
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
195 title = {SNiPlay3: a web-based application for exploration and large scale analyses of genomic variations},
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
196 year = {2015},
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
197 doi = {10.1093/nar/gkv351},
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
198 abstract ={SNiPlay is a web-based tool for detection, management and analysis of genetic variants including both single nucleotide polymorphisms (SNPs) and InDels. Version 3 now extends functionalities in order to easily manage and exploit SNPs derived from next generation sequencing technologies, such as GBS (genotyping by sequencing), WGRS (whole gre-sequencing) and RNA-Seq technologies. Based on the standard VCF (variant call format) format, the application offers an intuitive interface for filtering and comparing polymorphisms using user-defined sets of individuals and then establishing a reliable genotyping data matrix for further analyses. Namely, in addition to the various scaled-up analyses allowed by the application (genomic annotation of SNP, diversity analysis, haplotype reconstruction and network, linkage disequilibrium), SNiPlay3 proposes new modules for GWAS (genome-wide association studies), population stratification, distance tree analysis and visualization of SNP density. Additionally, we developed a suite of Galaxy wrappers for each step of the SNiPlay3 process, so that the complete pipeline can also be deployed on a Galaxy instance using the Galaxy ToolShed procedure and then be computed as a Galaxy workflow. SNiPlay is accessible at http://sniplay.southgreen.fr.},
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
199 URL = {http://nar.oxfordjournals.org/content/early/2015/06/03/nar.gkv351.abstract},
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
200 eprint = {http://nar.oxfordjournals.org/content/early/2015/06/03/nar.gkv351.full.pdf+html},
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
201 journal = {Nucleic Acids Research}
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
202 }
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
203
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
204 </citation>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
205
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
206 </citations>
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
207 </tool>