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

VAF/EAF scores #8

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Conversation

JRodrigoF
Copy link

Complete Genomics varfiles have two columns with the quantitative scores varScoreVAF and varScoreEAF, which are given whenever a position has an alternate allele (absent in full ref calls or no-calls).

These proposed changes simply add to the base code the optional ability to output and keep these scores into the gVCF/VCF if the user wants it.

Your base code is beautiful and elegant. I have learned many things while working with it.
Thanks for sharing

JRodrigoF and others added 16 commits August 13, 2021 17:44
…r PASS and extra FORMAT tags for VAF and EAF values
…sitions, both varScoreVAF and varScoreEAF fields
…_position() function; return at line 405 needs fixing later
…sitions if qual_scores = true, otherwise passes and empty list
…n; also to the embebbed function process_allele(); In case of a variant, yield now includes the list of quality scores in the returned dictionary; added also qual_scores argument to the embebbed process_full/split_positions calls that handle the last line
…s_allele(); if qual_scores is True, both VAF and EAF scores will be stored and computed as mean if more than one is present for a given locus. These will be returned as a list
…es if present; extra fixings mighr be needed
… are passed to the yield; now it is a string not a list. // Also fix in the process_allele() function
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.

1 participant