Skip to content

Commit

Permalink
Concatenated overlapping cnv tasks into one
Browse files Browse the repository at this point in the history
  • Loading branch information
kjaisingh committed Jan 17, 2025
1 parent 8fbd27e commit a40b193
Show file tree
Hide file tree
Showing 2 changed files with 523 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ private void processRevisedEvent(final VariantContextBuilder builder, final Vari
if (newVal != -1) {
final GenotypeBuilder gb = new GenotypeBuilder(oldGenotype);
gb.alleles(Arrays.asList(variant.getReference(), variant.getAlternateAllele(0)));
// if (!oldGenotype.hasExtendedAttribute(GATKSVVCFConstants.RD_CN)) continue;
if (!oldGenotype.hasExtendedAttribute(GATKSVVCFConstants.RD_CN)) continue;

final int rdCn = Integer.parseInt(oldGenotype.getExtendedAttribute(GATKSVVCFConstants.RD_CN).toString());
gb.GQ(rdCn);
Expand Down
Loading

0 comments on commit a40b193

Please sign in to comment.