I have started a project in Genomics, which involves using the SAM alignment files. My question is, if any of you has previously succeeded in combining the CIGAR and MD strings from the SAM file in order to reconstruct the alignment. I cannot find some code and I assume this has been done in the past. Any help would be greatly appreciated!