comparison seurat_map_query.xml @ 0:9a68428ae952 draft default tip

planemo upload commit 34c30124158749b9eef51d5f323b608a503e7940
author ebi-gxa
date Sun, 01 Oct 2023 09:06:00 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:9a68428ae952
1 <tool id="seurat_map_query" name="Seurat map query" profile="18.01" version="@SEURAT_VERSION@+galaxy0">
2 <description>maps against a UMAP layout</description>
3 <macros>
4 <import>seurat_macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <expand macro="version" />
8 <command detect_errors="exit_code"><![CDATA[
9 @REFERENCE_OBJ_PREAMBLE@
10 @ANCHORS_OBJ_PREAMBLE@
11 @QUERY_OBJ_PREAMBLE@
12 seurat-map-query.R
13 @OUTPUT_OBJECT@
14 @REFERENCE_OBJECT@
15 @ANCHORS_OBJECT@
16 @QUERY_OBJECT@
17
18 #if $refdata_field_or_assay
19 --refdata-field-or-assay '$refdata_field_or_assay'
20 #end if
21
22
23 #if $new_reduction_name
24 --new-reduction-name '$new_reduction_name'
25 #end if
26
27
28 #if $reference_reduction
29 --reference-reduction '$reference_reduction'
30 #end if
31
32
33 #if $reduction_model
34 --reduction-model '$reduction_model'
35 #end if
36
37
38 ## #if $transferdata_args
39 ## --transferdata-args '$transferdata_args'
40 ## #end if
41
42
43 ## #if $integrated_embedding_args
44 ## --integrated-embedding-args '$integrated_embedding_args'
45 ## #end if
46
47
48 ## #if $project_umap_args
49 ## --project-umap-args '$project_umap_args'
50 ## #end if
51
52
53 ]]></command>
54 <inputs>
55 <expand macro="output_object_params" />
56 <expand macro="input_object_params" varname="reference" />
57 <expand macro="input_object_params" varname="anchors" />
58 <expand macro="input_object_params" varname="query" />
59 <param label="Refdata-field-or-assay" optional='true' name="refdata_field_or_assay" argument="--refdata-field-or-assay" type="text" help="The name of the metadata field or assay from the reference object provided. This requires the reference parameter to be specified.">
60 <validator type="regex" message="Value may only include R variable allowed characters: alphanumeric, underscores and period.">^[A-Za-z0-9_\.]+$</validator>
61 </param>
62 <param label="New-reduction-name" optional='true' name="new_reduction_name" argument="--new-reduction-name" type="text" help="Name for new integrated dimensional reduction."/>
63 <param label="Reference-reduction" optional='true' name="reference_reduction" argument="--reference-reduction" type="text" help="Name of reduction to use from the reference for neighbor finding"/>
64 <param label="Reduction-model" optional='true' name="reduction_model" argument="--reduction-model" type="text" help="DimReduc object name that contains the umap model"/>
65 <!-- these params could pose an injection danger and their handling should be improved before being enabled
66 <param label="Transferdata-args" optional='true' name="transferdata_args" argument="transferdata-args" type="text" help="A named list of additional arguments to TransferData, written in R syntax .ie list( argument = 'value' )"/>
67 <param label="Integrated-embedding-args" optional='true' name="integrated_embedding_args" argument="integrated-embedding-args" type="text" help="A named list of additional arguments to IntegrateEmbeddings, written in R syntax .ie list( argument = 'value' )"/>
68 <param label="Project-umap-args" optional='true' name="project_umap_args" argument="project-umap-args" type="text" help="A named list of additional arguments to ProjectUMAP, written in R syntax .ie list( argument = 'value' )"/>
69 -->
70 </inputs>
71 <outputs>
72 <expand macro="output_files"/>
73 </outputs>
74 <tests>
75 <!-- MANUAL TESTS -->
76 <test>
77 <conditional name="query">
78 <param name="rds_seurat_file" ftype="rdata" value="Classify_query.rds"/>
79 </conditional>
80 <conditional name="anchors">
81 <param name="rds_seurat_file" ftype="rdata" value="Classify_anchors.rds"/>
82 </conditional>
83 <conditional name="reference">
84 <param name="rds_seurat_file" ftype="rdata" value="Classify_reference.rds"/>
85 </conditional>
86
87 <output name="rds_seurat_file" ftype="rdata" >
88 <assert_contents>
89 <has_size value="103786543" delta="10000000"/>
90 </assert_contents>
91 </output>
92 </test>
93 <!-- END MANUAL TESTS -->
94 </tests>
95 <help>
96 <!-- MANUAL HELP -->
97 <![CDATA[
98 .. class:: infomark
99
100 **What it does**
101
102 This tool aims to facilitate the mapping steps to UMAP of the Seurat 4.0.4 https://satijalab.org/seurat/articles/integration_mapping.html#unimodal-umap-projection
103 tutorial.
104
105 It will run the MapQuery method using the query,
106 anchors object and reference used to calculate the anchors. All
107 options are documented in-line.
108
109 -----
110
111 **Inputs**
112
113 * Query object (can be specified in different formats)
114 * Anchors object (can be specified in different formats)
115 * Reference object (can be specified in different formats)
116
117 All the rest of the parameters are optional.
118
119 -----
120
121 **Outputs**
122
123 * A Seurat (or other format depending on selection) with the mapped object.
124
125 ]]>
126 <!-- END MANUAL HELP -->
127 </help>
128 <expand macro="citations" />
129 </tool>