Mercurial > repos > ebi-gxa > score_genes_aucell
view get_test_data.sh @ 1:e024d8280886 draft
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 56273bcfbc0de8f6ab093f1131a7d22c05a70f25
author | ebi-gxa |
---|---|
date | Thu, 16 Nov 2023 20:05:21 +0000 |
parents | 1e8697931d73 |
children | c700f0381e84 |
line wrap: on
line source
#!/usr/bin/env bash BASENAME_FILE='mito_counted_anndata.h5ad' MTX_LINK='https://zenodo.org/record/7053673/files/Mito-counted_AnnData' # convenience for getting data 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 mkdir -p test-data pushd test-data get_data $MTX_LINK $BASENAME_FILE