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