Class SimpleGermlineTagger
java.lang.Object
org.broadinstitute.hellbender.tools.copynumber.utils.germlinetagging.SimpleGermlineTagger
This utility class performs a simple tagging of germline segments in a tumor segments file.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<AnnotatedInterval>
tagTumorSegmentsWithGermlineActivity
(List<AnnotatedInterval> initialTumorSegments, List<AnnotatedInterval> initialNormalSegments, String callAnnotation, htsjdk.samtools.SAMSequenceDictionary dictionary, String outputAnnotationName, int paddingInBp, double reciprocalThreshold) Look for concordant endpoints for determining whether an event in the tumor regions are in the germline regions.
-
Method Details
-
tagTumorSegmentsWithGermlineActivity
public static List<AnnotatedInterval> tagTumorSegmentsWithGermlineActivity(List<AnnotatedInterval> initialTumorSegments, List<AnnotatedInterval> initialNormalSegments, String callAnnotation, htsjdk.samtools.SAMSequenceDictionary dictionary, String outputAnnotationName, int paddingInBp, double reciprocalThreshold) Look for concordant endpoints for determining whether an event in the tumor regions are in the germline regions. This method will not modify the input segments.- Parameters:
initialTumorSegments
- segment file from the tumor sample. Cannot contain intervals that overlap. Must have calls that are using the annotation from the parametercallAnnotation
. No calls can be the empty string. Nevernull
.initialNormalSegments
- segment file from the normal sample. Must have calls that are using the annotation from the parametercallAnnotation
. No calls can be the empty string. Cannot contain intervals that overlap. Nevernull
.callAnnotation
- the annotation name (e.g. "CALL") used in both the tumor and normal segment files. Nevernull
.dictionary
- sequence dictionary used to generate the segment files. Used for sorting. Nevernull
.outputAnnotationName
- annotation to append to the tumor segments. If you specify one that exists, it will overwrite. Cannot benull
nor empty string.paddingInBp
- The amount of slop to give (in bp) for matching segment endpoints. Must be >= 0reciprocalThreshold
- The reciprocal threshold between the normal and tumor segment that must match in order to match (whether or not matching breakpoints are found). Must be 0.0 to 1.0.- Returns:
- copy of the tumor segments (sorted) with the additional germline tag annotation (the name of which is outputAnnotationName).
-