-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
#!/bin/bash | ||
mamba env update -f environment-setup.yml | ||
conda activate acanthophis-tests | ||
set -xeuo pipefail | ||
rm -rf output/ tmp/ | ||
mkdir -p output/ tmp/ rawdata/ | ||
touch output/nobackup tmp/nobackup rawdata/nobackup | ||
python3 -m pip install -e ../ | ||
set -xeuo pipefail | ||
snakemake --version | ||
snakemake --snakefile Snakefile.generate-rawdata -j 4 --software-deployment-method conda | ||
snakemake --snakefile Snakefile.generate-rawdata -j $(nproc 2>/dev/null || echo 2) --software-deployment-method conda | ||
tree rawdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,28 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
|
||
# Reinstall acanthophis from git | ||
conda activate acanthophis-tests | ||
python3 -m pip uninstall --yes acanthophis | ||
python3 -m pip install -e .. | ||
|
||
# re-init after reinstall | ||
acanthophis-init --yes | ||
|
||
# recreate the conda env | ||
mamba env update -f environment.yml | ||
conda activate acanthophis | ||
|
||
# Clear outputs | ||
rm -fr output tmp | ||
set -x | ||
touch output/nobackup tmp/nobackup | ||
|
||
# If quick, overwrite config with cut-back version | ||
if [[ "$1" == "--quick" ]] | ||
then | ||
cp .config_quick.yml config.yml | ||
shift | ||
fi | ||
|
||
# Run pipeline | ||
snakemake -j $(nproc 2>/dev/null || echo 2) --software-deployment-method conda --ri "${@}" |