MungeSumstats icon indicating copy to clipboard operation
MungeSumstats copied to clipboard

liftover not working for certain region

Open zhana-optima opened this issue 2 months ago • 1 comments

1. Bug description

I am running liftover over a series of LD blocks. It works fine for all chromosomes until chromosome 17, and then after I reach one LD block in chromosome 17, it does not work anymore. It just does not output any coordinates anymore. It was working fine on the same block previously. The coords are just empty

2. Reproducible example

Code

  tmp.frq = read.table('tmp.txt
[tmp.txt](https://github.com/neurogenomics/MungeSumstats/files/15144054/tmp.txt)
')      
  coords = tmp.frq %>%
              dplyr::select(CHR, BP, SNP) %>%
              MungeSumstats::liftover(
                ref_genome = "hg19",
                convert_ref_genome = "hg38"
              ) %>%
              shhh() # Perform liftover from hg19 to hg38


Data

Stored in tmp.txt - attached.

zhana-optima avatar Apr 28 '24 22:04 zhana-optima