Open bernt-matthias opened 1 year ago
Getting the very same error, anyone managed to fix it?
If sequencing_summary.txt
doesn't contain any pass reads, it will cause this error.
Hello,
I have the same issue, however it seems that there are pass reads. Here is my log:
Checking arguments values
Check input data files
Parse data files
Merge data
Cleaning data
Discarding lines containing NA values
0 reads discarded
Filtering out zero length reads
0 reads discarded
Sorting run IDs by decreasing throughput
Run-id order ['4254b708acc48a73459cb6ebfb4d97078ac316a7']
Reordering runids
Processing reads with Run_ID 4254b708acc48a73459cb6ebfb4d97078ac316a7 / time offset: 0
Cleaning up low frequency barcodes
0 reads with low frequency barcode unset
Cast value to appropriate type
Reindexing dataframe by read_ids
3,329,137 Final valid reads
Loading plotting interface
Found 3,329,137 total reads
Found 3,327,073 pass reads (qual >= 10.0 and length >= 50)
Generating HTML report
Parsing html config file
Running method run_summary
Computing plot
Running method basecall_summary
Computing plot
Running method alignment_summary
/usr/local/lib/python3.8/dist-packages/numpy/core/fromnumeric.py:3464: RuntimeWarning:
Mean of empty slice.
/usr/local/lib/python3.8/dist-packages/numpy/core/_methods.py:192: RuntimeWarning:
invalid value encountered in scalar divide
Computing plot
Running method read_len_1D
Computing plot
Running method align_len_1D
Computing plot
Traceback (most recent call last):
File "/usr/local/bin/pycoQC", line 8, in <module>
sys.exit(main_pycoQC())
File "/usr/local/lib/python3.8/dist-packages/pycoQC/__main__.py", line 115, in main_pycoQC
pycoQC (
File "/usr/local/lib/python3.8/dist-packages/pycoQC/pycoQC.py", line 155, in pycoQC
reporter.html_report(
File "/usr/local/lib/python3.8/dist-packages/pycoQC/pycoQC_report.py", line 89, in html_report
fig = method(**method_args)
File "/usr/local/lib/python3.8/dist-packages/pycoQC/pycoQC_plot.py", line 480, in align_len_1D
fig = self.__1D_density_plot (
File "/usr/local/lib/python3.8/dist-packages/pycoQC/pycoQC_plot.py", line 535, in __1D_density_plot
lab1, dd1, ld1 = self.__1D_density_data ("all", field_name, x_scale, nbins, smooth_sigma)
File "/usr/local/lib/python3.8/dist-packages/pycoQC/pycoQC_plot.py", line 582, in __1D_density_data
min = np.nanmin(data)
File "<__array_function__ internals>", line 200, in nanmin
File "/usr/local/lib/python3.8/dist-packages/numpy/lib/nanfunctions.py", line 343, in nanmin
res = np.fmin.reduce(a, axis=axis, out=out, **kwargs)
ValueError: zero-size array to reduction operation fmin which has no identity
Any suggestions?
I found what was wrong, some of the reads have a different name between the basecaller summary and the bam file. The difference was generated after processing the reads using pychopper.
Hi
I'm trying to fix the galaxy tool for pycoQC for BAM input (https://github.com/galaxyproject/tools-iuc/pull/5201). Wondering if you have input data that is supposed to work?
With the input data I'm using I get: