b37 liftover
1
0
Entering edit mode
5 months ago
spesks • 0

Hi! I have vcf files that were get with b37 reference, and I need to liftover them to hg38 (and then to t2t if it's possible). The problem is that there are no chain files that converts b37 to hg19 or b37 to hg38. What is the righ way of solving the problem? Should i rename the chromosomes according to hg19 ?

b37 liftover • 672 views
ADD COMMENT
3
Entering edit mode

There is no difference in the main chromosomes between b37 and hg19 (except Chr Y and MT, see table below) .

https://gatk.broadinstitute.org/hc/en-us/articles/360035890711-GRCh37-hg19-b37-humanG1Kv37-Human-Reference-Discrepancies

Unless you are doing something very specific, it may be reasonable to use hg19 files.

ADD REPLY
0
Entering edit mode

Thank you! renaming chrs according to hg19 and using hg19 chain files helped.

ADD REPLY
2
Entering edit mode
5 months ago

Using BCFtools/liftover will automatically take care of:

  • flexible contig names (e.g. 18 vs. chr18) in the chain file (you still have use the correct fasta files)
  • not changing the coordinates of variants on the mitochondrial genome if it detects that target and query mitochondrial sequences have the same length (you can use chain file hg19ToHg38.over.chain.gz with b37, even if b37 and hg19 have different mitochrondrial sequences ... coordinates for mitochondrial variants will be left unchanged)
ADD COMMENT

Login before adding your answer.

Traffic: 2544 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6