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

FORMAT_PPLACETAX fails because of missing str_split function #808

Open
jkibilds opened this issue Nov 29, 2024 — with Slack · 1 comment
Open

FORMAT_PPLACETAX fails because of missing str_split function #808

jkibilds opened this issue Nov 29, 2024 — with Slack · 1 comment

Comments

Copy link

After phylogenetic placement, the pipeline fails at FORMAT_PPLACETAX with this error:

  Error in str_split(temp$taxopath, ";") : 
    could not find function "str_split"
  Execution halted```

This task completes successfully if I add `library(stringr)` at the beginning of `.command.sh` file in the working directory of the failed task and then launch `.command.run`. This fixes the problem, since the missing `str_split` function can be found in stringr R package. 

Required fix: add `library(stringr)` at the beginning of [modules/local/format_pplacetax.nf](https://github.com/nf-core/ampliseq/blob/master/modules/local/format_pplacetax.nf)

[Slack Message](https://nfcore.slack.com/archives/CEA7TBJGJ/p1732831200432689?thread_ts=1732831200.432689&cid=CEA7TBJGJ)
@erikrikarddaniel
Copy link
Member

Thanks for reporting. This is a bit strange, since the test passes but the code does not look like it should work. I'll fix this in the dev branch so it should be in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants