From d0461dbe98b89d871bfb332aa3f592118372ba2e Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Fri, 26 Jan 2024 14:07:47 +0100 Subject: [PATCH] add arriba test data script --- src/arriba/test_data/README.md | 13 ------------- src/arriba/test_data/script.sh | 10 ++++++++++ 2 files changed, 10 insertions(+), 13 deletions(-) delete mode 100644 src/arriba/test_data/README.md create mode 100755 src/arriba/test_data/script.sh diff --git a/src/arriba/test_data/README.md b/src/arriba/test_data/README.md deleted file mode 100644 index 8cfb28f6..00000000 --- a/src/arriba/test_data/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# arriba test data - -Test data was obtained from https://github.com/snakemake/snakemake-wrappers/tree/master/bio/arriba/test. - -__author__ = "Jan Forster" -__copyright__ = "Copyright 2019, Jan Forster" -__email__ = "j.forster@dkfz.de" -__license__ = "MIT" - -```bash -git clone --depth 1 --single-branch --branch master https://github.com/snakemake/snakemake-wrappers /tmp/snakemake-wrappers -cp -r /tmp/snakemake-wrappers/bio/arriba/test/* src/arriba/test_data -``` \ No newline at end of file diff --git a/src/arriba/test_data/script.sh b/src/arriba/test_data/script.sh new file mode 100755 index 00000000..e5bbcf2c --- /dev/null +++ b/src/arriba/test_data/script.sh @@ -0,0 +1,10 @@ +# arriba test data + +# Test data was obtained from https://github.com/snakemake/snakemake-wrappers/tree/master/bio/arriba/test + +if [ ! -d /tmp/snakemake-wrappers ]; then + git clone --depth 1 --single-branch --branch master https://github.com/snakemake/snakemake-wrappers /tmp/snakemake-wrappers +fi + +cp -r /tmp/snakemake-wrappers/bio/arriba/test/* src/arriba/test_data +