0
|
1 <tool id="cloudmap_prepare" name="Prepare variant data for mapping">
|
|
2 <description>with the CloudMap series of tools.</description>
|
2
|
3 <macros>
|
|
4 <import>toolshed_macros.xml</import>
|
|
5 </macros>
|
|
6 <expand macro="requirements"/>
|
0
|
7 <version_command>mimodd version -q</version_command>
|
|
8 <command>
|
|
9 mimodd cloudmap "$ifile" ${run.mode}
|
|
10
|
|
11 #if $str($run.mode) != "SVD":
|
|
12 "${run.refsample}"
|
|
13 #end if
|
|
14
|
|
15 "$sample" -o "$ofile"
|
|
16
|
|
17 #if $seqdict:
|
|
18 -s "$dictfile"
|
|
19 #end if
|
|
20 </command>
|
|
21
|
|
22 <inputs>
|
|
23 <param name="ifile" type="data" format="vcf" label="vcf input file" />
|
|
24 <conditional name="run">
|
|
25 <param name="mode" type="select" label="CloudMap analysis to prepare data for">
|
|
26 <option value="SVD">EMS Variant Density Mapping</option>
|
|
27 <option value="VAF">Variant Discovery / Hawaiian Variant Mapping</option>
|
|
28 </param>
|
|
29 <when value="SVD">
|
|
30 <param name="refsample" type="hidden" value="None" />
|
|
31 </when>
|
|
32 <when value="VAF">
|
|
33 <param name="refsample" type="text" label="name of the reference sample" help="the sample that provides mapping strain variants" />
|
|
34 </when>
|
|
35 </conditional>
|
|
36 <param name="sample" type="text" label="subject sample name" help="the sample to perform CloudMap mapping for" />
|
|
37 <param name="seqdict" type="boolean" checked="true" label="Generate species configuration file for CloudMap" />
|
|
38
|
|
39 </inputs>
|
|
40
|
|
41 <outputs>
|
|
42 <data name="ofile" format="vcf" label="CloudMap-ready ${run.mode} File from ${on_string}" />
|
|
43 <data name="dictfile" format="tabular" label="Species Configuration File for CloudMap from ${on_string}">
|
|
44 <filter>seqdict</filter>
|
|
45 </data>
|
|
46 </outputs>
|
|
47
|
|
48 <help>
|
|
49 .. class:: infomark
|
|
50
|
|
51 **What it does**
|
|
52
|
|
53 The purpose of this tool is to provide compatibility of the MiModD analysis workflow with the external `CloudMap`_ *EMS Variant Density Mapping*, *Variant Discovery Mapping* and *Hawaiian Variant Mapping* tools.
|
|
54
|
|
55 These tools complement MiModD by providing easily interpreted visualizations of mapping-by-sequencing analysis workflows.
|
|
56
|
|
57 The tool converts a VCF file as generated by the *Extract Variant Sites* or *VCF Filter* tools to the format expected by the *CloudMap* series of tools.
|
|
58
|
|
59 Optionally, it also extracts the chromosome names and sizes and reports them in the *CloudMap* *species configuration file* format.
|
|
60 Such a file is required as input to the current versions of the *CloudMap* *Hawaiian* and *Variant Density* mapping tools, if you are working with a species other than the natively supported ones (i.e., other than *C. elegans* or *A. thaliana*).
|
|
61
|
|
62 To use the output datasets of the tool with *CloudMap*, you only have to upload them to any public Galaxy server that hosts *CloudMap* like, e.g., the main Galaxy server at https://usegalaxy.org .
|
|
63
|
|
64 .. class:: warningmark
|
|
65
|
|
66 EMS Variant Density Mapping is currently limited to *C. elegans* and other species with six chromosomes on the *CloudMap* side.
|
|
67
|
|
68 More information on combining MiModD and CloudMap in mapping-by-sequencing analyses can be found in the `corresponding section of the MiModD User Guide`_.
|
|
69
|
|
70 .. _CloudMap: https://usegalaxy.org/u/gm2123/p/cloudmap
|
|
71 .. _corresponding section of the MiModD User Guide: http://mimodd.readthedocs.org/en/latest/cloudmap.html
|
|
72
|
|
73 </help>
|
|
74 </tool>
|