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

Error "Can't stage file https://files.plutof.ut.ee:" Download fail #764

Closed
himamura2 opened this issue Jul 22, 2024 · 7 comments
Closed
Labels
bug Something isn't working

Comments

@himamura2
Copy link

himamura2 commented Jul 22, 2024

Description of the bug

I am getting "Can't stage file" error for ITS dada_ref_taxonomy: 'unite-fungi'.

V=2.10.0
ITS analysis

"  task: name=NFCORE_AMPLISEQ:AMPLISEQ:FORMAT_TAXONOMY; work-dir=null
  error [nextflow.exception.ProcessStageException]: Can't stage file https://files.plutof.ut.ee/public/orig/1E/25/1E25CA4CC30A31C2E2B8CB2C89824C83D080A7F5A62E6263A0E95B37C6628067.tgz -- reason: Unable to access path: https://files.plutof.ut.ee/public/orig/1E/25/1E25CA4CC30A31C2E2B8CB2C89824C83D080A7F5A62E6263A0E95B37C6628067.tgz
Jul-22 10:29:23.571 [Actor Thread 36] ERROR nextflow.processor.TaskProcessor - Error executing process > 'NFCORE_AMPLISEQ:AMPLISEQ:FORMAT_TAXONOMY'

Caused by:
  Can't stage file https://files.plutof.ut.ee/public/orig/1E/25/1E25CA4CC30A31C2E2B8CB2C89824C83D080A7F5A62E6263A0E95B37C6628067.tgz -- reason: Unable to access path: https://files.plutof.ut.ee/public/orig/1E/25/1E25CA4CC30A31C2E2B8CB2C89824C83D080A7F5A62E6263A0E95B37C6628067.tgz
"

I contacted "plutof.ut.ee team" about the error and they said:

I think you have to ask for new URL-s for these files. Last week we closed our legacy file system. I think your files were part of it.
In our new file repository solution, you can have more control withe the naming of the files.
Sorry for the trouble.
All the best,
Allan & PlutoF team

Is this file controled by ampliseq team or dada2 team?
best,
Hideo

Command used and terminal output

No response

Relevant files

file:///home/himamura/ITS_nextflow.log
0:-26:690:44

System information

Nextflow version (eg. 23.10.0)
https://github.com/nf-core/ampliseq/tree/2.10.0

@himamura2 himamura2 added the bug Something isn't working label Jul 22, 2024
@d4straub
Copy link
Collaborator

d4straub commented Jul 22, 2024

Thanks for the report and attempting to find a solution!
I adjusted the formatting of your post that its a little easier to read.

It is very unfortunate that they changed their file system, this will of course break the links that are implemented into the pipeline.
For now, if you find any other source of that files, you could use --dada_ref_tax_custom and optionally also --dada_ref_tax_custom_sp.

Is this file controled by ampliseq team or dada2 team?

As far as I know its not controlled by "us".

Because I am not overly familiar with that file system, could you let me know if you find the files under other links?

@himamura2
Copy link
Author

himamura2 commented Jul 22, 2024

Thank you for the really quick reponse. I thought this was the microsoft issue last week but it did not resolved. About the file, I downloaded unit-fungi=9 before. And I copied the file to the location where it should be. But I am getting the error that the file cannot be downloaded.
ITS_nextflow.log
So, I do not know how to get around this issue. Likely I should post this to DADA2 team, since they may be able to update the file and resolve the issue.
I saw your suggestion now. I will try that option.
best,
Hideo

@d4straub
Copy link
Collaborator

@himamura2 thanks for posting in the DADA2 repo, but I think its an issue of plutof.ut.ee, not DADA2.

Hi @erikrikarddaniel @jtangrot any idea?

@erikrikarddaniel
Copy link
Member

@himamura2 thanks for posting in the DADA2 repo, but I think its an issue of plutof.ut.ee, not DADA2.

Hi @erikrikarddaniel @jtangrot any idea?

I think our urls, i.e. in the Ampliseq ref_databases.config might need to be updated if the PlutoF people moved them. This is probably easiest for @jtangrot , but I'll have a look.

@d4straub d4straub mentioned this issue Jul 23, 2024
11 tasks
@gagnedavid
Copy link

gagnedavid commented Jul 24, 2024

Hi,
I have almost the same error:
WARN: Unable to stage foreign file:
https://files.plutof.ut.ee/public/orig/7B/23/7B235835FAF5C85D7B01E40FEF17F687914CB81A182554C5BD95E3168328E604.tgz

@erikrikarddaniel
Copy link
Member

I just merged PR #766 that tries to fix this issue into dev. You can try it by running Nextflow with -r dev. I'm closing in the hope that it works, but please reopen (with a comment) if the problem persists for you.

@himamura2
Copy link
Author

Thank you Daniel. -r dev fixed the issuee for 16S and ITS.

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
None yet
Development

No branches or pull requests

4 participants