-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resulting Image(png) Generation Issues #360
Comments
Could you elaborate on which files you get and which you are missing? |
I used the command mentioned above and ran it twice in a row, using NanoFilt to intercept the Reads in between. First run of NanoPlot (rawdata):
Second run of NanoPlot (cleandata):
This doesn't happen every time; sometimes the results are the same for both runs. |
I cannot think of any reason for that to happen. |
No Yield_By_Length.png file was generated this time (base)[root@418b066513c2 01.QC]# ll test_TB20009174_nocut_cleandata (base)[root@418b066513c2 01.QC]# ll test_TB20009174_nocut_rawdata |
Can you share the log file of a run that failed to generate a png plot? |
2024-03-26 08:11:31,873 NanoPlot 1.42.0 started with arguments Namespace(N50=True, alength=False, bam=None, barcoded=False, color='#4CB391', colormap='Greens', cram=None, downsample=None, dpi=300, drop_outliers=False, fasta=None, fastq=['/Project/result/test_TB20009174_nocut_Cyclone/result/01.QC/test_TB20009174_nocut_cleandata_trimmed-reads.fastq.gz'], fastq_minimal=None, fastq_rich=None, feather=None, font_scale=1, format=['png'], hide_stats=False, huge=False, info_in_report=False, legacy=None, listcolormaps=False, listcolors=False, loglength=False, maxlength=None, minlength=None, minqual=None, no_N50=False, no_static=False, no_supplementary=False, only_report=False, outdir='/Project/result/test_TB20009174_nocut_Cyclone/result/01.QC/test_TB20009174_nocut_cleandata', path='/Project/result/test_TB20009174_nocut_Cyclone/result/01.QC/test_TB20009174_nocut_cleandata/', percentqual=False, pickle=None, plots=['kde', 'dot'], prefix='', raw=False, readtype='1D', runtime_until=None, store=False, summary=None, threads=20, title='test_TB20009174_nocut_cleandata', tsv_stats=False, ubam=None, verbose=False) |
This is it:
This doesn't help us, but for some reason it failed to create the PNG image for a particular plot. But you still have the plot in HTML format, right? |
right |
Hey, I have the same problem: no PNGs are produced and the errors are always:
I am running on a SLURM cluster and have NanoPlot installed in a Singularity container. NanoPlot version is 1.42.0 |
This might be related to I am still wondering if this has something to do with executing NanoPlot from a container and/or a HPC environment... |
Further research revelad that this might be also a problem with internet connection that Kaleido apparently needs to convert HTML to PNG. THis would explain my issue bc I work on a quite restrictive HPC with a lot of ports closed. See: Maybe it is possible to also configure Kaleido in NanoPlot to work offline? |
Hello,
qcpic1="%s/result/01.QC/%s_cleandata/LengthvsQualityScatterPlot_kde.png"%(output,samplename)
qcpic2="%s/result/01.QC/%s_cleandata/Non_WeightedHistogramReadlength.png"%(output,samplename)
qcpic3="%s/result/01.QC/%s_cleandata/Non_WeightedLogTransformed_HistogramReadlength.png"%(output,samplename)
qcpic4="%s/result/01.QC/%s_cleandata/Yield_By_Length.png"%(output,samplename)
Now the command I use is:
python3 NanoPlot.py -t 20 --N50 --dpi 300 --fastq test.fq.gz --title test -o %s/result/01.QC/%s
I've tried adding the -
-plots
and--legacy
parameters, but they don't generate the same results every time.The text was updated successfully, but these errors were encountered: