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

Pipeline fails when using a relative path for base_index_path #110

Closed
szymonwieloch opened this issue Mar 1, 2021 · 1 comment
Closed
Labels
bug Something isn't working
Milestone

Comments

@szymonwieloch
Copy link

Normally when you use the --base_index_path parameter, you want to use a relative path, something like:

nextflow nf-core/hlatyping --base_index_path hla_ref_dir

Unfortunately this does not work. The error message in the log is strange and says something about a XML validation. Anyway, the same absolute path works fine. I believe that this line is responsible for the problem:

https://github.com/nf-core/hlatyping/blob/master/main.nf#L248

path(data_index) from params.base_index_path

I believe that path() accepts only absolute paths. The workaround is to use file:

file(data_index) from file(params.base_index_path)
@apeltzer apeltzer added the bug Something isn't working label Mar 10, 2021
@apeltzer apeltzer modified the milestones: 1.1.3, 2.0 Mar 10, 2021
@christopher-mohr
Copy link
Collaborator

Solved by #140.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

3 participants