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