Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mhcflurry docker permission problem #52

Merged
merged 3 commits into from
Sep 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### `Fixed`

- [#79](https://github.com/nf-core/epitopeprediction/pull/39) - Fix display of prediction tool version [#36](https://github.com/nf-core/epitopeprediction/issues/36)
- [#55](https://github.com/nf-core/epitopeprediction/pull/52) - Fix MHCflurry permission problem when run with docker profile [#51](https://github.com/nf-core/epitopeprediction/issues/51)
- [#39](https://github.com/nf-core/epitopeprediction/pull/39) - Fix display of prediction tool version [#36](https://github.com/nf-core/epitopeprediction/issues/36)

## v1.0.0 - purple-nickel-shrimp - 2019-12-05

Expand Down
6 changes: 6 additions & 0 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,12 @@ process peptidePrediction {
def ref_prot = params.proteome ? "--proteome ${params.proteome}" : ""
def wt = params.wild_type ? "--wild_type" : ""
"""
# create folder for MHCflurry downloads to avoid permission problems when running pipeline with docker profile and mhcflurry selected
mkdir -p mhcflurry-data
export MHCFLURRY_DATA_DIR=./mhcflurry-data
# specify MHCflurry release for which to download models, need to be updated here as well when MHCflurry will be updated
export MHCFLURRY_DOWNLOADS_CURRENT_RELEASE=1.4.0

epaa.py ${input_type} --identifier ${inputs.baseName} \
--alleles $alleles \
--mhcclass ${params.mhc_class} \
Expand Down