annotate cloudmap.xml @ 3:ba685c655e18

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