annotate crossmap_bed.xml @ 10:50b7875a49d0 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
author iuc
date Mon, 02 Sep 2024 12:02:19 +0000
parents ee86b27291b5
children
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"/>
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
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 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
11 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
12
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
13 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
14 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
15 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
16 -->
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
17 <command><![CDATA[
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
18 CrossMap bed
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
19 '${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
20 '${input}'
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 #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
23 > '${output_combined}'
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
24 #else:
4
1e24dd91db95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 23fab16cd40acbd5b0e9d640ed3858040db7a622
iuc
parents: 3
diff changeset
25 output
9
ee86b27291b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e10d34b547557b2bd4f0be69e31204bd5703e422"
iuc
parents: 8
diff changeset
26 --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
27 #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
28 --chromid $chromid
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
29 ]]></command>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
30 <inputs>
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
31 <param name="input" type="data" format="bed" label="BED file" help="BED format file must have at least 3 columns (chrom, start, end) and no more than 12 columns"/>
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
32 <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
33 <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
34 <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
35 <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
36 <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
37 </param>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
38 <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
39 </inputs>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
40 <outputs>
4
1e24dd91db95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 23fab16cd40acbd5b0e9d640ed3858040db7a622
iuc
parents: 3
diff changeset
41 <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
42 <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
43 </data>
4
1e24dd91db95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 23fab16cd40acbd5b0e9d640ed3858040db7a622
iuc
parents: 3
diff changeset
44 <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
45 <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
46 </data>
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
47 <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
48 <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
49 </data>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
50 </outputs>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
51 <tests>
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
52 <test expect_num_outputs="2">
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
53 <!-- this test only contains perfect entries that do get liftOvered (separate output) -->
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
54 <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
55 <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
56 <param name="input_chain" value="aToB.over.chain" ftype="csv"/>
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
57 <param name="merge_unmapped_entries" value="false"/>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
58 <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
59 <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
60 </test>
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
61 <test expect_num_outputs="1">
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
62 <!-- this test only contains perfect entries that do get liftOvered (merged output) -->
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
63 <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
64 <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
65 <param name="input_chain" value="aToB.over.chain" ftype="txt"/>
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
66 <param name="merge_unmapped_entries" value="true"/>
2
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_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
68 </test>
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
69 <test expect_num_outputs="2">
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
70 <!-- this test only contains imperfect entries that do get liftOvered (separate output) -->
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
71 <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
72 <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
73 <param name="input_chain" value="aToB.over.chain" ftype="txt"/>
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
74 <param name="merge_unmapped_entries" value="false"/>
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
75 <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
76 <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
77 <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
78 </test>
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
79 <test expect_num_outputs="1">
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
80 <!-- 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
81 <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
82 <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
83 <param name="input_chain" value="aToB.over.chain" ftype="txt"/>
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
84 <param name="merge_unmapped_entries" value="true"/>
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
85 <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
86 <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
87 </test>
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
88 <test expect_num_outputs="2">
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
89 <!-- 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
90 <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
91 <param name="index_source" value="cached"/>
10
50b7875a49d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit ad4d739b4837dd61abc85614568d22f271f14568
iuc
parents: 9
diff changeset
92 <param name="merge_unmapped_entries" value="false"/>
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
93 <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
94 <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
95 </test>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
96 </tests>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
97 <help><![CDATA[
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
98 @HELP_GENERAL@
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
99
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
100 BED
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
101 ---
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
102
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
103 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
104 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
105
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
106 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
107 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
108 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
109 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
110 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
111 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
112 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
113 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
114 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
115 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
116 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
117 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
118
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
119 Notes:
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
120
2
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
121 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
122 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
123 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
124 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
125 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
126 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
127 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
128 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
129 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
130 skipped.
79f9e32b380b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents: 0
diff changeset
131 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
132 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
133 ]]></help>
0
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
134 <citations>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
135 <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
136 </citations>
bc72094f7ce9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
137 </tool>