# HG changeset patch
# User ebi-gxa
# Date 1646378901 0
# Node ID 970696a7ae0b1b6e2e550da536f495a89d810b7c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 355bb52d2e9d170b1db237e649657cc14e0a047a"
diff -r 000000000000 -r 970696a7ae0b get_test_data.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/get_test_data.sh Fri Mar 04 07:28:21 2022 +0000
@@ -0,0 +1,51 @@
+#!/usr/bin/env bash
+
+BASENAME_FILE='E-MTAB-6077-3k_features_90_cells'
+
+MTX_LINK='https://drive.google.com/uc?export=download&id=1-1ejn7scP80xsbrG0FtWzsozjg0hhc23'
+RDS_LINK='https://drive.google.com/uc?export=download&id=1KW_GX6xznSUpWRWUykpNaSbAhyClf7_n'
+NORM_LINK='https://drive.google.com/uc?export=download&id=1mvo3ENkBvEAOyWG6ejApzQTPDLX5yBKU'
+FVG_LINK='https://drive.google.com/uc?export=download&id=13Fhruuj-vEEo1WM138ahtAYqfHc7LsaZ'
+SCALED_LINK='https://drive.google.com/uc?export=download&id=18TK8us235LWNajarWDBAtASUXMYAxvw0'
+PCA_LINK='https://drive.google.com/uc?export=download&id=1gf3BTB4dygDsom1TzjsBfgZnZepcoG5c'
+NEIGHBOURS_LINK='https://drive.google.com/uc?export=download&id=1N2lHoKRBZ7pmAYGfghLWB9KUrLA5WoNX'
+CLUSTERS_LINK='https://drive.google.com/uc?export=download&id=1HWxZWHbNUNo4z__9PhhL_CJOLzec_ETa'
+TSNE_LINK='https://drive.google.com/uc?export=download&id=1qsvMr_GkCSp1dyTJt1BZ6cElJwFFX2zO'
+MARKERS_LINK='https://drive.google.com/uc?export=download&id=18OmWNc7mF-4pzH6DQkPp1eKunN4BfvxD'
+
+LOOM_LINK='https://drive.google.com/uc?export=download&id=1qNk5cg8hJG3Nv1ljTKmUEnxTOf11EEZX'
+H5AD_LINK='https://drive.google.com/uc?export=download&id=1YpE0H_t_dkh17P-WBhPijKvRiGP0BlBz'
+SCE_LINK='https://drive.google.com/uc?export=download&id=1UKdyf3M01uAt7oBg93JfmRvNVB_jlUKe'
+
+function get_data {
+ local link=$1
+ local fname=$2
+
+ if [ ! -f $fname ]; then
+ echo "$fname not available locally, downloading.."
+ wget -O $fname --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 3 $link
+ fi
+}
+
+# get matrix data
+pushd test-data
+get_data $MTX_LINK mtx.zip
+unzip mtx.zip
+rm -f mtx.zip
+
+get_data $RDS_LINK $BASENAME_FILE".rds"
+get_data $NORM_LINK $BASENAME_FILE"-normalised.rds"
+get_data $FVG_LINK $BASENAME_FILE"-fvg.rds"
+get_data $SCALED_LINK $BASENAME_FILE"-scaled.rds"
+get_data $PCA_LINK $BASENAME_FILE"-pca.rds"
+get_data $NEIGHBOURS_LINK $BASENAME_FILE"-neighbours.rds"
+get_data $CLUSTERS_LINK $BASENAME_FILE"-clusters.rds"
+get_data $TSNE_LINK $BASENAME_FILE"-tsne.rds"
+get_data $MARKERS_LINK $BASENAME_FILE"-markers.csv.zip"
+
+unzip $BASENAME_FILE"-markers.csv.zip"
+rm -f $BASENAME_FILE"-markers.csv.zip"
+
+get_data $LOOM_LINK $BASENAME_FILE"_loom.h5"
+get_data $SCE_LINK $BASENAME_FILE"_sce.rds"
+get_data $H5AD_LINK $BASENAME_FILE".h5ad"
diff -r 000000000000 -r 970696a7ae0b seurat_convert.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/seurat_convert.xml Fri Mar 04 07:28:21 2022 +0000
@@ -0,0 +1,114 @@
+
+ translates different single cell formats
+
+ seurat_macros.xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 970696a7ae0b seurat_macros.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/seurat_macros.xml Fri Mar 04 07:28:21 2022 +0000
@@ -0,0 +1,133 @@
+
+
+ 0.3.0
+ 3.2.3
+
+
+ seurat-scripts
+
+
+
+ /dev/null | grep -v -i "WARNING: ")
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #if $input.format == "anndata"
+ --input-object-file '$input.anndata_file' --input-format anndata
+ #else if $input.format == "loom"
+ --input-object-file '$input.loom_file' --input-format loom
+ #else if $input.format == "rds_seurat"
+ --input-object-file '$input.rds_seurat_file' --input-format seurat
+ #else if $input.format == "rds_sce"
+ --input-object-file '$input.rds_sce_file' --input-format singlecellexperiment
+ #end if
+
+
+
+
+
+
+
+
+
+
+
+
+ format == 'loom'
+
+
+ format == 'rds_seurat'
+
+
+ format == 'rds_sce'
+
+
+
+
+ #if $format == "anndata"
+ --output-object-file '$anndata_file' --output-format anndata
+ #else if $format == "loom"
+ --output-object-file seurat_obj.loom --output-format loom
+ #else if $format == "rds_seurat"
+ --output-object-file '$rds_seurat_file' --output-format seurat
+ #else if $format == "rds_sce"
+ --output-object-file '$rds_sce_file' --output-format singlecellexperiment
+ #end if
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 10.1038/nbt.4096
+
+ @misc{r-seurat-scripts.git,
+ author = {Jonathan Manning, Pablo Moreno, EBI Gene Expression Team},
+ year = {2018},
+ title = {Seurat-scripts: command line interface for Seurat},
+ publisher = {GitHub},
+ journal = {GitHub repository},
+ url = {https://github.com/ebi-gene-expression-group/r-seurat-scripts.git},
+ }
+
+ 10.1038/s41592-021-01102-w
+
+
+