annotate crossmap_bed.xml @ 0:235ab3277db1 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
author iuc
date Sat, 01 Jul 2017 17:44:51 -0400
parents
children b0d8635e0161
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
1 <tool id="crossmap_bed" name="CrossMap BED" version="@WRAPPER_VERSION@-0">
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
2 <description>Convert genome coordinates or annotation files between genome assemblies</description>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
3 <macros>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
4 <import>macros.xml</import>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
5 </macros>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
7 <expand macro="stdio"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
9
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
10 <command><![CDATA[
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
11 #set $input_file = str($seq_source.input)
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
12
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
13 CrossMap.py bed
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
14 '${chain_source.input_chain}'
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
15
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
16 '${input_file}'
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
17
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
18 #if str($include_fails) == "True"
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
19 >
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
20 #end if
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
21
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
22 '${output}'
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
23 ]]></command>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
24
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
25
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
26 <inputs>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
27 <conditional name="seq_source">
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
28 <expand macro="source" />
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
29
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
30 <when value="cached">
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
31 <param format="bed" name="input" type="data" label="BED file"
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
32 help="BED format file must have at least 3 columns (chrom, start, end) and no more than 12 columns.">
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
33 <validator type="unspecified_build"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
34 <!-- Gives error in tests
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
35 <validator type="dataset_metadata_in_file" filename="liftOver.loc" metadata_name="dbkey" metadata_column="0" message="LiftOver mapping (chain file) is not available for the specified build."/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
36 -->
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
37 </param>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
38 </when>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
39 <when value="history">
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
40 <param type="data" format="bed" name="input" label="BED file"
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
41 help="BED format file must have at least 3 columns (chrom, start, end) and no more than 12 columns."/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
42 </when>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
43 </conditional>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
44 <expand macro="chain" />
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
45
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
46 <param name="include_fails" type="boolean" truevalue="True" checked="false" falsevalue="False" label="Include failed liftovers"
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
47 help="If a coordinate can not be lift over, do you want to include it in the output (it is still being marked 'fail')"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
48 </inputs>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
49
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
50 <outputs>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
51 <data format="bed" name="output" label="${tool.name} on ${on_string}" />
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
52 <data format="text" name="output2" label="${tool.name} (bedgraph) on ${on_string}" />
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
53 </outputs>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
54
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
55 <tests>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
56 <!-- BED -->
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
57 <test>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
58 <param name="index_source" value="history"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
59 <param name="input" value="test_bed_01_input_a.bed" ftype="bed"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
60 <param name="input_chain" value="aToB.over.chain" ftype="csv"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
61 <param name="include_fails" value="False"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
62
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
63 <output name="output" file="test_bed_01_output_a__only-matches.bed"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
64 </test>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
65 <test>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
66 <param name="index_source" value="history"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
67 <param name="input" value="test_bed_01_input_a.bed" ftype="bed"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
68 <param name="input_chain" value="aToB.over.chain" ftype="txt"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
69 <param name="include_fails" value="True"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
70
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
71 <output name="output" file="test_bed_01_output_a__all.bed"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
72 </test>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
73 <test>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
74 <param name="index_source" value="history"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
75 <param name="input" value="test_bed_02_input_a.bed" ftype="bed"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
76 <param name="input_chain" value="aToB.over.chain" ftype="txt"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
77 <param name="include_fails" value="False"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
78
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
79 <output name="output" file="test_bed_02_output_a__only-matches.bed"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
80 </test>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
81 <test>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
82 <param name="index_source" value="history"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
83 <param name="input" value="test_bed_02_input_a.bed" ftype="bed"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
84 <param name="input_chain" value="aToB.over.chain" ftype="txt"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
85 <param name="include_fails" value="True"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
86
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
87 <output name="output" file="test_bed_02_output_a__all.bed"/>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
88 </test>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
89 </tests>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
90 <help><![CDATA[
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
91 @HELP_GENERAL@
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
92
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
93 BED
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
94 ---
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
95
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
96 BED format file must have at least 3 columns (chrom, start, end) and no more than 12 columns.
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
97 BED format: http://genome.ucsc.edu/FAQ/FAQformat.html#format1
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
98
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
99 A BED (Browser Extensible Data) file is a tab-delimited text file
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
100 describing genome regions or gene annotations. It is the standard file
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
101 format used by UCSC. It consists of one line per feature, each containing
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
102 3-12 columns. CrossMap converts BED files with less than 12 columns to a
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
103 different assembly by updating the chromosome and genome coordinates only;
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
104 all other columns remain unchanged. Regions from old assembly mapping to
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
105 multiple locations to the new assembly will be split. For 12-columns BED
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
106 files, all columns will be updated accordingly except the 4th column (name
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
107 of bed line), 5th column (score value) and 9th column (RGB value describing
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
108 the display color). 12-column BED files usually define multiple blocks (eg.
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
109 exon); if any of the exons fails to map to a new assembly, the whole BED
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
110 line is skipped.
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
111
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
112 NOTE:
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
113
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
114 1. For BED-like formats mentioned above, CrossMap only updates “chrom (1st
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
115 column)”, “start (2nd column) ”, “end (3rd column) ” and “strand” (if
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
116 any). All other columns will keep AS-IS.
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
117 2. Lines starting with ‘#’, ‘browser’, ‘track’ will be skipped.
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
118 3. Lines will less than 3 columns will be skipped.
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
119 4. 2nd-column and 3-column must be integer, otherwise skipped.
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
120 5. “+” strand is assumed if no strand information was found.
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
121 6. For standard BED format (12 columns). If any of the defined exon blocks
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
122 cannot be uniquely mapped to target assembly, the whole entry will be
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
123 skipped.
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
124 7. If input region cannot be consecutively mapped target assembly, it will be split.
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
125 8. *.unmap file contains regions that cannot be unambiguously converted.
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
126
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
127 Please see `the manual <http://crossmap.sourceforge.net/#convert-bed-format-files>`__ for more details.
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
128 ]]></help>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
129
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
130 <citations>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
131 <citation type="doi">10.1093/bioinformatics/btt730</citation>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
132 </citations>
235ab3277db1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
133 </tool>