-
Notifications
You must be signed in to change notification settings - Fork 138
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
Create Dockerfile #1343
base: main
Are you sure you want to change the base?
Create Dockerfile #1343
Conversation
This is a docker for 4.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Please see the comments inside.
Dockerfile
Outdated
about.copyright="2011-2014 Saint-Petersburg Academic University" \ | ||
about.license="GPL-2+" \ | ||
about.license_file="/usr/share/doc/spades/copyright" \ | ||
extra.binaries="/usr/bin/metaspades,/usr/bin/metaspades.py,/usr/bin/plasmidspades,/usr/bin/plasmidspades.py,/usr/bin/rnaspades,/usr/bin/rnaspades.py,/usr/bin/spades,/usr/bin/spades.py,/usr/bin/truspades,/usr/bin/truspades.py" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not think this is for 4.0.0
:
- There is no truspades anymore
- There are more binaries there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was based in an older Dockerfile published by Biocontainers, will remove old lines
Dockerfile
Outdated
upstream.version="4.0.0" \ | ||
version="1" \ | ||
extra.identifiers.biotools="spades" \ | ||
about.copyright="2011-2014 Saint-Petersburg Academic University" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not accurate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check again, just made changes to address these issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would probably suggest you to build in the same way as release snapshots are being built: https://github.com/ablab/spades/blob/main/.github/workflows/release.yml#L53
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just tried this method, got the binaries but the spades.py test does not end in bin directory.
Here is what I tried:
cmake -B build/ -S src/ -DSPADES_USE_NCBISDK=ON -DSPADES_ENABLE_PROJECTS=all
cmake --build build/ -j16
after this, binaries are in bin, but not spades.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'd also need to to cmake --install
. Alternatively, just pass -DSPADES_USE_NCBISDK=ON -DSPADES_ENABLE_PROJECTS=all
to spades_compile.sh
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will try it tomorrow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, updated the Dockerfile and tested it
No description provided.