wdecoster / NanoPlot

Plotting scripts for long read sequencing data
http://nanoplot.bioinf.be
MIT License
401 stars 48 forks source link

Adding Q30 and Q50 to summary statistics of NanoPlot report #366

Closed Fedeluppi closed 3 weeks ago

Fedeluppi commented 2 months ago

Hi,

I am using NanoPlot both for PacBio and ONT data and I was wondering if it was possible to add Q30 and Q50 in the summary statistics of the NanoPlot report or if there is already a command line option that I am missing out.

Thanks for your resource,

Best,

Federica

wdecoster commented 2 months ago

Hi Federica,

According to these changes, the current cutoffs (with the last version) should be 10, 15, 20, 25 and 30. Is that what you are seeing? That is currently specified only in the code, and it is difficult to set reasonable defaults that work for everyone. I understand Q50 would be useful. But at the same time, I don't want to expose all options on the command line, that would lead to an enormous list of options for users to search through.

Wouter

Fedeluppi commented 2 months ago

Hi Wouter,

Thanks for the quick answer! I am using NanoPlot with a singularity image. Unfortunately I tried with different versions that I can fetch from the Docker hub (see below) but I only see the Q scores until Q15 :/.

Docker hub containers:

I have tried these two as they seem the most up-to-date versions of NanoPlot on docker hub (https://hub.docker.com/search?q=nanoplot). It would be great if you could point me a different docker file with the relevant changes on the Q metrics.

Thanks a lot,

Best,

Federica

wdecoster commented 2 months ago

Hrm singularity is not something that I typically use, but it seems there are more recent version here: https://hub.docker.com/r/staphb/nanoplot/tags ?

sandratra-rab commented 1 month ago

Hi, I tried to use the latest staphb NanoPlot docker image (pulled as a Singularity image) that you linked and both latest NanoPlot bioconda and pip3 packages but they were all built using nanomath==1.3.0 (and nanomath==1.4.0 does not seem to exist when I try to manually update it). So if I'm not wrong, no current installation mode seems to include the latest code modifications for the 10, 15, 20, 25 and 30 cutoffs.