Skip to content

Sample name#4

Merged
khetherin merged 13 commits intomainfrom
sample_name
Sep 12, 2025
Merged

Sample name#4
khetherin merged 13 commits intomainfrom
sample_name

Conversation

@khetherin
Copy link
Collaborator

Collected sample names from the GVF header (non-essential pragmas).
For the VCF header sample names are printed in the header.
For VCF data lines each sample has had a place holder added for its value.

else:
pass
# Go through non-essential pragmas
for non_essential_pragma in gvf_non_essential:
Copy link
Member

Choose a reason for hiding this comment

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

These sort of long list of if statements could be refactored to have a generic method and dioctionary that maps the start of the pragma with correct key and potentially a parser function.
I will suggest these edits in a different PR.

@khetherin khetherin merged commit 5f78c58 into main Sep 12, 2025
1 check passed
@khetherin khetherin deleted the sample_name branch January 9, 2026 11:15
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.

3 participants