GenoTools
GenoTools copied to clipboard
Liftover
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