Home
last modified time | relevance | path

Searched refs:refHaplotype (Results 1 – 15 of 15) sorted by relevance

/dports/biology/gatk/gatk-4.2.0.0/src/main/java/org/broadinstitute/hellbender/tools/walkers/haplotypecaller/readthreading/
H A DReadThreadingAssembler.java128 final Haplotype refHaplotype, in runLocalAssembly() argument
136 Utils.nonNull(refHaplotype, "Reference haplotype cannot be null."); in runLocalAssembly()
156 refHaplotype.setGenomeLocation(activeRegionExtendedLocation); in runLocalAssembly()
157 resultSet.add(refHaplotype); in runLocalAssembly()
198 sanityCheckGraph(result.getSeqGraph(), refHaplotype); in assembleKmerGraphsAndHaplotypeCall() local
338 refHaplotype.setScore(kBestHaplotype.score()); in findBestPaths()
391 returnHaplotypes.add(refHaplotype); in findBestPaths()
504 sanityCheckReferenceGraph(graph, refHaplotype); in sanityCheckGraph()
602 final Haplotype refHaplotype, in createGraph() argument
608 if ( refHaplotype.length() < kmerSize ) { in createGraph()
[all …]
H A DJunctionTreeLinkedDeBruijnGraph.java398 …oid postProcessForHaplotypeFinding(final File debugGraphOutputPath, final Locatable refHaplotype) { in postProcessForHaplotypeFinding() argument
402 …printGraph(new File(debugGraphOutputPath, refHaplotype + "-sequenceGraph." + kmerSize + ".0.4.JT_u… in postProcessForHaplotypeFinding()
406 …printGraph(new File(debugGraphOutputPath, refHaplotype + "-sequenceGraph." + kmerSize + ".0.5.JT_p… in postProcessForHaplotypeFinding()
H A DReadThreadingGraph.java197 …oid postProcessForHaplotypeFinding(final File debugGraphOutputPath, final Locatable refHaplotype) { in postProcessForHaplotypeFinding() argument
H A DAbstractReadThreadingGraph.java115 …ic abstract void postProcessForHaplotypeFinding(File debugGraphOutputPath, Locatable refHaplotype); in postProcessForHaplotypeFinding() argument
/dports/biology/gatk/gatk-4.2.0.0/src/test/java/org/broadinstitute/hellbender/tools/walkers/haplotypecaller/
H A DAssemblyBasedCallerUtilsUnitTest.java240 refHaplotype.setCigar(refCigar); in testAnnotateReadLikelihoodsWithSupportedAllelesDataProvider()
329 return refHaplotype; in applyVariant()
1259refHaplotype.setCigar(new Cigar(Collections.singletonList(new CigarElement(refHaplotype.length(), … in testAddGivenAlleles()
1260refHaplotype.setGenomeLocation(new SimpleInterval("chr", assemblyRegionStart, assemblyRegionStart … in testAddGivenAlleles()
1262 assemblyResultSet.add(refHaplotype); in testAddGivenAlleles()
1335refHaplotype.setCigar(new Cigar(Collections.singletonList(new CigarElement(refHaplotype.length(), … in testAddMultiallelicGivenAlleles()
1336refHaplotype.setGenomeLocation(new SimpleInterval("chr", assemblyRegionStart, assemblyRegionStart … in testAddMultiallelicGivenAlleles()
1338 assemblyResultSet.add(refHaplotype); in testAddMultiallelicGivenAlleles()
1362refHaplotype.setCigar(new Cigar(Collections.singletonList(new CigarElement(refHaplotype.length(), … in testGivenAllelesHugeInsertion()
1363refHaplotype.setGenomeLocation(new SimpleInterval("chr", assemblyRegionStart, assemblyRegionStart … in testGivenAllelesHugeInsertion()
[all …]
H A DReferenceConfidenceModelUnitTest.java595 …c AlleleLikelihoods<GATKRead, Haplotype> createDummyStratifiedReadMap(final Haplotype refHaplotype,
598 return new AlleleLikelihoods<>(samples, new IndexedAlleleList<>(refHaplotype),
/dports/biology/gatk/gatk-4.2.0.0/src/test/java/org/broadinstitute/hellbender/tools/walkers/haplotypecaller/readthreading/
H A DReadThreadingAssemblerUnitTest.java120 final Haplotype refHaplotype = new Haplotype(refBases, true); in testAssembleRef() local
122 Assert.assertEquals(haplotypes, Collections.singletonList(refHaplotype)); in testAssembleRef()
173 final Haplotype refHaplotype = new Haplotype(refBases, true); in testAssemblyWithVariant() local
176 Assert.assertEquals(haplotypes, Arrays.asList(refHaplotype, altHaplotype)); in testAssemblyWithVariant()
181 final Haplotype refHaplotype = new Haplotype(refBases, true); in assemble() local
183 c.add(new CigarElement(refHaplotype.getBases().length, CigarOperator.M)); in assemble()
184 refHaplotype.setCigar(c); in assemble()
234 final Haplotype refHaplotype = new Haplotype(refBases, true); in testSimpleAssembly() local
238 Assert.assertEquals(haplotypes.get(0), refHaplotype); in testSimpleAssembly()
248 Haplotype refHaplotype; field in ReadThreadingAssemblerUnitTest.TestAssembler
[all …]
/dports/biology/gatk/gatk-4.2.0.0/src/main/java/org/broadinstitute/hellbender/tools/walkers/haplotypecaller/
H A DReferenceConfidenceModel.java142 public List<VariantContext> calculateRefConfidence(final Haplotype refHaplotype, in calculateRefConfidence() argument
174 public List<VariantContext> calculateRefConfidence(final Haplotype refHaplotype, in calculateRefConfidence() argument
183 Utils.nonNull(refHaplotype, "refHaplotype cannot be null"); in calculateRefConfidence()
185 …Utils.validateArg(calledHaplotypes.contains(refHaplotype), "calledHaplotypes must contain the refH… in calculateRefConfidence()
190 …Utils.validateArg( refHaplotype.length() == activeRegion.getPaddedSpan().size(), () -> "refHaploty… in calculateRefConfidence()
196 final byte[] ref = refHaplotype.getBases(); in calculateRefConfidence()
760 final Haplotype refHaplotype = new Haplotype(refBases, true); in createReferenceHaplotype() local
761 refHaplotype.setAlignmentStartHapwrtRef(alignmentStart); in createReferenceHaplotype()
763 c.add(new CigarElement(refHaplotype.getBases().length, CigarOperator.M)); in createReferenceHaplotype()
764 refHaplotype.setCigar(c); in createReferenceHaplotype()
[all …]
H A DAssemblyResultSet.java44 private Haplotype refHaplotype; field in AssemblyResultSet
75 if (refHaplotype == null) { in trimTo()
98 if (result.refHaplotype == null) { in trimTo()
170 return refHaplotype; in getReferenceHaplotype()
482 if (refHaplotype == null) { in updateReferenceHaplotype()
483 refHaplotype = newHaplotype; in updateReferenceHaplotype()
H A DAssemblyBasedCallerUtils.java96 …lihoods<GATKRead, Haplotype> originalReadLikelihoods, final Haplotype refHaplotype, final Locatabl… in realignReadsToTheirBestHaplotype() argument
104 … = AlignmentUtils.createReadAlignedToRef(originalRead, bestHaplotype, refHaplotype, paddedReferenc… in realignReadsToTheirBestHaplotype()
277 …final Haplotype refHaplotype = createReferenceHaplotype(region, paddedReferenceLoc, referenceReade…
289 …ResultSet assemblyResultSet = assemblyEngine.runLocalAssembly(region, refHaplotype, fullReferenceW…
292 …getStart(), givenAlleles, argumentCollection.maxMnpDistance, aligner, refHaplotype, assemblyResult…
313 …final SmithWatermanAligner aligner, final Haplotype refHaplotype, final AssemblyResultSet assembly…
314 final int activeRegionStart = refHaplotype.getAlignmentStartHapwrtRef();
355 …final Cigar cigar = CigarUtils.calculateCigar(refHaplotype.getBases(), insertedHaplotype.getBases(…
357 insertedHaplotype.setGenomeLocation(refHaplotype.getGenomeLocation());
436 …c AlleleLikelihoods<GATKRead, Haplotype> createDummyStratifiedReadMap(final Haplotype refHaplotype, in createDummyStratifiedReadMap() argument
[all …]
H A DHaplotypeCallerEngine.java758 …final Haplotype refHaplotype = AssemblyBasedCallerUtils.createReferenceHaplotype(region, paddedLoc… in referenceModelForNoVariation() local
759 final List<Haplotype> haplotypes = Collections.singletonList(refHaplotype); in referenceModelForNoVariation()
760 return referenceConfidenceModel.calculateRefConfidence(refHaplotype, haplotypes, in referenceModelForNoVariation()
761 …dedLoc, region, AssemblyBasedCallerUtils.createDummyStratifiedReadMap(refHaplotype, samplesList, r… in referenceModelForNoVariation()
/dports/biology/gatk/gatk-4.2.0.0/src/test/java/org/broadinstitute/hellbender/tools/spark/sv/utils/
H A DSVContextUnitTest.java111 … final Haplotype refHaplotype = svc.composeHaplotypeBasedOnReference(0, paddingSize, reference); in testComposeReferenceHaplotype() local
112 Assert.assertNotNull(refHaplotype); in testComposeReferenceHaplotype()
113 Assert.assertTrue(refHaplotype.isReference()); in testComposeReferenceHaplotype()
115 …Assert.assertEquals(new SimpleInterval(refHaplotype.getGenomeLocation()), expectedInterval, svc.ge… in testComposeReferenceHaplotype()
116 …Assert.assertEquals(refHaplotype.getBases(), reference.getReferenceBases(expectedInterval).getBase… in testComposeReferenceHaplotype()
117 …Assert.assertEquals(refHaplotype.getCigar(), new Cigar(Collections.singletonList(new CigarElement(… in testComposeReferenceHaplotype()
/dports/biology/gatk/gatk-4.2.0.0/src/main/java/org/broadinstitute/hellbender/tools/walkers/mutect/
H A DMutect2Engine.java457 …final Haplotype refHaplotype = AssemblyBasedCallerUtils.createReferenceHaplotype(region, paddedLoc…
458 final List<Haplotype> haplotypes = Collections.singletonList(refHaplotype);
459 return referenceConfidenceModel.calculateRefConfidence(refHaplotype, haplotypes,
460 …dedLoc, region, AssemblyBasedCallerUtils.createDummyStratifiedReadMap(refHaplotype, samplesList, h…
/dports/biology/gatk/gatk-4.2.0.0/src/main/java/org/broadinstitute/hellbender/utils/read/
H A DAlignmentUtils.java52 final Haplotype refHaplotype, in createReadAlignedToRef() argument
58 Utils.nonNull(refHaplotype); in createReadAlignedToRef()
106 …ult leftAlignedReadToRefCigarResult = leftAlignIndels(readToRefCigar, refHaplotype.getBases(), rea… in createReadAlignedToRef()
/dports/biology/gatk/gatk-4.2.0.0/src/test/java/org/broadinstitute/hellbender/utils/read/
H A DAlignmentUtilsUnitTest.java202 …ToRef(final GATKRead read, final Haplotype haplotype, final Haplotype refHaplotype, final int refS… in testReadAlignedToRef() argument
206 …Assert.assertNull(AlignmentUtils.createReadAlignedToRef(read, haplotype, refHaplotype, refStart, t… in testReadAlignedToRef()
210 … alignedRead = AlignmentUtils.createReadAlignedToRef(read, haplotype, refHaplotype, refStart, true… in testReadAlignedToRef()