modbamtools icon indicating copy to clipboard operation
modbamtools copied to clipboard

modbamtools plot command will append on more output if the same prefix is used

Open pwh124 opened this issue 1 year ago • 0 comments

modbamtools plot command will append on more output if the same prefix is used. This could cause major issues when trying to optimize a plot.

Example - these two commands were run consecutively

modbamtools plot --batch genes.bed -c --prefix test_batch_hp_removed_gm12878_batch --samples GM12878 --out . hp_removed_gm12878_ul_sup_megalodon_chr20.bam

modbamtools plot --batch genes.bed -c --prefix test_batch_hp_removed_gm12878_batch --samples GM12878 --out . hp_removed_gm12878_ul_sup_megalodon_chr20.bam

It leads to those three loci plotted back-to-back in the HTML file.

pwh124 avatar Apr 25 '23 21:04 pwh124