Skip to content

Commit

Permalink
svlen insertions
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasrausch committed Mar 4, 2024
1 parent c371262 commit dd4fdfd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/compvcf.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ namespace sansa
// Insertion length
if (_isKeyPresent(hdr, "INSLEN")) {
if (bcf_get_info_int32(hdr, rec, "INSLEN", &inslen, &ninslen) > 0) inslenVal = *inslen;
} else if (svtVal == "INS") {
if (_isKeyPresent(hdr, "SVLEN")) {
if (bcf_get_info_int32(hdr, rec, "SVLEN", &inslen, &ninslen) > 0) inslenVal = *inslen;
}
}

// BNDs
Expand Down

0 comments on commit dd4fdfd

Please sign in to comment.