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

Uncompressed VCF variants #6

Open
fellen31 opened this issue Sep 5, 2024 · 3 comments
Open

Uncompressed VCF variants #6

fellen31 opened this issue Sep 5, 2024 · 3 comments

Comments

@fellen31
Copy link

fellen31 commented Sep 5, 2024

Hi,

Thanks for writing this plugin!

I'm having trouble using variants/variantsMD5 on uncompressed VCFs, header seems to work fine.
Is it supported to be supported?

/Felix

@seppinho
Copy link
Owner

Correct, for some methods, we require a BGZF-compressed file (.vcf.gz) because we are using the query functionality of HTSJDK, which requires an index file. One approach could be to compress the VCF file using BGZIP and generate the index directly within the code. Would it also be possible for you to work directly with a .vcf.gz file?

@fellen31
Copy link
Author

I see, in this case I wanted to snapshot the output of a software that only supports uncompressed VCF output.

If you already generate the index, then perhaps it would be okay to also compress the VCF within the code?

@seppinho
Copy link
Owner

I understand. I'll do my best to implement this feature. If you feel like contributing to a PR, let me know!

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