Mercurial > repos > ebi-gxa > scanpy_parameter_iterator
annotate scanpy-parameter-iterator.xml @ 0:86730078be1e draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
| author | ebi-gxa |
|---|---|
| date | Wed, 13 Mar 2019 11:48:57 -0400 |
| parents | |
| children | 81db17245979 |
| rev | line source |
|---|---|
|
0
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
1 <tool id="scanpy_parameter_iterator" name="Scanpy ParameterIterator" version="0.0.1+galaxy0"> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
2 <description>produce an iteration over a defined parameter</description> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
3 <macros> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
4 <import>scanpy_macros.xml</import> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
5 </macros> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
6 <requirements> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
7 <requirement type="package" version="1.42.1">bioconductor-rtracklayer</requirement> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
8 </requirements> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
9 <command detect_errors="exit_code"><![CDATA[ |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
10 mkdir outputs; |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
11 for param in \$(seq '$start_value' '$step' '$end_value'); do |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
12 echo \$param > outputs/'$parameter_name'_\$param\.txt; |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
13 done |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
14 ]]></command> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
15 |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
16 <inputs> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
17 <param type="select" name="parameter_name" label="Choose the format of the expression data" help="Use compressed txt, Scanpy or Seurat objects"> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
18 <option value="resolution" selected="true">Resolution</option> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
19 <option value="perplexity">Perplexity</option> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
20 </param> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
21 <param type="float" value="0" name="start_value" label="Starting value" help="Initial value for the parameter"/> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
22 <param type="float" value="1" name="step" label="Step" help="Increment to use from first to last value"/> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
23 <param type="float" value="10" name="end_value" label="Ending value" help="Final value for the parameter. The final value is not included if increments of step don't match the last value."/> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
24 </inputs> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
25 |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
26 <outputs> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
27 <collection name="parameter_iteration" type="list" label="Parameter iterated"> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
28 <discover_datasets pattern="__name_and_ext__" directory="outputs" /> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
29 </collection> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
30 </outputs> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
31 |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
32 <tests> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
33 <test> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
34 <param name="parameter_name" value="perplexity"/> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
35 <param name="start_value" value="1"/> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
36 <param name="step" value="1"/> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
37 <param name="end_value" value="2"/> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
38 <output_collection name="parameter_iteration"> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
39 <element name="perplexity_1"/> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
40 <element name="perplexity_2"> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
41 <assert_contents> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
42 <has_line line="2" /> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
43 </assert_contents> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
44 </element> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
45 </output_collection> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
46 </test> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
47 </tests> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
48 |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
49 <help><![CDATA[ |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
50 .. class:: infomark |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
51 |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
52 **What it does** |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
53 |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
54 Given start, step and end, it will iterate parameters for either perplexity or |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
55 resolution. |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
56 |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
57 **Inputs** |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
58 |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
59 * Parameter name: either Resolution or Perplexity. |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
60 * Starting value: float for Resolution, integer for Perplexity. |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
61 * Step: float for Resolution, integer for Perplexity. |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
62 * End value: float for Resolution, integer for Perplexity. |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
63 |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
64 **Outputs** |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
65 |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
66 * Collection of parameters to be passed to either Scanpy run tSNE (perplexity) or Scanpy find clusters (resolution). |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
67 |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
68 @VERSION_HISTORY@ |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
69 ]]></help> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
70 <expand macro="citations"/> |
|
86730078be1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff
changeset
|
71 </tool> |
