annotate crossmap_bed.xml @ 9:ee86b27291b5 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e10d34b547557b2bd4f0be69e31204bd5703e422"
author iuc
date Thu, 20 Jan 2022 04:31:56 +0000
parents f4a70882a71b
children 50b7875a49d0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
f4a70882a71b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit f436317e2f8d451621e297cfc474e43c20d60bb7"
iuc
parents: 4
diff changeset
1 <tool id="crossmap_bed" name="CrossMap BED" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05">
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}'
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
21 '${input}'
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
22
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
23 #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
24 > '${output_combined}'
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
25 #else:
4
1e24dd91db95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 23fab16cd40acbd5b0e9d640ed3858040db7a622
iuc
parents: 3
diff changeset
26 output
9
ee86b27291b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e10d34b547557b2bd4f0be69e31204bd5703e422"
iuc
parents: 8
diff changeset
27 --unmap-file 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
28 #end if
9
ee86b27291b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e10d34b547557b2bd4f0be69e31204bd5703e422"
iuc
parents: 8
diff changeset
29 --chromid $chromid
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" />
9
ee86b27291b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e10d34b547557b2bd4f0be69e31204bd5703e422"
iuc
parents: 8
diff changeset
38 <param name="chromid" type="select" label="Style of chromosome IDs">
ee86b27291b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e10d34b547557b2bd4f0be69e31204bd5703e422"
iuc
parents: 8
diff changeset
39 <option value="a" selected="true">As-is</option>
ee86b27291b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e10d34b547557b2bd4f0be69e31204bd5703e422"
iuc
parents: 8
diff changeset
40 <option value="l">Long style, e.g. chr1, chrX</option>
ee86b27291b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e10d34b547557b2bd4f0be69e31204bd5703e422"
iuc
parents: 8
diff changeset
41 <option value="s">Short style, e.g. 1, X</option>
ee86b27291b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e10d34b547557b2bd4f0be69e31204bd5703e422"
iuc
parents: 8
diff changeset
42 </param>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
43 <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
44 </inputs>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
45
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
46 <outputs>
4
1e24dd91db95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 23fab16cd40acbd5b0e9d640ed3858040db7a622
iuc
parents: 3
diff changeset
47 <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
48 <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
49 </data>
4
1e24dd91db95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 23fab16cd40acbd5b0e9d640ed3858040db7a622
iuc
parents: 3
diff changeset
50 <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
51 <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
52 </data>
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
53
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
54 <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
55 <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
56 </data>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
57 </outputs>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
58
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
59 <tests>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
60 <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
61 <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
62 <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
63 <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
64 <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
65
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
66 <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
67 <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
68 </test>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
69 <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
70 <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
71 <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
72 <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
73 <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
74
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
75 <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
76 </test>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
77
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
78 <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
79 <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
80 <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
81 <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
82 <param name="merge_unmapped_entries" value="false" />
9
ee86b27291b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e10d34b547557b2bd4f0be69e31204bd5703e422"
iuc
parents: 8
diff changeset
83 <param name="chromid" value="s" />
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
84
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
85 <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
86 <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
87 </test>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
88 <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
89 <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
90 <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
91 <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
92 <param name="merge_unmapped_entries" value="true" />
9
ee86b27291b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e10d34b547557b2bd4f0be69e31204bd5703e422"
iuc
parents: 8
diff changeset
93 <param name="chromid" value="s" />
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
94
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
95 <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
96 </test>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
97
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
98 <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
99 <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
100 <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
101 <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
102
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
103 <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
104 <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
105 </test>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
106 </tests>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
107 <help><![CDATA[
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
108 @HELP_GENERAL@
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
109
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
110 BED
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
111 ---
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
112
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
113 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
114 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
115
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
116 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
117 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
118 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
119 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
120 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
121 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
122 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
123 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
124 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
125 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
126 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
127 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
128
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
129 Notes:
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
130
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
131 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
132 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
133 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
134 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
135 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
136 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
137 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
138 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
139 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
140 skipped.
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
141 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
142 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
143 ]]></help>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
144
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
145 <citations>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
146 <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
147 </citations>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
148 </tool>