I experienced an issue with running the nextNEOpi with a custom list of HLA alleles. The 'use_custom_hlas' parameter is required here (nextNEOpi.nf) however it's not defined anywhere:
if (! have_HLAHD && run_OptiType) {
log.warn "WARNING: HLAHD not available - can not predict Class II neoepitopes"
} else if (! have_HLAHD && ! run_OptiType && use_custom_hlas) {
log.warn "WARNING: HLAHD not available and OptiType disabled - using only user supplied HLA types"
} else if (! have_HLAHD && ! run_OptiType && ! use_custom_hlas) {
exit 1, "ERROR: HLAHD not available and OptiType disabled - can not predict HLA types"
}
I made a few corrections and it seemed to solve the issue. I can create a pull request if it's correct and would be helpful.
nextNEOpi.nf:
Hi,
I experienced an issue with running the nextNEOpi with a custom list of HLA alleles. The 'use_custom_hlas' parameter is required here (nextNEOpi.nf) however it's not defined anywhere:
I made a few corrections and it seemed to solve the issue. I can create a pull request if it's correct and would be helpful. nextNEOpi.nf:
params.config:
I understand it would be
use_custom_hlas = false
by default.Thanks,
Magda