toulligqc 2.5.5__tar.gz → 2.5.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. {toulligqc-2.5.5 → toulligqc-2.5.6}/PKG-INFO +1 -1
  2. {toulligqc-2.5.5 → toulligqc-2.5.6}/setup.py +1 -1
  3. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/fastq_extractor.py +4 -3
  4. toulligqc-2.5.6/toulligqc/version.py +1 -0
  5. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc.egg-info/PKG-INFO +1 -1
  6. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc.egg-info/requires.txt +1 -1
  7. toulligqc-2.5.5/toulligqc/version.py +0 -1
  8. {toulligqc-2.5.5 → toulligqc-2.5.6}/AUTHORS +0 -0
  9. {toulligqc-2.5.5 → toulligqc-2.5.6}/LICENSE-CeCILL.txt +0 -0
  10. {toulligqc-2.5.5 → toulligqc-2.5.6}/LICENSE.txt +0 -0
  11. {toulligqc-2.5.5 → toulligqc-2.5.6}/MANIFEST.in +0 -0
  12. {toulligqc-2.5.5 → toulligqc-2.5.6}/README.md +0 -0
  13. {toulligqc-2.5.5 → toulligqc-2.5.6}/setup.cfg +0 -0
  14. {toulligqc-2.5.5 → toulligqc-2.5.6}/test/test_sequencing_summary_extractor.py +0 -0
  15. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/__init__.py +0 -0
  16. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/bam_extractor.py +0 -0
  17. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/common.py +0 -0
  18. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/common_statistics.py +0 -0
  19. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/configuration.py +0 -0
  20. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/extractor_common.py +0 -0
  21. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/fast5_extractor.py +0 -0
  22. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/fastq_bam_common.py +0 -0
  23. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/html_report_generator.py +0 -0
  24. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/plotly_graph_common.py +0 -0
  25. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/plotly_graph_generator.py +0 -0
  26. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/plotly_graph_onedsquare_generator.py +0 -0
  27. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/report_data_file_generator.py +0 -0
  28. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/resources/plotly-latest.min.js +0 -0
  29. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/resources/toulligqc.css +0 -0
  30. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/resources/toulligqc.png +0 -0
  31. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/sequencing_summary_extractor.py +0 -0
  32. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/sequencing_summary_onedsquare_extractor.py +0 -0
  33. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/sequencing_telemetry_extractor.py +0 -0
  34. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/toulligqc.py +0 -0
  35. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc/toulligqc_info_extractor.py +0 -0
  36. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc.egg-info/SOURCES.txt +0 -0
  37. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc.egg-info/dependency_links.txt +0 -0
  38. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc.egg-info/entry_points.txt +0 -0
  39. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc.egg-info/not-zip-safe +0 -0
  40. {toulligqc-2.5.5 → toulligqc-2.5.6}/toulligqc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: toulligqc
3
- Version: 2.5.5
3
+ Version: 2.5.6
4
4
  Summary: A post sequencing QC tool for Oxford Nanopore sequencers
5
5
  Home-page: https://github.com/GenomicParisCentre/toulligQC
6
6
  Author: Genomic Paris Centre team
@@ -46,7 +46,7 @@ setup(
46
46
  include_package_data=True,
47
47
 
48
48
  python_requires='>=3.11.0',
49
- install_requires=['matplotlib>=3.6.3', 'plotly>=5.15.0', 'h5py>=3.7.0',
49
+ install_requires=['matplotlib>=3.6.3', 'plotly==4.5.0', 'h5py>=3.7.0',
50
50
  'pandas>=1.5.3', 'numpy>=1.24.2', 'scipy>=1.10.1',
51
51
  'scikit-learn>=1.2.1', 'tqdm>=4.64.1', 'pysam>=0.21.0'],
52
52
 
@@ -283,9 +283,10 @@ class fastqExtractor:
283
283
  fastq_lines.append((len(read[1]), qscore, passes_filtering, start_time, ch))
284
284
  else:
285
285
  for read in read_batch:
286
- qscore = avg_qual(read)
287
- passes_filtering = True if qscore > self.threshold_Qscore else False
288
- fastq_lines.append((len(read), qscore, passes_filtering))
286
+ if len(read)>0:
287
+ qscore = avg_qual(read)
288
+ passes_filtering = True if qscore > self.threshold_Qscore else False
289
+ fastq_lines.append((len(read), qscore, passes_filtering))
289
290
  return fastq_lines
290
291
 
291
292
 
@@ -0,0 +1 @@
1
+ __version__ = '2.5.6'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: toulligqc
3
- Version: 2.5.5
3
+ Version: 2.5.6
4
4
  Summary: A post sequencing QC tool for Oxford Nanopore sequencers
5
5
  Home-page: https://github.com/GenomicParisCentre/toulligQC
6
6
  Author: Genomic Paris Centre team
@@ -2,7 +2,7 @@ h5py>=3.7.0
2
2
  matplotlib>=3.6.3
3
3
  numpy>=1.24.2
4
4
  pandas>=1.5.3
5
- plotly>=5.15.0
5
+ plotly==4.5.0
6
6
  pysam>=0.21.0
7
7
  scikit-learn>=1.2.1
8
8
  scipy>=1.10.1
@@ -1 +0,0 @@
1
- __version__ = '2.5.5'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes