Skip to content

Commit

Permalink
Use main.py in Singularity
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Oct 18, 2024
1 parent f68c862 commit 6261b88
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Singularity
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ From: python:3.8
micall/monitor /opt/micall/micall/monitor
micall/utils /opt/micall/micall/utils

micall/main.py /opt/micall/micall/
README.md /opt/micall/
LICENSE.txt /opt/micall/
pyproject.toml /opt/micall/
Expand Down Expand Up @@ -123,14 +124,14 @@ From: python:3.8
pip install --upgrade pip
pip install /opt/micall
python -c 'import matplotlib; matplotlib.use("Agg"); import matplotlib.pyplot'
python /opt/micall/micall/blast_db/make_blast_db.py
micall make_blast_db

%environment
export PATH=/opt/bowtie2:/bin:/usr/local/bin
export LANG=en_US.UTF-8

%runscript
python /opt/micall/micall/utils/micall_kive.py "$@"
micall micall_kive "$@"

%apphelp filter_quality
Post-processing of short-read alignments.
Expand All @@ -142,7 +143,7 @@ From: python:3.8
KIVE_MEMORY 200

%apprun filter_quality
PYTHONPATH=/opt/micall python -m micall.core.filter_quality "$@"
micall filter_quality "$@"

%apphelp resistance
Combine HCV results with HCV-Midi results, and generate resistance
Expand All @@ -156,7 +157,7 @@ From: python:3.8
KIVE_MEMORY 200

%apprun resistance
python /opt/micall/micall/utils/micall_kive_resistance.py "$@"
micall micall_kive_resistance "$@"

%apprun denovo
python /opt/micall/micall_kive.py --denovo "$@"
Expand Down

0 comments on commit 6261b88

Please sign in to comment.