This error is issues by R when it tries to generate plot while no mismathes have been detected. Our online manual indciates that "Calculate the distributions of the mismatches across reads. Note that the “MD” tag must exist in the BAM file." Please check your BAM file.
I will also update the code to stop generating plot when actually no mismatches found.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please provide more informaiotn such as which lines of code issued this error?
Unfortunately the only error message I get is this one:
This error is issues by R when it tries to generate plot while no mismathes have been detected. Our online manual indciates that "Calculate the distributions of the mismatches across reads. Note that the “MD” tag must exist in the BAM file." Please check your BAM file.
I will also update the code to stop generating plot when actually no mismatches found.