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

Header with empty VCF #5

Open
antonylebechec opened this issue Mar 3, 2023 · 0 comments
Open

Header with empty VCF #5

antonylebechec opened this issue Mar 3, 2023 · 0 comments

Comments

@antonylebechec
Copy link

Dear Dridk,

I develop a script to manage databases in VCF and Parquet. I need specifically to deal with VCF header, to check VCF structure (INFO fields, FORMAT...).

When I create an instance with an empty VCF, I mean only VCF header, the content of the object is empty (no variant, which is ok), but I do not have any information about the header (e.g. list of INFO fields). Apparently, only INFO field present in variant INFO column are store in the header of the object.

Is there a way to keep INFO field (and other header information) even if thy are not present in variant? Especially if the VCF is empty (no variant)?

Thank!

Best,

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

1 participant