wdecoster/NanoPlot

would Nanoplot support plotting results for a single contig?

zhengzhenxian opened this issue · 2 comments

@wdecoster

Thanks for developing this great tool!

I am wondering if Nanoplot supports plotting results for a single contig. Occasionally, I have a WGS BAM file but would prefer to obtain statistical results solely for CHR1 to gather basic statistics. This capability would expedite my analysis workflow. Would be great if there is an option for this. Thank you very much.

Zhenxian

Hi Zhenxian,

No, that is currently not supported. One solution would be to use cramino, while reading from stdin. If you only care about statistics then you are done. If you want a plot you could use the arrow file.

Something like:

samtools view alignment.bam chr1 | cramino --arrow data.arrow > statistics.cramino
NanoPlot --arrow data.arrow <etc>

Best,
Wouter

Cool, I will try cramino then!