annotate crossmap_bigwig.xml @ 0:143ec4d1c8f3 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
author iuc
date Tue, 26 Sep 2017 05:45:25 -0400
parents
children 3b82b6febfd3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
1 <tool id="crossmap_bw" name="CrossMap BigWig" version="@WRAPPER_VERSION@-0">
143ec4d1c8f3 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>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
3 <macros>
143ec4d1c8f3 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>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
5 </macros>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
7 <expand macro="stdio"/>
143ec4d1c8f3 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"/>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
9
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
10 <command><![CDATA[
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
11 #set $input_file = str($seq_source.input)
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
12
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
13 CrossMap.py bigwig
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
14 '${chain_source.input_chain}'
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
15 '${input_file}'
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
16 '${output}'
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
17
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
18 && mv '${output}.bw' '${output}'
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
19
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
20 ]]></command>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
21
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
22 <inputs>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
23 <conditional name="seq_source">
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
24 <expand macro="source" />
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
25 <when value="cached">
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
26 <param format="bigwig" name="input" type="data" label="BigWig file">
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
27 <validator type="unspecified_build"/>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
28 <!-- Gives error in tests
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
29 <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."/>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
30 -->
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
31 </param>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
32 </when>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
33 <when value="history">
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
34 <param type="data" format="bigwig" name="input" label="BigWig file"/>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
35 </when>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
36 </conditional>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
37 <expand macro="chain" />
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
38 </inputs>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
39
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
40 <outputs>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
41 <data format="bigwig" name="output" label="${tool.name} on ${on_string}" />
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
42 </outputs>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
43
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
44 <tests>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
45 <!-- BigWig --><!-- Malfuncioning in CrossMap 0.2, but patched via galaxy toolshed installer -->
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
46 <test>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
47 <param name="input_format" value="bigwig"/>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
48 <param name="index_source" value="history"/>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
49 <param name="input" value="test_bigwig_01_input_a.bw" ftype="bigwig"/>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
50 <param name="input_chain" value="aToB.over.chain" ftype="csv"/>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
51 <param name="include_fails" value="False"/>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
52
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
53 <output name="output" file="test_bigwig_01_output_a.bw"/>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
54 </test>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
55 </tests>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
56 <help><![CDATA[
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
57 @HELP_GENERAL@
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
58
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
59 BigWig
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
60 ------
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
61
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
62 Input wiggle data can be in variableStep (for data with irregular
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
63 intervals) or fixedStep (for data with regular intervals). Regardless of
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
64 the input, the output will always in bedGraph format. bedGraph format is
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
65 similar to wiggle format and can be converted into BigWig format using UCSC
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
66 wigToBigWig tool. We export files in bedGraph because it is usually much
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
67 smaller than file in wiggle format, and more importantly, CrossMap
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
68 internally transforms wiggle into bedGraph to increase running speed.
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
69
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
70 Please see `the manual <http://crossmap.sourceforge.net/#convert-wiggle-bigwig-format-files>`__ for more details
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
71 ]]></help>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
72
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
73 <citations>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
74 <citation type="doi">10.1093/bioinformatics/btt730</citation>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
75 </citations>
143ec4d1c8f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
iuc
parents:
diff changeset
76 </tool>