# HG changeset patch # User iuc # Date 1726343904 0 # Node ID d330b3082107b5842b80b8d65ebb455b6b62749a # Parent 93dd15e13e6a6bf67e9d904c9e5fe9f079c315af planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa diff -r 93dd15e13e6a -r d330b3082107 import.xml --- a/import.xml Sun Nov 12 16:42:57 2023 +0000 +++ b/import.xml Sat Sep 14 19:58:24 2024 +0000 @@ -1,9 +1,9 @@ - - from different format + + from different formats macros.xml - + @@ -13,164 +13,132 @@ - scanpy + scanpy umi_tools_input.gz - && +#if $in.adata_format == 'mtx' + mkdir mtx + #if $in.tenx.use == 'legacy_10x' + && cp '$in.matrix' 'mtx/matrix.mtx' + && cp '$in.tenx.genes' 'mtx/genes.tsv' + && cp '$in.tenx.barcodes' 'mtx/barcodes.tsv' + #else if $in.tenx.use == 'v3_10x' + && cp '$in.matrix' 'mtx/matrix.mtx' + && gzip 'mtx/matrix.mtx' + && cp '$in.tenx.features' 'mtx/features.tsv' + && gzip 'mtx/features.tsv' + && cp '$in.tenx.barcodes' 'mtx/barcodes.tsv' + && gzip 'mtx/barcodes.tsv' #end if - - @CMD@ - - #if $hd5_format.in.adata_format == 'mtx' - && rm -rf mtx - #end if + && +#else if $in.adata_format == 'umi_tools' + ## avoid gzipping in the inputdir + gzip -c '$in.input' > umi_tools_input.gz + && +#end if -#else: - python '$__tool_directory__/tsv_to_loompy.py' - -c '${hd5_format.coldata}' - -r '${hd5_format.rowdata}' - -f '${hd5_format.mainmatrix}' - #if $hd5_format.other_files: - '${hd5_format.other_files}' - #end if -#end if +@CMD@ ]]> - - - - + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - + + - - hd5_format['filetype'] == 'anndata' - - - hd5_format['filetype'] == 'loom' - + @@ -191,7 +159,13 @@ - + + + + + + + @@ -203,8 +177,8 @@ + - @@ -216,8 +190,8 @@ + - @@ -226,8 +200,10 @@ - - + + + + @@ -242,7 +218,14 @@ - + + + + + + + + @@ -257,31 +240,29 @@ - + + + + + + + + + - - - - - - - - - - + + + - - - - - - + + + @@ -296,7 +277,7 @@ **What it does** -This tool creates an AnnData or loom dataset from several input types: +This tool creates an AnnData from several input types: - Loom (`read_loom method `__) - Tabular (`read_csv method `__) diff -r 93dd15e13e6a -r d330b3082107 macros.xml --- a/macros.xml Sun Nov 12 16:42:57 2023 +0000 +++ b/macros.xml Sat Sep 14 19:58:24 2024 +0000 @@ -1,6 +1,7 @@ - 0.10.3 + 0.10.9 0 + 21.09 anndata @@ -21,12 +22,6 @@ python '$script_file' ]]> - - @@ -76,4 +71,11 @@ + + + + + + + diff -r 93dd15e13e6a -r d330b3082107 test-data/addloomout1.loom Binary file test-data/addloomout1.loom has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/addloomout3.loom Binary file test-data/addloomout3.loom has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/converted.loom.test Binary file test-data/converted.loom.test has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/export.krumsiek11.loom Binary file test-data/export.krumsiek11.loom has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/import.csv.h5ad Binary file test-data/import.csv.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/import.loom.krumsiek11.h5ad Binary file test-data/import.loom.krumsiek11.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/import.mtx.legacy_10x.h5ad Binary file test-data/import.mtx.legacy_10x.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/import.mtx.no_10x.h5ad Binary file test-data/import.mtx.no_10x.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/import.mtx.v3_10x.h5ad Binary file test-data/import.mtx.v3_10x.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/import.tsv.h5ad Binary file test-data/import.tsv.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/import.umi_tools.h5ad Binary file test-data/import.umi_tools.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/krumsiek11.h5ad Binary file test-data/krumsiek11.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/manipulate.add_annotation_obs.h5ad Binary file test-data/manipulate.add_annotation_obs.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/manipulate.add_annotation_var.h5ad Binary file test-data/manipulate.add_annotation_var.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/manipulate.concatenate.h5ad Binary file test-data/manipulate.concatenate.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/manipulate.filter_obs_key.h5ad Binary file test-data/manipulate.filter_obs_key.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/manipulate.filter_var_index.h5ad Binary file test-data/manipulate.filter_var_index.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/manipulate.obs_names_make_unique.h5ad Binary file test-data/manipulate.obs_names_make_unique.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/manipulate.rename_categories.h5ad Binary file test-data/manipulate.rename_categories.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/manipulate.save_raw.h5ad Binary file test-data/manipulate.save_raw.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/manipulate.strings_to_categoricals.h5ad Binary file test-data/manipulate.strings_to_categoricals.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/manipulate.transpose.h5ad Binary file test-data/manipulate.transpose.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/manipulate.var_names_make_unique.h5ad Binary file test-data/manipulate.var_names_make_unique.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/pp.neighbors_umap_euclidean.recipe_weinreb17.paul15_subsample.h5ad Binary file test-data/pp.neighbors_umap_euclidean.recipe_weinreb17.paul15_subsample.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/pp.pca.krumsiek11.h5ad Binary file test-data/pp.pca.krumsiek11.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/tl.diffmap.h5ad Binary file test-data/tl.diffmap.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/tl.draw_graph.h5ad Binary file test-data/tl.draw_graph.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/tl.paga.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad Binary file test-data/tl.paga.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/tl.rank_genes_groups.krumsiek11.h5ad Binary file test-data/tl.rank_genes_groups.krumsiek11.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/tl.tsne.h5ad Binary file test-data/tl.tsne.h5ad has changed diff -r 93dd15e13e6a -r d330b3082107 test-data/tl.umap.h5ad Binary file test-data/tl.umap.h5ad has changed