add possibility to plot the end of the chromosome when plotting coverage
BUG: output_is bam