Skip to content

[vep] Rework VEP with more visibility - #9973

Merged
danking merged 4 commits into
hail-is:mainfrom
tpoterba:vep-faults
Feb 3, 2021
Merged

[vep] Rework VEP with more visibility#9973
danking merged 4 commits into
hail-is:mainfrom
tpoterba:vep-faults

Conversation

@tpoterba

@tpoterba tpoterba commented Feb 2, 2021

Copy link
Copy Markdown
Contributor
  1. Don't ignore parse errors by default. These shouldn't be happening
    with modern VEP versions anyway (they were caused by genes named NaN
    or something in older versions)
  2. Don't silently drop variants that don't have a match in VEP. All keys
    coming in will have a row coming out with a VEP annotation (maybe NA)
    and a partition/block index.

1. Don't ignore parse errors by default. These shouldn't be happening
   with modern VEP versions anyway (they were caused by genes named NaN
   or something in older versions)
2. Don't silently drop variants that don't have a match in VEP. All keys
   coming in will have a row coming out with a VEP annotation (maybe NA)
   and a partition/block index.
@johnc1231

Copy link
Copy Markdown
Contributor

Not compiling

Comment thread hail/python/hail/methods/qc.py Outdated
def vep(dataset: Union[Table, MatrixTable], config=None, block_size=1000, name='vep', csq=False):
csq=bool,
tolerate_parse_error=bool)
def vep(dataset: Union[Table, MatrixTable], config=None, block_size=1000, name='vep', csq=False, tolerate_parse_error=False):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Missed this first go, keyword only for the new parameter?

@tpoterba
tpoterba dismissed chrisvittal’s stale review February 2, 2021 22:36

good call, done!

@danking
danking merged commit c3a1cbf into hail-is:main Feb 3, 2021
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.

4 participants