Mercurial > repos > ebi-gxa > seurat_convert
view seurat_convert.xml @ 1:834f7d8e5b4c draft default tip
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
author | ebi-gxa |
---|---|
date | Sat, 02 Mar 2024 10:42:13 +0000 |
parents | 970696a7ae0b |
children |
line wrap: on
line source
<tool id="seurat_convert" name="Seurat 4 converter" profile="18.01" version="@SEURAT_VERSION@+galaxy0"> <description>translates different single cell formats</description> <macros> <import>seurat_macros.xml</import> </macros> <expand macro="requirements" /> <expand macro="version" /> <command detect_errors="exit_code"><![CDATA[ @INPUT_OBJ_PREAMBLE@ seurat-convert.R @INPUT_OBJECT@ @OUTPUT_OBJECT@ ]]></command> <inputs> <expand macro="input_object_params"/> <expand macro="output_object_params"/> </inputs> <outputs> <expand macro="output_files"/> </outputs> <tests> <test> <conditional name="input"> <param name="format" value="rds_seurat"/> <param name="rds_seurat_file" value="E-MTAB-6077-3k_features_90_cells.rds"/> </conditional> <param name="format" value="loom"/> <output name="loom_file"> <assert_contents> <has_h5_keys keys="layers,matrix,row_attrs"/> </assert_contents> </output> </test> <test> <conditional name="input"> <param name="format" value="rds_seurat"/> <param name="rds_seurat_file" value="E-MTAB-6077-3k_features_90_cells.rds"/> </conditional> <param name="format" value="rds_sce"/> <output name="rds_sce_file"> <assert_contents> <has_size value="2368166" delta="200000"/> </assert_contents> </output> </test> <test> <conditional name="input"> <param name="format" value="loom"/> <param name="loom_file" value="E-MTAB-6077-3k_features_90_cells_loom.h5" ftype="h5"/> </conditional> <param name="format" value="rds_sce"/> <output name="rds_sce_file"> <assert_contents> <has_size value="2432700" delta="200000"/> </assert_contents> </output> </test> <test> <conditional name="input"> <param name="format" value="rds_sce"/> <param name="rds_sce_file" value="E-MTAB-6077-3k_features_90_cells_sce.rds" ftype="rdata.sce"/> </conditional> <param name="format" value="rds_seurat"/> <output name="rds_seurat_file"> <assert_contents> <has_size value="2366603" delta="200000"/> </assert_contents> </output> </test> <test> <conditional name="input"> <param name="format" value="anndata"/> <param name="anndata_file" value="E-MTAB-6077-3k_features_90_cells.h5ad" ftype="h5ad"/> </conditional> <param name="format" value="rds_seurat"/> <output name="rds_seurat_file"> <assert_contents> <has_size value="3761959" delta="200000"/> </assert_contents> </output> </test> <!-- <test> <conditional name="input"> <param name="format" value="anndata"/> <param name="anndata_file" value="E-MTAB-6077-3k_features_90_cells_sc182.h5ad" ftype="h5ad"/> </conditional> <param name="format" value="rds_seurat"/> <output name="rds_seurat_file"> <assert_contents> <has_size value="3761959" delta="200000"/> </assert_contents> </output> </test> --> </tests> <help><![CDATA[ .. class:: infomark **What it does** @SEURAT_INTRO@ This tool uses Seurat 4 to convert formats. Possible inputs are: * Seurat 3/4 * Loom (versions contemporary to Seurat 4) * AnnData (contemporary versions to Seurat 4) * Single Cell Experiment Possible outputs are: * Seurat 4 * Loom * Single Cell Experiment For newer versions of AnnData and Loom, please try the Seurat 4 version of this tool. .. _Seurat: https://www.nature.com/articles/nbt.4096 .. _Satija Lab: https://satijalab.org/seurat/ @VERSION_HISTORY@ ]]></help> <expand macro="citations" /> </tool>