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

liftover is performed using 1-based coordinates against a 0-based chain file #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonaszierer
Copy link

Hello all!
as descrobed in the title - we believe there is a bug due to the disconnect between 1-based gneome coordinates and 0-based chain files by pyliftover (chain files from the LiftOver tool from pyliftover: https://github.com/EBISPOT/gwas-sumstats-harmoniser/blob/master/harmoniser/map_to_build.py#49)

This diagram walks through the effects of incorrectly passing the 1-based coordinates (lines 2 and 3) versus the actual genomic change between the builds (line 1) and the correct output produced by passing the 0-based coordinate (line 4):

image

Credit to @katiedelange :)

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