annotate celltypist.xml @ 1:df005630100e draft default tip

planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4dd95e3e6c059cc9df47f5d08e4f3f8b618830f1-dirty
author ebi-gxa
date Wed, 19 Feb 2025 12:10:17 +0000
parents a7d6985ba791
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
df005630100e planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4dd95e3e6c059cc9df47f5d08e4f3f8b618830f1-dirty
ebi-gxa
parents: 0
diff changeset
1 <tool id="celltypist_predict" name="CellTypist: Predict Cell Types" version="1.6.3+galaxy1" profile="20.05" license="MIT">
0
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
2 <description>Predict cell types using an existing CellTypist model.</description>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
3 <requirements>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
4 <requirement type="package" version="1.6.3">celltypist</requirement>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
5 </requirements>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
6 <command detect_errors="exit_code">
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
7 <![CDATA[
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
8 #if $inp.format == 'h5ad':
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
9 ln -s "$inp.data" input.h5ad &&
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
10 #else:
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
11 ln -s "$inp.data" input.mtx &&
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
12 #end if
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
13 ln -s "$model_file" model.pkl &&
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
14 python $__tool_directory__/celltypist_CLI.py --action predict
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
15 --output_path "$output_predictions"
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
16 --model model.pkl
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
17 #if $inp.format == 'h5ad':
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
18 --input_path input.h5ad
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
19 #if $inp.raw_counts_layer:
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
20 --raw_counts_layer "$inp.raw_counts_layer"
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
21 #end if
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
22 #if $inp.gene_symbols_field:
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
23 --gene_symbols_field "$inp.gene_symbols_field"
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
24 #end if
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
25 #else:
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
26 --input_path input.mtx
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
27 --gene_file "$inp.gene_file"
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
28 --cell_file "$inp.cell_file"
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
29 #end if
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
30
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
31 ${normalize}
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
32 ${transpose_input}
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
33 --mode "$mode"
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
34 --p_thres "$p_thres"
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
35 ${majority_voting}
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
36 #if $over_clustering:
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
37 --over_clustering "$over_clustering"
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
38 #end if
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
39 ]]>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
40 </command>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
41 <inputs>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
42 <conditional name="inp" label="Input format">
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
43 <param name="format" type="select" label="Input format" help="Format for the input files, either AnnData or Matrix market format (10x)">
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
44 <option value="h5ad">AnnData</option>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
45 <option value="mtx">Matrix market</option>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
46 </param>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
47 <when value="h5ad">
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
48 <param format="h5ad" type="data" name="data" label="Input data (AnnData)" help="The input data for prediction."/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
49 <param type="text" name="raw_counts_layer" label="Raw counts layer" help="The name of the layer that stores the raw counts. Uses default matrix if not present."/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
50 <param type="text" name="gene_symbols_field" label="Gene symbols field" help="The field in AnnData where the gene symbols are stored, if not in index."/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
51 </when>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
52 <when value="mtx">
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
53 <param format="mtx,txt" type="data" name="data" label="Input matrix (mtx file)" help="The input data for prediction."/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
54 <param format="txt,tabular" type="data" name="gene_file" label="Gene file" help="The file containing one gene per line corresponding to the genes in the input data (required for .mtx data)."/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
55 <param format="txt,tabular" type="data" name="cell_file" label="Cell file" help="The file containing one cell per line corresponding to the cells in the input data (required for .mtx data)."/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
56 </when>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
57 </conditional>
1
df005630100e planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4dd95e3e6c059cc9df47f5d08e4f3f8b618830f1-dirty
ebi-gxa
parents: 0
diff changeset
58 <param format="data" type="data" name="model_file" optional="false" label="Model file" help="A CellTypist model file in .pkl format."/>
0
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
59 <param type="boolean" argument="--normalize" label="Normalize" truevalue="--normalize" falsevalue="" help="If raw counts are provided in the AnnData object, they need to be normalized."/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
60 <param type="boolean" argument="--transpose_input" label="Transpose input" truevalue="--transpose_input" falsevalue="" help="If the provided matrix is in the gene-by-cell format, please transpose the input to cell-by-gene format."/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
61 <param type="select" name="mode" label="Mode" help="Mode for the prediction (e.g., best match, majority vote).">
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
62 <option value="best_match" selected="true">Best match</option>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
63 <option value="prob_match">Probability match</option>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
64 </param>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
65 <param type="float" name="p_thres" value="0.5" label="Probability threshold" help="Probability threshold for assigning a cell type in a multiclass problem. Ignored if Mode set to Best match."/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
66 <param type="boolean" argument="--majority_voting" label="Majority voting" truevalue="--majority_voting" falsevalue="" help="Refine the predicted labels by running the majority voting classifier after over-clustering."/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
67 <param type="text" name="over_clustering" label="Over-clustering" help="If majority voting is set to True, specify the type of over-clustering that is to be performed. This can be specified in the AnnData or an input file specifying the over-clustering per cell. If not present, then the default heuristic over-clustering based on input data will be used."/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
68 </inputs>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
69 <outputs>
1
df005630100e planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4dd95e3e6c059cc9df47f5d08e4f3f8b618830f1-dirty
ebi-gxa
parents: 0
diff changeset
70 <data format="tabular" name="output_predictions" label="${tool.name} on ${on_string}: cell typing table"/>
0
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
71 </outputs>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
72 <tests>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
73 <test expect_num_outputs="1">
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
74 <param name="model_file" value="Healthy_COVID19_PBMC.pkl"/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
75 <param name="normalize" value="true"/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
76 <param name="mode" value="best_match"/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
77 <param name="p_thres" value="0.5"/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
78 <conditional name="inp">
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
79 <param name="format" value="h5ad"/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
80 <param name="data" value="raw_counts_pbmc3k.h5ad"/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
81 <param name="gene_symbols_field" value="SYMBOL"/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
82 </conditional>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
83 <output name="output_predictions">
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
84 <assert_contents>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
85 <has_text text="MAIT"/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
86 <has_n_lines n="2701"/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
87 <has_n_columns n="2"/>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
88 </assert_contents>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
89 </output>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
90 </test>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
91 </tests>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
92 <help><![CDATA[
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
93 .. _celltypist_predict_tool:
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
94
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
95 CellTypist: Predict Cell Types
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
96 ------------------------------
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
97
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
98 CellTypist is a tool for automatic cell type annotation using single-cell RNA sequencing data. This Galaxy tool wrapper executes the CellTypist script in "predict" mode, allowing you to predict cell types using an existing CellTypist model.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
99
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
100 Input
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
101 ^^^^^
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
102
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
103 - **Input format**: Choose the format for the input files, either AnnData or Matrix market format (10x).
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
104
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
105 - If AnnData is selected, provide the input data (AnnData file).
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
106 - If Matrix market is selected, provide the input matrix (mtx file), gene file, and cell file.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
107
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
108 - **Input data**: The input data for prediction.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
109
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
110 - **Gene file**: The file containing one gene per line corresponding to the genes in the input data (required for .mtx data).
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
111
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
112 - **Cell file**: The file containing one cell per line corresponding to the cells in the input data (required for .mtx data).
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
113
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
114 - **Model file**: The existing CellTypist model file in .pkl format.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
115
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
116 - **Raw counts layer**: The name of the layer that stores the raw counts. Uses the default matrix if not provided.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
117
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
118 - **Gene symbols field**: The field in AnnData where the gene symbols are stored, if not in index.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
119
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
120 - **Normalize**: If raw counts are provided in the AnnData object, they need to be normalized.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
121
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
122 - **Transpose input**: If the provided matrix is in the gene-by-cell format, transpose the input to cell-by-gene format.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
123
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
124 - **Mode**: Mode for the prediction (e.g., best match, majority vote).
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
125
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
126 - **Probability threshold**: Probability threshold for assigning a cell type in a multiclass problem. Ignored if Mode set to Best match.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
127
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
128 - **Majority voting**: Refine the predicted labels by running the majority voting classifier after over-clustering.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
129
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
130 - **Over-clustering**: If majority voting is set to True, specify the type of over-clustering that is to be performed. This can be specified in the AnnData or an input file specifying the over-clustering per cell. If not provided, the default heuristic over-clustering based on input data will be used.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
131
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
132 Output
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
133 ^^^^^^
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
134
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
135 - **Output predictions**: The predicted cell types for the input data.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
136
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
137 Citation
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
138 ^^^^^^^^
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
139
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
140 - CellTypist: a tool for automatic cell type annotation using single-cell RNA sequencing data doi/10.1126/science.abl5197
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
141
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
142 History
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
143 ^^^^^^^
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
144
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
145 Version 1.6.3+galaxy0: Initial wrapper, Pablo Moreno. CLI written by Alex Proutski.
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
146 ]]>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
147 </help>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
148 <citations>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
149 <citation type="bibtex">@article{dominguez_conde2022,
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
150 title={Cross-tissue immune cell analysis reveals tissue-specific features in humans},
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
151 author={Domínguez Conde, C and Xu, C and Jarvis, LB and Rainbow, DB and Wells, SB and Gomes, T and Howlett, SK and Suchanek, O and Polanski, K and King, HW and Mamanova, L and Huang, N and Szabo, PA and Richardson, L and Bolt, L and Fasouli, ES and Mahbubani, KT and Prete, M and Tuck, L and Richoz, N and Tuong, ZK and Campos, L and Mousa, HS and Needham, EJ and Pritchard, S and Li, T and Elmentaite, R and Park, J and Rahmani, E and Chen, D and Menon, DK and Bayraktar, OA and James, LK and Meyer, KB and Yosef, N and Clatworthy, MR and Sims, PA and Farber, DL and Saeb-Parsy, K and Jones, JL and Teichmann, SA},
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
152 journal={Science},
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
153 volume={376},
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
154 number={6594},
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
155 pages={eabl5197},
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
156 year={2022},
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
157 publisher={American Association for the Advancement of Science},
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
158 pmid={35549406},
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
159 pmcid={PMC7612735}
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
160 }</citation>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
161 </citations>
a7d6985ba791 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 53651c0be9daeebb0921f3b5e542323304dfdc98-dirty
ebi-gxa
parents:
diff changeset
162 </tool>