rrazaghi / modbamtools

Set of tools to manipulate and visualize modified base bam files
Apache License 2.0
49 stars 4 forks source link

legend missing in graph #1

Closed sabiqali closed 2 years ago

sabiqali commented 2 years ago

Hi,

I was trying to implement this for some modified bams that we generated. The script seems to work find and the output file gets generated, but it seems that there is no legend or any way to interpret the data.

We think that the colours represent the average methylation frequency but something to tell us what they mean exactly would be very useful.

I have included a screenshot of the output that i get.

Screenshot from 2022-04-06 10-44-27

rrazaghi commented 2 years ago

Hi Sabiq,

Sorry, I am working on full documentation this week and hopefully, that will clarify things. You are right that the orange/blue in the top plot represents methylation frequency and the lines are just smoothed methylation frequency with savitzky-golay filter ( I'm planning on adding other smoothing methods soon)

rrazaghi commented 2 years ago

I'm adding some legends in the next release to address this

rrazaghi commented 2 years ago

New release and tutorial should mostly address this!