annotate crossmap_bed.xml @ 6:91efc13d3ec1 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
author iuc
date Thu, 17 Oct 2019 02:57:54 -0400
parents 1e24dd91db95
children f4a70882a71b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
1e24dd91db95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 23fab16cd40acbd5b0e9d640ed3858040db7a622
iuc
parents: 3
diff changeset
1 <tool id="crossmap_bed" name="CrossMap BED" version="@WRAPPER_VERSION@">
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
2 <description>Convert genome coordinates or annotation files between genome assemblies</description>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
3 <macros>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
4 <import>macros.xml</import>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
5 </macros>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
7 <expand macro="stdio"/>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
9
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
10 <!--
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
11 1. CrossMap bed x.chain in.bed > out.bed
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
12 stdout/out.bed: valid and invalid combined
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
13
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
14 2. CrossMap bed x.chain in.bed out.bed
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
15 out.bed: valid only
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
16 out.bed.unmap: invalid only
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
17 -->
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
18 <command><![CDATA[
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
19 CrossMap.py bed
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
20 '${chain_source.input_chain}'
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
21
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
22 '${input}'
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
23
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
24 #if $merge_unmapped_entries:
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
25 > '${output_combined}'
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
26 #else:
4
1e24dd91db95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 23fab16cd40acbd5b0e9d640ed3858040db7a622
iuc
parents: 3
diff changeset
27 output
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
28 #end if
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
29
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
30 ]]></command>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
31
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
32
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
33 <inputs>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
34 <param name="input" type="data" format="bed" label="BED file"
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
35 help="BED format file must have at least 3 columns (chrom, start, end) and no more than 12 columns"/>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
36
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
37 <expand macro="chain" />
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
38
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
39 <param name="merge_unmapped_entries" type="boolean" checked="false" truevalue="true" falsevalue="false" label="Merge failed and converted entries into single file"/>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
40 </inputs>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
41
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
42 <outputs>
4
1e24dd91db95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 23fab16cd40acbd5b0e9d640ed3858040db7a622
iuc
parents: 3
diff changeset
43 <data name="output_valid" format="bed" label="${tool.name} (valid only) on ${on_string}" from_work_dir="output">
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
44 <filter>merge_unmapped_entries is False</filter>
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
45 </data>
4
1e24dd91db95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 23fab16cd40acbd5b0e9d640ed3858040db7a622
iuc
parents: 3
diff changeset
46 <data name="output_failed" format="bed" label="${tool.name} (failed only) on ${on_string}" from_work_dir="output.unmap">
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
47 <filter>merge_unmapped_entries is False</filter>
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
48 </data>
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
49
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
50 <data name="output_combined" format="bed" label="${tool.name} on ${on_string}">
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
51 <filter>merge_unmapped_entries is True</filter>
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
52 </data>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
53 </outputs>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
54
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
55 <tests>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
56 <test><!-- this test only contains perfect entries that do get liftOvered (separate output) -->
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
57 <param name="input" value="test_bed_01_input_a.bed" ftype="bed"/>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
58 <param name="index_source" value="history"/>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
59 <param name="input_chain" value="aToB.over.chain" ftype="csv"/>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
60 <param name="merge_unmapped_entries" value="false" />
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
61
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
62 <output name="output_valid" file="test_bed_01_output_a__only-matches.bed"/>
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
63 <output name="output_failed" file="test_bed_01_output_a__only_fails.bed"/>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
64 </test>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
65 <test><!-- this test only contains perfect entries that do get liftOvered (merged output) -->
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
66 <param name="input" value="test_bed_01_input_a.bed" ftype="bed"/>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
67 <param name="index_source" value="history"/>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
68 <param name="input_chain" value="aToB.over.chain" ftype="txt"/>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
69 <param name="merge_unmapped_entries" value="true" />
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
70
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
71 <output name="output_combined" file="test_bed_01_output_a__all.bed"/>
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
72 </test>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
73
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
74 <test><!-- this test only contains imperfect entries that do get liftOvered (separate output) -->
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
75 <param name="input" value="test_bed_02_input_a.bed" ftype="bed"/>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
76 <param name="index_source" value="history"/>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
77 <param name="input_chain" value="aToB.over.chain" ftype="txt"/>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
78 <param name="merge_unmapped_entries" value="false" />
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
79
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
80 <output name="output_valid" file="test_bed_02_output_a__only-matches.bed"/>
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
81 <output name="output_failed" file="test_bed_02_output_a__only_fails.bed"/>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
82 </test>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
83 <test><!-- this test only contains imperfect entries that do get liftOvered (separate output) -->
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
84 <param name="input" value="test_bed_02_input_a.bed" ftype="bed"/>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
85 <param name="index_source" value="history"/>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
86 <param name="input_chain" value="aToB.over.chain" ftype="txt"/>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
87 <param name="merge_unmapped_entries" value="true" />
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
88
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
89 <output name="output_combined" file="test_bed_02_output_a__all.bed"/>
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
90 </test>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
91
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
92 <test><!-- clone of first test: tests cached reference chain file -->
3
b49e453e6f97 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 39a5f30a013c6d71ea84807b72511e3aa4bab147
iuc
parents: 2
diff changeset
93 <param name="input" value="test_bed_01_input_a.bed" ftype="bed" dbkey="hg18"/>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
94 <param name="index_source" value="cached"/>
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
95 <param name="merge_unmapped_entries" value="false" />
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
96
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
97 <output name="output_valid" file="test_bed_01_output_a__only-matches.bed"/>
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
98 <output name="output_failed" file="test_bed_01_output_a__only_fails.bed"/>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
99 </test>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
100 </tests>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
101 <help><![CDATA[
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
102 @HELP_GENERAL@
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
103
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
104 BED
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
105 ---
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
106
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
107 BED format file must have at least 3 columns (chrom, start, end) and no more than 12 columns.
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
108 BED format: http://genome.ucsc.edu/FAQ/FAQformat.html#format1
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
109
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
110 A BED (Browser Extensible Data) file is a tab-delimited text file
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
111 describing genome regions or gene annotations. It is the standard file
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
112 format used by UCSC. It consists of one line per feature, each containing
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
113 3-12 columns. CrossMap converts BED files with less than 12 columns to a
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
114 different assembly by updating the chromosome and genome coordinates only;
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
115 all other columns remain unchanged. Regions from old assembly mapping to
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
116 multiple locations to the new assembly will be split. For 12-columns BED
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
117 files, all columns will be updated accordingly except the 4th column (name
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
118 of bed line), 5th column (score value) and 9th column (RGB value describing
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
119 the display color). 12-column BED files usually define multiple blocks (eg.
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
120 exon); if any of the exons fails to map to a new assembly, the whole BED
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
121 line is skipped.
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
122
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
123 Notes:
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
124
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
125 1. For BED-like formats mentioned above, CrossMap only updates “chrom (1st
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
126 column)”, “start (2nd column) ”, “end (3rd column) ” and “strand” (if
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
127 any). All other columns will keep AS-IS.
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
128 2. Lines starting with ‘#’, ‘browser’, ‘track’ will be skipped.
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
129 3. Lines will less than 3 columns will be skipped.
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
130 4. 2nd-column and 3-column must be integer, otherwise skipped.
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
131 5. “+” strand is assumed if no strand information was found.
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
132 6. For standard BED format (12 columns). If any of the defined exon blocks
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
133 cannot be uniquely mapped to target assembly, the whole entry will be
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
134 skipped.
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
135 7. If input region cannot be consecutively mapped target assembly, it will be split.
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
136 8. \*.unmap file contains regions that cannot be unambiguously converted.
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
137 ]]></help>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
138
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
139 <citations>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
140 <citation type="doi">10.1093/bioinformatics/btt730</citation>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
141 </citations>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
142 </tool>