Skip to content

Commit 08042ef

Browse files
committed
actually use the option
1 parent 0438499 commit 08042ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/junctions/junctions_extractor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ void JunctionsExtractor::print_all_junctions(ostream& out) {
229229

230230
//Get the strand from the XS aux tag
231231
void JunctionsExtractor::set_junction_strand_XS(bam1_t *aln, Junction& j1) {
232-
uint8_t *p = bam_aux_get(aln, "XS");
232+
uint8_t *p = bam_aux_get(aln, strand_tag_.c_str());
233233
if(p != NULL) {
234234
char strand = bam_aux2A(p);
235235
strand ? j1.strand = string(1, strand) : j1.strand = string(1, '?');

0 commit comments

Comments
 (0)