annotate pretext_graph.xml @ 2:b3c4bad4b615 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pretext commit f58b497b52f86a3d1c2c5eedbdf684145d43f1e8
author iuc
date Fri, 07 Nov 2025 16:40:03 +0000
parents 204c10e3703c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
1 <tool id="pretext_graph" name="Pretextgraph" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
2 <description>Embed bedgraph formatted data inside a Pretext contact map.</description>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
3 <macros>
2
b3c4bad4b615 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pretext commit f58b497b52f86a3d1c2c5eedbdf684145d43f1e8
iuc
parents: 1
diff changeset
4 <token name="@TOOL_VERSION@">0.0.9</token>
0
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
6 </macros>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
7 <requirements>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">pretextgraph</requirement>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
9 <requirement type="package" version="377"> ucsc-bigwigtobedgraph</requirement>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
10 </requirements>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
12 cp '$pretext' input.pretext &&
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
13 #if $input.is_of_type("bedgraph"):
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
14 cat '$input' |
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
15 #else if $input.is_of_type("bigwig"):
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
16 ln -s '$input' input.bigwig &&
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
17 bigWigToBedGraph input.bigwig /dev/stdout |
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
18 #end if
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
19 PretextGraph -i input.pretext
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
20 #if $name:
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
21 -n '$name'
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
22 #end if
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
23 -o output.pretext
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
24 ]]></command>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
25 <inputs>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
26 <param name="input" type="data" format="bigwig,bedgraph" label="Input bigwig or bedgraph file"/>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
27 <param name="pretext" type="data" format="pretext" label="Pretext file" help="Sequence names in the Pretext file must match sequence names in the bedgraph data; although relative sort order is unimportant."/>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
28 <param name="name" type="text" label="Label for the graph" optional="true"/>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
29 </inputs>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
30 <outputs>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
31 <data name="graph_out" format="pretext" from_work_dir="output.pretext" label="${tool.name} on ${on_string}"/>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
32 </outputs>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
33 <tests>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
34 <!-- BIGWIG TEST -->
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
35 <test expect_num_outputs="1">
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
36 <param name="input" value="input_graph.bw" ftype="bigwig"/>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
37 <param name="pretext" value="input_graph.pretext" ftype="pretext"/>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
38 <param name="name" value="testing"/>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
39 <output name="graph_out" file="output_4.pretext"/>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
40 </test>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
41 <!-- BEDGRAPH TEST -->
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
42 <test expect_num_outputs="1">
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
43 <param name="input" value="input_graph.bgr" ftype="bedgraph"/>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
44 <param name="pretext" value="input_graph.pretext" ftype="pretext"/>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
45 <param name="name" value="testing_2"/>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
46 <output name="graph_out" file="output_5.pretext"/>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
47 </test>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
48 </tests>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
49 <help><![CDATA[
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
50 Adds additional data onto existing pretextmap files.
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
51 Input Pretext file acts as a foundation for additional data to be added onto.
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
52 Sequence names in the Pretext file must match sequence names in the bedgraph data; although relative sort order is unimportant.
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
53 The chosen name acts as a lable on the graph.
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
54 ]]></help>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
55 <citations>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
56 <citation type="bibtex">
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
57 @misc{Harry_et_al,
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
58 Author={Harry, E},
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
59 title={Paired REad TEXTure Graph: Embeds bedgraph data into Pretext contact maps.},
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
60 url = {https://github.com/wtsi-hpag/PretextGraph},}
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
61 </citation>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
62 </citations>
716ec61855a1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit e387e8541eb3e9c5ce56440f955a3b6f2aa27d08
iuc
parents:
diff changeset
63 </tool>