annotate scanpy-scale-data.xml @ 1:edb0d2e8ab66 draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
author ebi-gxa
date Thu, 12 Mar 2020 09:09:35 +0000
parents eae21a6c3128
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
1
edb0d2e8ab66 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
ebi-gxa
parents: 0
diff changeset
2 <tool id="scanpy_scale_data" name="Scanpy ScaleData" version="@TOOL_VERSION@+galaxy10" profile="@PROFILE@">
0
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
3 <description>to make expression variance the same for all genes</description>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
4 <macros>
1
edb0d2e8ab66 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
ebi-gxa
parents: 0
diff changeset
5 <import>scanpy_macros2.xml</import>
0
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
6 </macros>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
7 <expand macro="requirements"/>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
9 ln -s '${input_obj_file}' input.h5 &&
1
edb0d2e8ab66 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
ebi-gxa
parents: 0
diff changeset
10 PYTHONIOENCODING=utf-8 scanpy-scale-data
0
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
11 #if $scale_max
1
edb0d2e8ab66 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
ebi-gxa
parents: 0
diff changeset
12 --max-value '${scale_max}'
0
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
13 #end if
1
edb0d2e8ab66 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
ebi-gxa
parents: 0
diff changeset
14 ${zero_center}
edb0d2e8ab66 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
ebi-gxa
parents: 0
diff changeset
15 @INPUT_OPTS@
edb0d2e8ab66 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
ebi-gxa
parents: 0
diff changeset
16 @OUTPUT_OPTS@
0
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
17 ]]></command>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
18
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
19 <inputs>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
20 <expand macro="input_object_params"/>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
21 <expand macro="output_object_params"/>
1
edb0d2e8ab66 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
ebi-gxa
parents: 0
diff changeset
22 <param name="zero_center" type="boolean" checked="true" truevalue="" falsevalue="--no-zero-center"
edb0d2e8ab66 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
ebi-gxa
parents: 0
diff changeset
23 label="Zero center data before scaling"/>
edb0d2e8ab66 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
ebi-gxa
parents: 0
diff changeset
24 <param name="scale_max" argument="--max-value" type="float" min="0" optional="true" label="Truncate to this value after scaling"/>
0
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
25 </inputs>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
26
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
27 <outputs>
1
edb0d2e8ab66 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
ebi-gxa
parents: 0
diff changeset
28 <expand macro="output_data_obj" description="Scaled data"/>
0
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
29 </outputs>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
30
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
31 <tests>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
32 <test>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
33 <param name="input_obj_file" value="find_variable_genes.h5"/>
eae21a6c3128 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="input_format" value="anndata"/>
eae21a6c3128 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="output_format" value="anndata"/>
eae21a6c3128 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="zero_center" value="true"/>
eae21a6c3128 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="scale_max" value="10"/>
eae21a6c3128 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 name="output_h5" file="scale_data.h5" ftype="h5" compare="sim_size"/>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
39 </test>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
40 </tests>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
41
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
42 <help><![CDATA[
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
43 .. class:: infomark
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
44
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
45 **What it does**
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
46
1
edb0d2e8ab66 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
ebi-gxa
parents: 0
diff changeset
47 Scale data to unit variance and (optionally) zero mean (`scanpy.pp.scale`)
0
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
48
eae21a6c3128 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@
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
50
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
51 @VERSION_HISTORY@
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
52 ]]></help>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
53 <expand macro="citations"/>
eae21a6c3128 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
ebi-gxa
parents:
diff changeset
54 </tool>