Skip to content

Commit

Permalink
fix: min_intron_length_ initialization in JunctionsExtractor
Browse files Browse the repository at this point in the history
 - fixes #188, min_intron_length_ was accidentally set from min_anchor_len_
  • Loading branch information
TimD1 committed Sep 19, 2024
1 parent 435e8b8 commit 1260bf9
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions src/junctions/junctions_extractor.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,23 @@ class JunctionsExtractor {
region_ = ".";
ref_ = "NA";
}
JunctionsExtractor(string bam1, string region1, int strandness1, string strand_tag1, uint32_t min_anchor_length1, uint32_t min_intron_length1, uint32_t max_intron_length1, string ref1) :
bam_(bam1), region_(region1), strandness_(strandness1), strand_tag_(strand_tag1), min_anchor_length_(min_anchor_length1), min_intron_length_(min_anchor_length1), max_intron_length_(max_intron_length1), ref_(ref1){
JunctionsExtractor(
string bam1,
string region1,
int strandness1,
string strand_tag1,
uint32_t min_anchor_length1,
uint32_t min_intron_length1,
uint32_t max_intron_length1,
string ref1) :
bam_(bam1),
region_(region1),
strandness_(strandness1),
strand_tag_(strand_tag1),
min_anchor_length_(min_anchor_length1),
min_intron_length_(min_intron_length1),
max_intron_length_(max_intron_length1),
ref_(ref1) {
junctions_sorted_ = false;
output_file_ = "NA";
output_barcodes_file_ = "NA";
Expand Down

0 comments on commit 1260bf9

Please sign in to comment.