Mercurial > repos > iuc > crossmap_wig
annotate crossmap_wig.xml @ 0:0d0d8d882315 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:46:16 -0400 |
| parents | |
| children | f36c2d58e591 |
| rev | line source |
|---|---|
|
0
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
1 <tool id="crossmap_wig" name="CrossMap Wig" version="@WRAPPER_VERSION@-0"> |
|
0d0d8d882315
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> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
3 <macros> |
|
0d0d8d882315
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> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
5 </macros> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
7 <expand macro="stdio"/> |
|
0d0d8d882315
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"/> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
9 <command><![CDATA[ |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
10 |
|
0d0d8d882315
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) |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
12 |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
13 CrossMap.py wig |
|
0d0d8d882315
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}' |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
15 '${input_file}' |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
16 '${output}' |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
17 |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
18 && mv '${output}.bw' '${output}' |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
19 && mv '${output}.sorted.bgr' '${output2}' |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
20 ]]></command> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
21 |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
22 <inputs> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
23 <conditional name="seq_source"> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
24 <expand macro="source" /> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
25 <when value="cached"> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
26 <param format="wig" name="input" type="data" label="Wiggle file"> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
27 <validator type="unspecified_build"/> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
28 <!-- Gives error in tests |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
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."/> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
30 --> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
31 </param> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
32 </when> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
33 <when value="history"> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
34 <param format="wig" name="input" type="data" label="Wiggle file"/> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
35 </when> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
36 </conditional> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
37 <expand macro="chain" /> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
38 </inputs> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
39 |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
40 <outputs> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
41 <data format="wig" name="output" label="${tool.name} on ${on_string}" /> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
42 <data format="wig" name="output2" label="${tool.name} (bedgraph) on ${on_string}" /> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
43 </outputs> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
44 |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
45 <tests> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
46 <!-- WIG - Doesn't understand fixedStep --> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
47 <test> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
48 <param name="index_source" value="history"/> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
49 <param name="input" value="test_wig_01_input_a.wig" ftype="wig"/> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
50 <param name="input_chain" value="aToB.over.chain" ftype="csv"/> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
51 |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
52 <output name="output" file="test_wig_01_output_a.bw"/> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
53 <output name="output2" file="test_wig_01_output_a.sorted.bgr"/> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
54 </test> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
55 </tests> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
56 <help><![CDATA[ |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
57 @HELP_GENERAL@ |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
58 |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
59 Wig |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
60 --- |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
61 |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
62 Input wiggle data can be in variableStep (for data with irregular |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
63 intervals) or fixedStep (for data with regular intervals). Regardless of |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
64 the input, the output will always in bedGraph format. bedGraph format is |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
65 similar to wiggle format and can be converted into BigWig format using UCSC |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
66 wigToBigWig tool. We export files in bedGraph because it is usually much |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
67 smaller than file in wiggle format, and more importantly, CrossMap |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
68 internally transforms wiggle into bedGraph to increase running speed. |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
69 |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
70 Please see `the manual <http://crossmap.sourceforge.net/#convert-wiggle-bigwig-format-files>`__ for more details |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
71 ]]></help> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
72 |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
73 <citations> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
74 <citation type="doi">10.1093/bioinformatics/btt730</citation> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
75 </citations> |
|
0d0d8d882315
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff
changeset
|
76 </tool> |
