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 bgzip #4

Merged
merged 6 commits into from
Jan 30, 2024
Merged

Add bgzip #4

merged 6 commits into from
Jan 30, 2024

Conversation

Grifs
Copy link
Contributor

@Grifs Grifs commented Jan 23, 2024

Description

Add an implementaiton for bgzip inspired by snakemake-wrappers

Issue ticket number

Closes #xxxx

Checklist before requesting a review

  • I have performed a self-review of my code

  • Conforms to the Contributing guidelines

  • Proposed changes are described in the CHANGELOG.md

  • I have tested my code with viash ns test --parallel -q <name or namespace>

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Documentation
    • Bug fixes

src/bgzip/config.vsh.yaml Outdated Show resolved Hide resolved
src/bgzip/config.vsh.yaml Outdated Show resolved Hide resolved
src/bgzip/test/test.vcf Outdated Show resolved Hide resolved
@Grifs Grifs requested a review from rcannood January 30, 2024 11:09
@Grifs Grifs marked this pull request as ready for review January 30, 2024 15:00
@Grifs Grifs merged commit 83ecebf into main Jan 30, 2024
6 checks passed
Copy link
Contributor

@rcannood rcannood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Edit - I would still like to request some changes!

  • Could you add a changelog.md?

setup:
- type: docker
run: |
bgzip -h | grep 'Version:' 2>&1 | sed 's/Version:\s\(.*\)/arriba: "\1"/' > /var/software_versions.txt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
bgzip -h | grep 'Version:' 2>&1 | sed 's/Version:\s\(.*\)/arriba: "\1"/' > /var/software_versions.txt
bgzip -h | grep 'Version:' 2>&1 | sed 's/Version:\s\(.*\)/bgzip: "\1"/' > /var/software_versions.txt

Please verify that this indeed returns the expected format

Copy link
Contributor Author

@Grifs Grifs Jan 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docker run -it --entrypoint cat bgzip:latest /var/software_versions.txt
bgzip: "1.19"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please turn this into a script.sh file in line with the test data script in other components. Also remove any mentions of arriba.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed that the expected file was changed. I like it much better!

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