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

update freebayes1.3.7 #775

Merged
merged 11 commits into from
Oct 27, 2023
Merged

update freebayes1.3.7 #775

merged 11 commits into from
Oct 27, 2023

Conversation

kittychaseNC
Copy link
Contributor

Pull Request (PR) checklist:

  • Include a description of what is in this pull request in this message.
  • The dockerfile successfully builds to a test target for the user creating the PR. (i.e. docker build --tag samtools:1.15test --target test docker-builds/samtools/1.15 )
  • Directory structure as name of the tool in lower case with special characters removed with a subdirectory of the version number (i.e. spades/3.12.0/Dockerfile)
    • (optional) All test files are located in same directory as the Dockerfile (i.e. shigatyper/2.0.1/test.sh)
  • Create a simple container-specific README.md in the same directory as the Dockerfile (i.e. spades/3.12.0/README.md)
    • If this README is longer than 30 lines, there is an explanation as to why more detail was needed
  • Dockerfile includes the recommended LABELS
  • Main README.md has been updated to include the tool and/or version of the dockerfile(s) in this PR
  • Program_Licenses.md contains the tool(s) used in this PR and has been updated for any missing

@erinyoung
Copy link
Contributor

Thank you for your contribution!

It looks like https://github.com/freebayes/freebayes/releases/download/v${FREEBAYES_VER}/freebayes-${FREEBAYES_VER}-src.tar.gz doesn't exist when FREEBAYES_VER = 1.3.7. Which is odd, because it's in a lot of the other releases.

What happens if you try https://github.com/freebayes/freebayes/archive/refs/tags/v${FREEBAYES_VER}.tar.gz instead (and changing everything downstream to match)?

@erinyoung
Copy link
Contributor

I think I know why the *src.tar.gz file is missing : there's something wrong with the ninja tests.

I've made a few changes to the Dockerfile, which you are welcome to approve or disapprove of.

  1. vcftools and samtools are now both installed by apt-get. That's what https://github.com/freebayes/freebayes/blob/master/.travis.yml suggests happens when creating the binary.
  2. I've put mason and the building of freebayes into a "build" stage. This appears to require a lot of the same dependencies as the "app" stage, so many dependencies are installed in both stages.
  3. I've dropped the ninja testing because it doesn't work, and I replaced the test stage with test data.

@erinyoung
Copy link
Contributor

@kittychaseNC , thank you for your contribution! This Dockerfile was more challenging than I was expecting (which... happens a lot in bioinformatics...).

Are you okay with the changes I made?

If so, I'll update https://github.com/StaPH-B/docker-builds/blob/fe4da9e6b9227801d7060500cf1394f70468a765/freebayes/1.3.7/README.md , merge this PR, and deploy to dockerhub and quay.

@kittychaseNC
Copy link
Contributor Author

kittychaseNC commented Oct 27, 2023 via email

@erinyoung
Copy link
Contributor

Thank you for your contribution!!!

I hope you learned a lot in the Workshop!

@erinyoung erinyoung merged commit 6abe901 into StaPH-B:master Oct 27, 2023
2 checks passed
@kittychaseNC
Copy link
Contributor Author

kittychaseNC commented Oct 27, 2023 via email

@erinyoung
Copy link
Contributor

You can check the status of the deploy here : https://github.com/StaPH-B/docker-builds/actions/runs/6671135935

and it should be available on dockerhub here : https://hub.docker.com/r/staphb/freebayes/tags

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

Successfully merging this pull request may close these issues.

2 participants