Skip to content

Commit 7a02ffa

Browse files
committed
fix: min_intron_length_ initialization in JunctionsExtractor
- fixes griffithlab#188, min_intron_length_ was accidentally set from min_anchor_len_
1 parent 17b6cf4 commit 7a02ffa

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

src/junctions/junctions_extractor.h

+17-2
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,23 @@ class JunctionsExtractor {
196196
region_ = ".";
197197
ref_ = "NA";
198198
}
199-
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) :
200-
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){
199+
JunctionsExtractor(
200+
string bam1,
201+
string region1,
202+
int strandness1,
203+
string strand_tag1,
204+
uint32_t min_anchor_length1,
205+
uint32_t min_intron_length1,
206+
uint32_t max_intron_length1,
207+
string ref1) :
208+
bam_(bam1),
209+
region_(region1),
210+
strandness_(strandness1),
211+
strand_tag_(strand_tag1),
212+
min_anchor_length_(min_anchor_length1),
213+
min_intron_length_(min_intron_length1),
214+
max_intron_length_(max_intron_length1),
215+
ref_(ref1) {
201216
junctions_sorted_ = false;
202217
output_file_ = "NA";
203218
output_barcodes_file_ = "NA";

0 commit comments

Comments
 (0)