public class BreakpointEvidence
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BreakpointEvidence.DiscordantReadPairEvidence |
static class |
BreakpointEvidence.ExternalEvidence |
static class |
BreakpointEvidence.InterContigPair |
static class |
BreakpointEvidence.LargeIndel |
static class |
BreakpointEvidence.MateUnmapped |
static class |
BreakpointEvidence.OutiesPair |
static class |
BreakpointEvidence.ReadEvidence |
static class |
BreakpointEvidence.SameStrandPair |
static class |
BreakpointEvidence.Serializer |
static class |
BreakpointEvidence.SplitRead |
static class |
BreakpointEvidence.TemplateSizeAnomaly |
static class |
BreakpointEvidence.WeirdTemplateSize |
Modifier | Constructor and Description |
---|---|
protected |
BreakpointEvidence(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input) |
|
BreakpointEvidence(SVInterval location,
int weight,
boolean validated) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<StrandedInterval> |
getDistalTargets(ReadMetadata readMetadata,
int minEvidenceMapq)
Returns the distal interval implicated as a candidate adjacency to the breakpoint by this piece of evidence.
|
SVInterval |
getLocation() |
int |
getWeight() |
boolean |
hasDistalTargets(ReadMetadata readMetadata,
int minEvidenceMapQ)
Returns true if this piece of evidence specifies a possible distal target for the breakpoint.
|
int |
hashCode() |
java.lang.Boolean |
isEvidenceUpstreamOfBreakpoint()
If true: the evidence suggests a breakpoint at a reference location upstream of the interval's start coordinate
If false: the evidence suggests a breakpoint downstream of the interval's end coordinate
|
boolean |
isValidated() |
protected void |
serialize(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output) |
void |
setValidated(boolean validated) |
java.lang.String |
stringRep(ReadMetadata readMetadata,
int minEvidenceMapq)
Returns string representation of BreakpointEvidence in tab-separated form:
Contig[begin:end] weight validated EvidenceType distal_targets
distal_targets is a (; separated) list of string representations (.toString()) for each distal target
it is empty if there are no distal targets
Child classes may extend stringRep() by appending class-specific tab-separated info
|
java.lang.String |
toString() |
public BreakpointEvidence(SVInterval location, int weight, boolean validated)
protected BreakpointEvidence(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input)
public SVInterval getLocation()
public int getWeight()
public boolean isValidated()
public void setValidated(boolean validated)
public java.lang.Boolean isEvidenceUpstreamOfBreakpoint()
public boolean hasDistalTargets(ReadMetadata readMetadata, int minEvidenceMapQ)
readMetadata
- Read metadata for the libraryminEvidenceMapQ
- The minimum mapping quality threshold (inclusive) for which a target (mate or SA mapping) should be createdpublic java.util.List<StrandedInterval> getDistalTargets(ReadMetadata readMetadata, int minEvidenceMapq)
minEvidenceMapq
- The minimum mapping quality (inclusive) of the target evidence; if the mapping quality is below
this value the evidence is treated as not having a distal targetpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String stringRep(ReadMetadata readMetadata, int minEvidenceMapq)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
protected void serialize(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output)