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

RepeatMasker: consider offline systems / fail faster #53684

Open
ptrebert opened this issue Feb 4, 2025 · 2 comments
Open

RepeatMasker: consider offline systems / fail faster #53684

ptrebert opened this issue Feb 4, 2025 · 2 comments

Comments

@ptrebert
Copy link

ptrebert commented Feb 4, 2025

Hi,

a suggestion for improving usability when setting up RepeatMasker in a conda environment: consider adding parameters such as --timeout=30 --tries=3 to the wget call and handle wget's exit code 4 (Network failure) explicitly. For example, print an info message informing the user that the on-the-fly lib download failed (line 14) and that the steps listed in the post-link.sh script (line 15) need to be manually executed after getting the lib file in some other way onto the system.

https://github.com/bioconda/bioconda-recipes/blob/3d57cd399513963b25a35b5e414f0682ba6fceae/recipes/repeatmasker/post-link.sh

Use case for this are offline systems such as HPCs in clinical contexts where IT is at least providing a mirror of common conda channels but no general access to online resources.

Best,
Peter

@ptrebert ptrebert changed the title consider offline systems / fail faster RepeatMasker: consider offline systems / fail faster Feb 4, 2025
@martin-g
Copy link
Contributor

martin-g commented Feb 4, 2025

@ptrebert Do you want to send a Pull Request with the proposed changes?

@ptrebert
Copy link
Author

ptrebert commented Feb 5, 2025

if they sound reasonable, I can do that...

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