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

[vds] More updates for preferring LEN over END #14681

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

chrisvittal
Copy link
Collaborator

@chrisvittal chrisvittal commented Sep 12, 2024

  • Use LEN for to_dense_mt. We still need to calculate a global position for the end of a reference block, but this version is cleaner.
  • Update truncate_reference_blocks.

@chrisvittal chrisvittal changed the title [vds] Use LEN in densify [vds] More updates for preferring LEN over END Sep 13, 2024
@chrisvittal chrisvittal force-pushed the vds/densify-use-len branch 3 times, most recently from 9aaf0a6 to 7891ee2 Compare September 20, 2024 17:15
We still need to calculate a global position for the end of a reference
block, but this version is cleaner.

# NOTE: There is a strong assumption that ref block LEN does not extend
# past the end of a contig. That is bad data and we won't correct for it.
# Garbage in, garbage out.
Copy link
Member

Choose a reason for hiding this comment

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

pragmatic.

hail/python/hail/vds/methods.py Outdated Show resolved Hide resolved
Copy link
Member

@ehigham ehigham left a comment

Choose a reason for hiding this comment

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

nice, thanks for that

Copy link
Member

@ehigham ehigham left a comment

Choose a reason for hiding this comment

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

:shipit:

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.

2 participants