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

Add a wrapper script for building the environment #21

Closed
darcyabjones opened this issue May 28, 2020 · 1 comment
Closed

Add a wrapper script for building the environment #21

darcyabjones opened this issue May 28, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@darcyabjones
Copy link
Member

What kind of feature are you proposing?

Currently, registering the proprietary source files involves running a few commands, and they're different for conda, docker, and singularity.
It would be good to make this process a single command that can take all source files and build it while you make a coffee.

Describe the solution you'd like
Probably the best solution would be to have something like the nextflow install method.

e.g.

curl -s "https://whereever.com/predector-env.sh" | sh - --signalp3 ./signalp3.tar.gz ...

I'm unsure if you can pipe the script to stdin of sh like that and still provide command line parameters, but it should be possible.

The reason that I like this idea, is that potentially it could make the build process look the same for each of the environments.

curl -s "https://whereever.com/predector-env-conda.sh" | sh - --signalp3 ./signalp3.tar.gz ...
curl -s "https://whereever.com/predector-env-docker.sh" | sh - --signalp3 ./signalp3.tar.gz ...
curl -s "https://whereever.com/predector-env-singularity.sh" | sh - --signalp3 ./signalp3.tar.gz ...

For docker the command is almost identical, but it would simplify things for conda and singularity.
I'm a bit unsure about this. I think the full version should be documented somewhere, but this might be a good "easy-install" method.

@darcyabjones
Copy link
Member Author

darcyabjones commented May 30, 2020

Script introduced with referenced issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants