comparison pcdl_plot_contour.xml @ 0:dc77ad27cd20 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
author iuc
date Mon, 04 Aug 2025 18:59:37 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:dc77ad27cd20
1 <tool id="pcdl_plot_contour" name="pcdl_plot_contour" version="3.0.1+galaxy0" profile="21.05">
2 <macros>
3 <import>pcdl_macros.xml</import>
4 </macros>
5 <requirements>
6 <expand macro="requirement"/>
7 </requirements>
8 <command><![CDATA[
9 #import re
10 mkdir output_pc &&
11 #for $file in $path:
12 #set $filename = re.sub('[^\w\-\.\s]', '_', str($file.element_identifier))
13 ln -s '$file' output_pc/$filename &&
14 #end for
15
16 pcdl_plot_contour 'output_pc' '$focus_subs'
17 --verbose $verbose
18 --z_slice $z_slice
19 --extrema '$extrema'
20 --alpha $alpha
21 --fill $fill
22 --cmap '$cmap'
23 --title '$title'
24 --grid $grid
25 --xlim '$xlim'
26 --ylim '$ylim'
27 --xyequal $xyequal
28 --figsizepx $figsizepx_x $figsizepx_y
29 --directory 'jakku'
30 --ext $ext
31 --figbgcolor '$figbgcolor'
32 ]]></command>
33 <inputs>
34 <section name="essential" title="essential:" expanded="true">
35 <expand macro="path"/>
36 <expand macro="focus_subs"/>
37 <expand macro="z_slice"/>
38 <expand macro="extrema"/>
39 <expand macro="alpha"/>
40 <expand macro="fill"/>
41 <expand macro="cmap"/>
42 <expand macro="title"/>
43 <expand macro="grid"/>
44 <expand macro="xlim"/>
45 <expand macro="ylim"/>
46 <expand macro="xyequal"/>
47 <expand macro="figsizepx_x"/>
48 <expand macro="figsizepx_y"/>
49 <expand macro="ext"/>
50 <expand macro="figbgcolor"/>
51 </section>
52 <section name="advanced" title="advanced:" expanded="false">
53 <expand macro="verbose"/>
54 </section>
55 </inputs>
56 <outputs>
57 <collection name="contour_plot" type="list">
58 <discover_datasets pattern="(?P&lt;designation&gt;output.+)\.jpeg" format="jpg" directory="jakku" visible="false"/>
59 </collection>
60 </outputs>
61 <tests>
62 <test expect_num_outputs="1">
63 <section name="essential">
64 <param name="path">
65 <expand macro="output"/>
66 </param>
67 <param name="focus_subs" value="oxygen"/>
68 </section>
69 <section name="advanced">
70 <param name="verbose" value="false"/>
71 </section>
72 <output_collection name="contour_plot" count="2">
73 <element name="output00000000_oxygen">
74 <assert_contents>
75 <has_text text="JFIF"/>
76 </assert_contents>
77 </element>
78 <element name="output00000001_oxygen">
79 <assert_contents>
80 <has_text text="JFIF"/>
81 </assert_contents>
82 </element>
83 </output_collection>
84 </test>
85 </tests>
86 <help><![CDATA[
87 Function generates matplotlib contour (or contourf) plots, inclusive color bar, for the substrate specified.
88
89 Homepage: https://github.com/elmbeech/physicelldataloader
90 ]]></help>
91 <citations>
92 <expand macro="citation"/>
93 </citations>
94 </tool>