annotate rebase.xml @ 2:36b4be01cce4 draft default tip

planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
author wolma
date Sat, 11 Nov 2017 16:39:44 -0500
parents 85576338fbcf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
1 <tool id="mimodd_rebase" name="MiModD Rebase Sites"
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
2 version="@MIMODD_WRAPPER_VERSION@">
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
3 <description>from a VCF file</description>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
4 <macros>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
5 <import>macros.xml</import>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
6 </macros>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
7 <expand macro="requirements" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
8 <expand macro="stdio" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
9 <expand macro="version_command" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
10 <command><![CDATA[
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
11 mimodd rebase '$ifile'
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
12 '$chainfile'
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
13 $reverse
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
14 --ofile '$output_vcf'
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
15 --filter $filter
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
16 --verbose
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
17 ]]></command>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
18
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
19 <inputs>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
20 <param name="ifile" type="data" format="vcf" label="VCF input file"
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
21 help="the VCF file to rebase"/>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
22 <param name="chainfile" type="data" format="tabular" label="Input chainfile"
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
23 help="the UCSC chain file to calculate new coordinates from"/>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
24 <param name="reverse" type="boolean" truevalue="-r" falsevalue="" checked="false"
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
25 label="reverse the target and query sites of the initial chainfile"
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
26 help="swap the genome versions specified in the chain file, i.e., assume the coordinates in the input file are based on the chain file target genome version and should be mapped to the source genome version" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
27 <param name="filter" type="select" display="radio"
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
28 label="Ambiguously mapping variants"
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
29 help="How to treat variants that map to more than one position in the target coordinate system" >
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
30 <option value="unique">Ignore</option>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
31 <option value="best">Report only the mapping with the highest score</option>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
32 <option value="all">Report all possible mappings</option>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
33 </param>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
34 </inputs>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
35 <outputs>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
36 <data name="output_vcf" format="vcf"
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
37 label="Variants rebased with MiModd from ${on_string}"/>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
38 </outputs>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
39
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
40 <tests>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
41 <test>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
42 <param name="ifile" value="a.vcf" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
43 <param name="chainfile" value="ce11ToCe10.over.chain" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
44 <assert_command>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
45 <not_has_text text=" -r" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
46 </assert_command>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
47 <output name="output_vcf" file="rebased.vcf" ftype="vcf"
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
48 lines_diff="0" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
49 </test>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
50 <test>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
51 <param name="ifile" value="rebased.vcf" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
52 <param name="chainfile" value="ce11ToCe10.over.chain" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
53 <param name="reverse" value="true" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
54 <assert_command>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
55 <has_text text=" -r" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
56 </assert_command>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
57 <output name="output_vcf" file="a.vcf" ftype="vcf"
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
58 lines_diff="20" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
59 </test>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
60 </tests>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
61
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
62 <help><![CDATA[
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
63 .. class:: infomark
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
64
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
65 **What it does**
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
66
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
67 The tool takes as input a VCF file like the ones produced by the
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
68 **Extract Variant** tool and a Genome Browser chain format, and maps the
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
69 variant positions found in the VCF file to a different reference genome
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
70 coordinate system according to the mapping defined in a UCSC chain file.
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
71
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
72 @HELP_FOOTER@
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
73 ]]></help>
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
74 <expand macro="citations" />
85576338fbcf planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit c4b4112ac89be8b7e43427220473269e52cb9797
wolma
parents:
diff changeset
75 </tool>