Skip to content

Commit

Permalink
fix exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasrausch committed Oct 6, 2024
1 parent ec3661c commit d1e5bd5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/junction.h
Original file line number Diff line number Diff line change
Expand Up @@ -506,12 +506,14 @@ namespace torali

TSvtSRBamRecord altSR(2 * DELLY_SVT_TRANS, TSRBamRecord());
TConfig altConfig(c);
altConfig.hasExcludeFile = false;
altConfig.exclude.clear();
altConfig.genome = genome[i];
altConfig.files.clear();
altConfig.files.push_back(align[i]);
if (isBamCram(align[i].string())) {
// Alternate alignment in BAM/CRAM format
samFile* samfile = sam_open(c.files[0].string().c_str(), "r");
samFile* samfile = sam_open(altConfig.files[0].string().c_str(), "r");
bam_hdr_t* hdr = sam_hdr_read(samfile);
TValidRegions vR;
_parseExcludeIntervals(altConfig, hdr, vR);
Expand Down

0 comments on commit d1e5bd5

Please sign in to comment.