annotate scanpy-regress-variable.xml @ 1:aed61b9dcca9 draft default tip

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