Mercurial > repos > ebi-gxa > scmap_index_cell
view scmap_index_cell.xml @ 12:d9f79a39b39d draft
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
author | ebi-gxa |
---|---|
date | Tue, 23 Apr 2024 07:49:19 +0000 |
parents | dd0b44bd359a |
children |
line wrap: on
line source
<tool id="scmap_index_cell" name="Scmap index cells" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@"> <description>creates a cell index for a dataset to enable fast approximate nearest neighbour search</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-cell.R --input-object-file sce_object_preprocessed.rds --output-object-file '$output_single_cell_experiment' --random-seed '$random_seed' --remove-mat '${remove_mat}' #if $train_id --train-id '${train_id}' #end if #if $n_chunks --number-chunks '$n_chunks' #end if #if $n_clusters --number-clusters '$n_clusters' #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 name="n_chunks" type="integer" label="Number of chunks" optional="true" value="0" help="Number of chunks into which the expr matrix is split" /> <param name="n_clusters" type="integer" label="Number of clusters" optional="true" value="0" help="Number of clusters per group for k-means clustering" /> <param type="text" name="train_id" label="Dataset ID" help="ID of the training dataset" /> <param type="boolean" name="remove_mat" checked="false" label="Remove Matrix" help="Should the expression data be removed after classifier is trained?" /> <param name="random_seed" type="integer" label="Random seed" value='1' help="scmap-cell contains k-means step which makes it stochastic, i.e. running it multiple times will provide slightly different results. A fixed random seed ensures reproducibility." /> </inputs> <outputs> <data name="output_single_cell_experiment" format="rdata" /> </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_cell.rds" compare="sim_size" delta="10000000"/> </test> </tests> <help><![CDATA[ @HELP@ @VERSION_HISTORY@ ]]></help> <expand macro="citations" /> </tool>