REDItools3 3.2a0__tar.gz → 3.3__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.

Potentially problematic release.


This version of REDItools3 might be problematic. Click here for more details.

Files changed (26) hide show
  1. {reditools3-3.2a0 → reditools3-3.3}/PKG-INFO +3 -3
  2. {reditools3-3.2a0 → reditools3-3.3}/REDItools3.egg-info/PKG-INFO +3 -3
  3. {reditools3-3.2a0 → reditools3-3.3}/pyproject.toml +2 -2
  4. {reditools3-3.2a0 → reditools3-3.3}/reditools/analyze.py +3 -2
  5. {reditools3-3.2a0 → reditools3-3.3}/reditools/rtchecks.py +5 -3
  6. {reditools3-3.2a0 → reditools3-3.3}/LICENSE +0 -0
  7. {reditools3-3.2a0 → reditools3-3.3}/README.md +0 -0
  8. {reditools3-3.2a0 → reditools3-3.3}/REDItools3.egg-info/SOURCES.txt +0 -0
  9. {reditools3-3.2a0 → reditools3-3.3}/REDItools3.egg-info/dependency_links.txt +0 -0
  10. {reditools3-3.2a0 → reditools3-3.3}/REDItools3.egg-info/requires.txt +0 -0
  11. {reditools3-3.2a0 → reditools3-3.3}/REDItools3.egg-info/top_level.txt +0 -0
  12. {reditools3-3.2a0 → reditools3-3.3}/reditools/__init__.py +0 -0
  13. {reditools3-3.2a0 → reditools3-3.3}/reditools/__main__.py +0 -0
  14. {reditools3-3.2a0 → reditools3-3.3}/reditools/alignment_file.py +0 -0
  15. {reditools3-3.2a0 → reditools3-3.3}/reditools/alignment_manager.py +0 -0
  16. {reditools3-3.2a0 → reditools3-3.3}/reditools/compiled_position.py +0 -0
  17. {reditools3-3.2a0 → reditools3-3.3}/reditools/compiled_reads.py +0 -0
  18. {reditools3-3.2a0 → reditools3-3.3}/reditools/fasta_file.py +0 -0
  19. {reditools3-3.2a0 → reditools3-3.3}/reditools/file_utils.py +0 -0
  20. {reditools3-3.2a0 → reditools3-3.3}/reditools/homopolymerics.py +0 -0
  21. {reditools3-3.2a0 → reditools3-3.3}/reditools/index.py +0 -0
  22. {reditools3-3.2a0 → reditools3-3.3}/reditools/logger.py +0 -0
  23. {reditools3-3.2a0 → reditools3-3.3}/reditools/reditools.py +0 -0
  24. {reditools3-3.2a0 → reditools3-3.3}/reditools/region.py +0 -0
  25. {reditools3-3.2a0 → reditools3-3.3}/reditools/utils.py +0 -0
  26. {reditools3-3.2a0 → reditools3-3.3}/setup.cfg +0 -0
@@ -1,13 +1,13 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: REDItools3
3
- Version: 3.2a0
3
+ Version: 3.3
4
4
  Author: Ernesto Picardi
5
5
  Author-email: Adam Handen <adam.handen@gmail.com>
6
6
  Project-URL: homepage, https://github.com/BioinfoUNIBA/REDItools3
7
7
  Project-URL: repository, https://github.com/BioinfoUNIBA/REDItools3
8
8
  Project-URL: issues, https://github.com/BioinfoUNIBA/REDItools3/issues
9
9
  Keywords: bioinformatics,RNA,RNA-editing
10
- Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: Intended Audience :: Science/Research
13
13
  Classifier: License :: OSI Approved :: GNU General Public License (GPL)
@@ -1,13 +1,13 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: REDItools3
3
- Version: 3.2a0
3
+ Version: 3.3
4
4
  Author: Ernesto Picardi
5
5
  Author-email: Adam Handen <adam.handen@gmail.com>
6
6
  Project-URL: homepage, https://github.com/BioinfoUNIBA/REDItools3
7
7
  Project-URL: repository, https://github.com/BioinfoUNIBA/REDItools3
8
8
  Project-URL: issues, https://github.com/BioinfoUNIBA/REDItools3/issues
9
9
  Keywords: bioinformatics,RNA,RNA-editing
10
- Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: Intended Audience :: Science/Research
13
13
  Classifier: License :: OSI Approved :: GNU General Public License (GPL)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "REDItools3"
7
- version = "v3.2-alpha"
7
+ version = "v3.3"
8
8
  authors = [
9
9
  { name="Adam Handen", email="adam.handen@gmail.com" },
10
10
  { name="Ernesto Picardi" },
@@ -17,7 +17,7 @@ dependencies = [
17
17
  keywords = ["bioinformatics", "RNA", "RNA-editing"]
18
18
  requires-python = ">=3.7"
19
19
  classifiers = [
20
- "Development Status :: 3 - Alpha",
20
+ "Development Status :: 5 - Production/Stable",
21
21
  "Intended Audience :: Developers",
22
22
  "Intended Audience :: Science/Research",
23
23
  "License :: OSI Approved :: GNU General Public License (GPL)",
@@ -89,7 +89,8 @@ def setup_rtools(options): # noqa:WPS213,WPS231
89
89
  )
90
90
 
91
91
  if options.bed_file:
92
- rtools.load_target_positions(options.bed_file)
92
+ regions = file_utils.read_bed_file(options.bed_file)
93
+ rtools.target_positions = regions
93
94
  if options.exclude_regions:
94
95
  for fname in options.exclude_regions:
95
96
  regions = file_utils.read_bed_file(fname)
@@ -208,7 +209,7 @@ def run(options, in_queue, out_queue):
208
209
  except Exception as exc:
209
210
  if options.debug:
210
211
  traceback.print_exception(*sys.exc_info())
211
- sys.stderr.write(f'[ERROR] {exc}\n')
212
+ sys.stderr.write(f'[ERROR] ({type(exc)}) {exc}\n')
212
213
 
213
214
 
214
215
  def parse_options(): # noqa:WPS213
@@ -149,12 +149,14 @@ class RTChecks(object):
149
149
  Returns:
150
150
  (bool): True if there are sufficient edits
151
151
  """
152
- for num_edits in bases.get_min_edits():
153
- if 0 < num_edits < rtools.min_edits_per_nucleotide:
152
+ for base in "ATCG":
153
+ if base == bases.ref:
154
+ continue
155
+ if bases[base] < rtools.min_edits_per_nucleotide:
154
156
  rtools.log(
155
157
  Logger.debug_level,
156
158
  'DISCARDING COLUMN edits={} < {}',
157
- num_edits,
159
+ bases[base],
158
160
  rtools.min_edits_per_nucleotide,
159
161
  )
160
162
  return False
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes