annotate pretext_graph.xml @ 2:408ece2e4647 draft default tip

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