annotate scanpy-regress-variable.xml @ 3:b8f8890d95e4 draft

planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit d13a0a5fceabe51e1a6fe763767b963623aa295a
author ebi-gxa
date Mon, 28 Oct 2019 05:22:33 -0400
parents 203fac3b1ba3
children b174cb4cb89e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
1
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
2 <tool id="scanpy_regress_variable" name="Scanpy RegressOut" version="@TOOL_VERSION@+galaxy1">
0
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
3 <description>variables that might introduce batch effect</description>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
4 <macros>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
5 <import>scanpy_macros2.xml</import>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
6 </macros>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
7 <expand macro="requirements"/>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
1
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
9 #if $variable_keys
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
10 ln -s '${input_obj_file}' input.h5 &&
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
11 PYTHONIOENCODING=utf-8 scanpy-regress
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
12 --keys '${variable_keys}'
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
13 @INPUT_OPTS@
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
14 @OUTPUT_OPTS@
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
15 #else
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
16 echo "No regression variables passed, simply passing original input as output unchanged.";
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
17 cp '${input_obj_file}' '${output_h5}'
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
18 #end if
0
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
19 ]]></command>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
20
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
21 <inputs>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
22 <expand macro="input_object_params"/>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
23 <expand macro="output_object_params"/>
1
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
24 <param name="variable_keys" type="text" label="Variables to regress out" help="Use comma to separate multiple variables. Not supplying variables will simply pass the input data as output unchanged.">
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
25 <sanitizer>
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
26 <valid initial="string.printable"/>
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
27 </sanitizer>
203fac3b1ba3 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1cc5d2101b8b14fa99e11b01714e5544704e669f
ebi-gxa
parents: 0
diff changeset
28 </param>
0
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
29 </inputs>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
30
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
31 <outputs>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
32 <data name="output_h5" format="h5" from_work_dir="output.h5" label="${tool.name} on ${on_string}: Scaled data"/>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
33 </outputs>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
34
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
35 <tests>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
36 <test>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
37 <param name="input_obj_file" value="find_variable_genes.h5"/>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
38 <param name="input_format" value="anndata"/>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
39 <param name="output_format" value="anndata"/>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
40 <param name="variable_keys" value="n_counts"/>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
41 <output name="output_h5" file="scale_data.h5" ftype="h5" compare="sim_size"/>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
42 </test>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
43 </tests>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
44
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
45 <help><![CDATA[
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
46 .. class:: infomark
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
47
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
48 **What it does**
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
49
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
50 Regress out unwanted source of variance (`scanpy.pp.regress_out`)
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
51
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
52 @HELP@
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
53
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
54 @VERSION_HISTORY@
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
55 ]]></help>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
56 <expand macro="citations"/>
6c990f8ccad3 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 4846776f55931e176f7e77af7c185ec6fec7d142"
ebi-gxa
parents:
diff changeset
57 </tool>