From ce43346b0366c1ac880e4117f51b739152738747 Mon Sep 17 00:00:00 2001 From: Leon Rauschning <99650940+lrauschning@users.noreply.github.com> Date: Thu, 12 Dec 2024 16:23:39 +0800 Subject: [PATCH] install minimap2 binary directly --- .github/workflows/test_example.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_example.yml b/.github/workflows/test_example.yml index 18516d9..4cc9f36 100644 --- a/.github/workflows/test_example.yml +++ b/.github/workflows/test_example.yml @@ -21,11 +21,12 @@ jobs: uses: schneebergerlab/msyd@main with: python-version: "3.12" - - name: Install other tools using conda + - name: Install minimap2 manually # conda doesn't seem to work run: | - $CONDA/bin/conda install -c conda-forge -c bioconda "bioconda::minimap2" + curl -L https://github.com/lh3/minimap2/releases/download/v2.28/minimap2-2.28_x64-linux.tar.bz2 | tar -jxvf - + mv minimap2-2.28_x64-linux\/minimap2 ./ + ./minimap2 -h # test it worked & is callable - name: Test example_run.sh run: | - minimap2 -h - $(tail -n +2 ./example/example_workflow.sh | sed -e 's/^syri/python <(echo "import syri.scripts.syri;syri.scripts.syri.main()")/' ) + $(tail -n +2 ./example/example_workflow.sh | sed -e 's/^syri/python <(echo "import syri.scripts.syri;syri.scripts.syri.main()")/' -e 's/^minimap2/.\/minimap2/' ) shell: bash