I mapped my referencegenome using BWA-MEM2 and gave the output command for sorted bam files in the same command, after validating them with the GATK validatesamfile command which is as follows:
gatk ValidateSamFile -I aligned_sorted.bam -R= Reference genome.fa --MODE SUMMARY
I am getting Error as Invalid_NM_tag. Can anybody help?