I am aware this question has been asked similarly before but I cannot find a straighforward answer.
The headers for my bam look like this (just a snippet):
I have lifted my bed file to hg38 from hg19 and would like to now have these accession numbers like chr1, chr2, chr3....
I have looked at this https://github.com/dpryan79/ChromosomeMappings/blob/master/GRCh38_RefSeq2UCSC.txt but find it confusing. I have previously had to recode another bed file so know how to do it, its just which accession code is associated to which chromosome which is confusing me.