Mercurial > repos > ebi-gxa > scmap_index_cluster
view scmap_index_cluster.xml @ 11:9cc085052dc2 draft default tip
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9dbf2be568a0cea589fee8a42f070718d7966780-dirty
author | ebi-gxa |
---|---|
date | Mon, 08 Jul 2024 08:53:32 +0000 |
parents | 4ff68faee6e1 |
children |
line wrap: on
line source
<tool id="scmap_index_cluster" name="Scmap index clusters" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@"> <description>calculates centroids of each cell type and merges them into a single table</description> <macros> <import>scmap_macros.xml</import> </macros> <expand macro="requirements" /> <command detect_errors="exit_code"><![CDATA[ scmap-preprocess-sce.R --input-object "${input_single_cell_experiment}" --output-sce-object sce_object_preprocessed.rds && scmap-index-cluster.R --input-object-file sce_object_preprocessed.rds --cluster-col '$cluster_col' --output-object-file '$output_single_cell_experiment' --output-plot-file '$plot' --remove-mat '${remove_mat}' #if $train_id --train-id '${train_id}' #end if ]]></command> <inputs> <param type="data" name="input_single_cell_experiment" label="SingleCellExperiment object" format="rdata" help="File with serialized SingleCellExperiment object as produced by 'scmap select features'" /> <param type="boolean" name="remove_mat" checked="false" label="Remove Matrix" help="Should the expression data be removed after classifier is trained?" /> <param type="text" name="train_id" label="Dataset ID" help="ID of the training dataset" /> <param name="cluster_col" type="text" label="Cluster column" value="cell_type1" help="Column name in the 'colData' slot of the SingleCellExperiment object containing the cell classification information." /> </inputs> <outputs> <data name="output_single_cell_experiment" format="rdata" /> <data name="plot" format="png" /> </outputs> <tests> <test> <param name="input_single_cell_experiment" value="select_features.rds" ftype="rdata"/> <param name="remove_mat" value="true" /> <output name="output_single_cell_experiment" file="index_cluster.rds" compare="sim_size" delta="1000000000"/> <output name="plot" file="index_cluster.png" compare="sim_size" delta="1000000000"/> </test> </tests> <help><![CDATA[ @HELP@ @VERSION_HISTORY@ ]]></help> <expand macro="citations" /> </tool>