annotate pcdl_get_cell_attribute.xml @ 0:4fa8a2d9fe6d 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 19:00:15 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
1 <tool id="pcdl_get_cell_attribute" name="pcdl_get_cell_attribute" version="3.0.1+galaxy0" profile="21.05">
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
2 <macros>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
3 <import>pcdl_macros.xml</import>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
4 </macros>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
5 <requirements>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
6 <expand macro="requirement"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
7 </requirements>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
8 <command><![CDATA[
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
9 #import re
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
10 mkdir output_pc &&
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
11 #for $file in $path:
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
12 #set $filename = re.sub('[^\w\-\.\s]', '_', str($file.element_identifier))
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
13 ln -s '$file' output_pc/$filename &&
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
14 #end for
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
15
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
16 pcdl_get_cell_attribute 'output_pc' $entropy
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
17 --custom_data_type $custom_data_type
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
18 --microenv $microenv
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
19 --physiboss $physiboss
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
20 --settingxml 'none'
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
21 --verbose $verbose
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
22 --drop $drop
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
23 --keep $keep
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
24 --allvalues $allvalues
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
25 ]]></command>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
26 <inputs>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
27 <section name="essential" title="essential:" expanded="true">
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
28 <expand macro="path"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
29 <expand macro="entropy"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
30 <expand macro="drop"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
31 <expand macro="keep"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
32 <expand macro="allvalues"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
33 </section>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
34 <section name="advanced" title="advanced:" expanded="false">
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
35 <expand macro="custom_data_type"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
36 <expand macro="microenv"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
37 <expand macro="physiboss"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
38 <expand macro="verbose"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
39 </section>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
40 </inputs>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
41 <outputs>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
42 <collection name="cell_attribute_json" type="list">
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
43 <discover_datasets pattern="(?P&lt;designation&gt;timeseries_cell_attribute_.+)\.json" format="json" directory="output_pc" visible="false"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
44 </collection>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
45 </outputs>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
46 <tests>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
47 <test expect_num_outputs="1">
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
48 <section name="essential">
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
49 <param name="path">
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
50 <expand macro="output"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
51 </param>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
52 </section>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
53 <section name="advanced">
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
54 <param name="verbose" value="true"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
55 </section>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
56 <output_collection name="cell_attribute_json" count="1">
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
57 <element name="timeseries_cell_attribute_minmax">
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
58 <assert_contents>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
59 <has_text text="{&quot;"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
60 <has_text text="&quot;: ["/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
61 <has_text text="], &quot;"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
62 <has_text text="]}"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
63 </assert_contents>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
64 </element>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
65 </output_collection>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
66 </test>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
67 </tests>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
68 <help><![CDATA[
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
69 Function to detect informative variables in a time series. This function detects even variables which have less than the minimal state count in each time step, but different values from time step to time step. The output is a json file with an entry of all non-coordinate column names that at least in one of the time steps or in between time steps, reach the given minimal value count. Key is the column name, mapped is a list of all values (bool, str, and, if allvalues is True, int and float) or a list with minimum and maximum values (int, float).
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
70
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
71 Homepage: https://github.com/elmbeech/physicelldataloader
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
72 ]]></help>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
73 <citations>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
74 <expand macro="citation"/>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
75 </citations>
4fa8a2d9fe6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
76 </tool>