wdecoster / nanocomp

Comparison of multiple long read datasets
MIT License
103 stars 8 forks source link

How to modify axis limits/or reduce read length #52

Closed albuskilili closed 2 years ago

albuskilili commented 2 years ago

Hi,

Thank you very much for developing this very useful tool. I have an issue with violin plots and I was hoping that I could get help from here. When NanoComp plots violin plot for Read Lengths, y axis goes up to 18000 as I have few reads around that. However, my mean read length is around 700. So, I need to somehow either set the y axis limits or remove very high read lengths to get a nice violin plot and decide on my trimming strategy. I normally use R, and tried to apply some codes I know from it but of course it didn't work. Could you please give me an advice what I can do?

Thank you very much. Hus

image
wdecoster commented 2 years ago

There is a --maxlength option to remove reads longer than a certain cutoff. Please let me know if that doesn't solve it.