comparison rebase.xml @ 0:f0f2795de2c7 draft

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