GenoTools icon indicating copy to clipboard operation
GenoTools copied to clipboard

Liftover

Open dvitale199 opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Automated liftover between hg19/hg38 given a list of positions

Describe the solution you'd like Store liftover and chain files in GenoTools (if possible). liftover(snp_df, from_build, to_build) where snp_df has columns 'chr', 'start', 'end', 'snp_id' (start and end can be pos and pos+1 respectively if not using ranges. snp_id can be any snp identifier like rsid)

Describe alternatives you've considered None

Additional context Example here: https://github.com/dvitale199/twas/blob/main/1_liftover.ipynb

dvitale199 avatar Oct 29 '21 13:10 dvitale199