Mercurial > repos > iuc > crossmap_bed
annotate crossmap_bed.xml @ 2:79f9e32b380b draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
author | iuc |
---|---|
date | Fri, 20 Oct 2017 02:48:24 -0400 |
parents | bc72094f7ce9 |
children | b49e453e6f97 |
rev | line source |
---|---|
0
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
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: |
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
27 '${output_valid}' |
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
28 && mv '${output_valid}.unmap' '${output_failed}' |
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
29 #end if |
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
30 |
0
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
31 ]]></command> |
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 |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
34 <inputs> |
2
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
35 <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
|
36 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
|
37 |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
38 <expand macro="chain" /> |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
39 |
2
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
40 <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
|
41 </inputs> |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
42 |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
43 <outputs> |
2
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
44 <data name="output_valid" format="bed" label="${tool.name} (valid only) 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
|
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_failed" format="bed" label="${tool.name} (failed only) 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 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> |
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
50 |
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
51 <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
|
52 <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
|
53 </data> |
0
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
54 </outputs> |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
55 |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
56 <tests> |
2
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
57 <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
|
58 <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
|
59 <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
|
60 <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
|
61 <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
|
62 |
2
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_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
|
64 <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
|
65 </test> |
2
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
66 <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
|
67 <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
|
68 <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
|
69 <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
|
70 <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
|
71 |
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
72 <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
|
73 </test> |
0
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
74 |
2
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
75 <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
|
76 <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
|
77 <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
|
78 <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
|
79 <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
|
80 |
2
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_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
|
82 <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
|
83 </test> |
2
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
84 <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
|
85 <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
|
86 <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
|
87 <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
|
88 <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
|
89 |
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
90 <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
|
91 </test> |
0
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
92 |
2
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
93 <test><!-- clone of first test: tests cached reference chain file --> |
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="input" value="test_bed_01_input_a.bed" ftype="bed"/> |
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="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
|
96 <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
|
97 |
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_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
|
99 <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
|
100 </test> |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
101 </tests> |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
102 <help><![CDATA[ |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
103 @HELP_GENERAL@ |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
104 |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
105 BED |
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 |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
108 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
|
109 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
|
110 |
2
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
111 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
|
112 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
|
113 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
|
114 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
|
115 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
|
116 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
|
117 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
|
118 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
|
119 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
|
120 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
|
121 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
|
122 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
|
123 |
2
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
124 Notes: |
0
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
125 |
2
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
126 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
|
127 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
|
128 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
|
129 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
|
130 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
|
131 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
|
132 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
|
133 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
|
134 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
|
135 skipped. |
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
136 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
|
137 8. \*.unmap file contains regions that cannot be unambiguously converted. |
0
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
138 |
2
79f9e32b380b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit e365f2835488e73b870c73502c24ff23d28b76a5
iuc
parents:
0
diff
changeset
|
139 ]]></help> |
0
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
140 |
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 <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
|
143 </citations> |
bc72094f7ce9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff
changeset
|
144 </tool> |