Skip to content

Commit

Permalink
filter_reads_by_softclip bugfixes
Browse files Browse the repository at this point in the history
bugfix - do not treat quality-filtered gaps as splice junctions
  • Loading branch information
maschon0 committed Sep 25, 2023
1 parent 8cd3b8a commit cd192ad
Show file tree
Hide file tree
Showing 14 changed files with 6,870 additions and 5,647 deletions.
6 changes: 3 additions & 3 deletions bookend/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '1.2.0'
__updated__ = '09.19.2023'
__date__ = '09.19.2023'
__version__ = '1.2.1'
__updated__ = '09.25.2023'
__date__ = '09.25.2023'
4 changes: 3 additions & 1 deletion bookend/core/bam_to_elr.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,11 @@ def __init__(self, args):
if self.data_type.upper() in ['ONT','NANOPORE','OXFORD']:
"""Reads are from Oxford Nanopore cDNA or PCR-cDNA kits, trimmed and oriented by bookend label or pychopper."""
self.config_dict['stranded'] = True
self.config_dict['s_tag'] = True
self.config_dict['e_tag'] = True
self.config_dict['max_headclip'] = 10
self.config_dict['quality_filter'] = False
self.config_dict['error_rate'] = 0.4
self.config_dict['error_rate'] = 0.2
self.config_dict['remove_noncanonical'] = True
self.config_dict['remove_gapped_termini'] = True
if self.untrimmed:
Expand Down
12,366 changes: 6,769 additions & 5,597 deletions bookend/core/cython_utils/_rnaseq_utils.c

Large diffs are not rendered by default.

125 changes: 85 additions & 40 deletions bookend/core/cython_utils/_rnaseq_utils.pyx

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions bookend/core/gtf_to_bed.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def __init__(self, args):
gtf_config=gtf_defaults,
gff_config=gff_defaults
)
# print(gff_defaults)
self.dataset.source_array = [self.source]
self.generator = self.dataset.generator
self.locus_counter = 0
Expand Down
2 changes: 1 addition & 1 deletion bookend_rna.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: bookend-rna
Version: 1.2.0
Version: 1.2.1
Summary: End-guided transcript assembler for short and long RNA-seq reads.
Home-page: https://github.com/Gregor-Mendel-Institute/bookend
Author: Michael A. Schon
Expand Down
6 changes: 3 additions & 3 deletions build/lib.linux-x86_64-3.7/bookend/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '1.2.0'
__updated__ = '09.19.2023'
__date__ = '09.19.2023'
__version__ = '1.2.1'
__updated__ = '09.25.2023'
__date__ = '09.25.2023'
4 changes: 3 additions & 1 deletion build/lib.linux-x86_64-3.7/bookend/core/bam_to_elr.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,11 @@ def __init__(self, args):
if self.data_type.upper() in ['ONT','NANOPORE','OXFORD']:
"""Reads are from Oxford Nanopore cDNA or PCR-cDNA kits, trimmed and oriented by bookend label or pychopper."""
self.config_dict['stranded'] = True
self.config_dict['s_tag'] = True
self.config_dict['e_tag'] = True
self.config_dict['max_headclip'] = 10
self.config_dict['quality_filter'] = False
self.config_dict['error_rate'] = 0.4
self.config_dict['error_rate'] = 0.2
self.config_dict['remove_noncanonical'] = True
self.config_dict['remove_gapped_termini'] = True
if self.untrimmed:
Expand Down
Binary file not shown.
1 change: 1 addition & 0 deletions build/lib.linux-x86_64-3.7/bookend/core/gtf_to_bed.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def __init__(self, args):
gtf_config=gtf_defaults,
gff_config=gff_defaults
)
# print(gff_defaults)
self.dataset.source_array = [self.source]
self.generator = self.dataset.generator
self.locus_counter = 0
Expand Down
Binary file not shown.
Binary file modified dist/bookend_rna-1.2.0-py3.7-linux-x86_64.egg
Binary file not shown.
Binary file added dist/bookend_rna-1.2.1-py3.7-linux-x86_64.egg
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def run(self):

setup(
name="bookend_rna", # Replace with your own username
version="1.2.0",
version="1.2.1",
author="Michael A. Schon",
author_email="[email protected]",
description="End-guided transcript assembler for short and long RNA-seq reads.",
Expand Down

0 comments on commit cd192ad

Please sign in to comment.