Skip to content

Commit f0340f3

Browse files
committed
strip phase block
1 parent 212f1ab commit f0340f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/deconstructor.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,6 +1600,10 @@ static string resolve_path_name(const PathPositionHandleGraph* graph,
16001600
subrange.first += out_start;
16011601
subrange.second = subrange.first + (out_end - out_start);
16021602
}
1603+
if (phase_block == 0) {
1604+
phase_block = PathMetadata::NO_PHASE_BLOCK;
1605+
sense = PathSense::REFERENCE;
1606+
}
16031607
path_name = PathMetadata::create_path_name(sense, sample, locus, haplotype, phase_block, subrange);
16041608

16051609
return path_name;

0 commit comments

Comments
 (0)