I thought of that option but I have terabytes of data. It will take me ages with my Ryzen 1600X. If I leave the BAM files at hg19, maybe I can convert the SNP database from hg38 back to hg19. Can this be done in some automated way? My database has this format:
NAME, POSITION, ANC, DER. Is there any way to locally convert hg38 position to hg19 position? If there is, then I can write a script or a program to periodically do this for me.
I will give liftOver a try. Thank you!
I don't think liftOver works for BAM files. As I said, use `CrossMap? (I only mentioned liftOver since most people are familiar with it).
BTW, nothing is going to be as good as realigning...