Mercurial > repos > ebi-gxa > decoupler_pathway_inference
view get_test_data.sh @ 9:81ccee273bc6 draft default tip
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 05690508f6fc11cfc14213efedfd2bca5bb6040e
author | ebi-gxa |
---|---|
date | Wed, 30 Oct 2024 14:26:33 +0000 |
parents | 77d680b36e23 |
children |
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 # Download input anndata for decoupler-pathway_inference BASENAME_FILE='pbmc3k_processed.h5ad' MTX_LINK='https://zenodo.org/records/3752813/files/pbmc3k_processed.h5ad' get_data $MTX_LINK $BASENAME_FILE # Download output anndata for decoupler-pathway_inference BASENAME_FILE='test.h5ad' MTX_LINK='https://zenodo.org/records/10401958/files/test.h5ad' get_data $MTX_LINK $BASENAME_FILE