Closed Marc-Ruebsam closed 4 years ago
I am not surprised. This is am awful lot of contigs. Can you run pycoQC in verbose mode and copy the log.
My guess is that it breaks in the coverage plot. So I would also suggest to run pycoQC with a modified configuration file without the coverage plot => see how to modify the config file in the Advanced configuration with custon json file section of the command line usage https://a-slide.github.io/pycoQC/pycoQC/CLI_usage/
Here is the log: pycoQC_report.log
But let me state again, the job itself is not crashing. The html report is unable to load in the browser. Thanks for the hint, I'll give the config adaptation a try.
Feel free to close.
Pretty sure it's because of the coverage plot.
Yes, me too. Just wanted to share this experience. Maybe it makes sense not to include a coverage plot for more than say 50 contigs per default. Wouldn't be readable anyway. Thanks for the support. Keep up the good work.
That's True. Good suggestion I was also thinking of aggregating together references shorter than X% of the total genome len.
FYI and anyone who might encounter the problem: As we expected, providing a config file without
},
"alignment_coverage": {
"plot_title": "Coverage overview",
"nbins": 500,
"color": "rgba(102,168,255,0.75)",
"smooth_sigma": 1
solved the issue.
P.S.: solution was tested under version pycoQC v2.5.0.17 ... I had to upgrade because of #92
Great thanks for you feedback
Describe the bug I have a reference with multiple (695171) individual sequences (/contigs) in it (16S references). I used minimap2 to align my reads and samtools to create a indexed bam file. I ran
without an error.
When I try to open the pycoQC_report.html in Chrome it shows the initial plots, but freezes and crashes eventually. Firefox isn't even getting that far and crashes without showing content at all.
I already was expecting something like this would happen as I have issues with NanoPlot for this analysis as well, but not for an alignment to a single reference. As I expected the report contains very long lines (one with 27M characters containing all the contig names as labels):
Is there a way to render the images outside the browser?
To Reproduce Steps to reproduce the behavior:
Versions
Kind regards