public class GenomicRange extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
endChromosome |
int |
endPosition |
int |
endReferenceIndex |
String |
startChromosome |
int |
startPosition |
int |
startReferenceIndex |
| Constructor and Description |
|---|
GenomicRange() |
GenomicRange(int startReferenceIndex,
int startPosition,
int endReferenceIndex,
int endPosition) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fullyContains(String chromosome,
int segmentStart,
int segmentEnd)
Determine if the range fully contains a segment.
|
edu.cornell.med.icb.identifier.DoubleIndexedIdentifier |
getTargetIds() |
boolean |
positionIsBeforeStart(int referenceIndex,
int position)
Return true if and only if the specified position occurs before or at the start
of the slice.
|
boolean |
positionIsPastEnd(int referenceIndex,
int position)
Return true if and only if the specified position occurs strictly after the end
of the slice.
|
boolean |
positionIsStrictlyBeforeStart(int referenceIndex,
int position)
Return true if and only if the specified position occurs strictly before the start of the
slice.
|
void |
resolveChromosomeIndices(edu.cornell.med.icb.identifier.DoubleIndexedIdentifier referenceIds) |
void |
setTargetIds(edu.cornell.med.icb.identifier.IndexedIdentifier targetIdentifiers) |
boolean |
setTargetIds(String... inputFilenames)
Set target ids to translate chromosome into indices.
|
String |
toString() |
public int startReferenceIndex
public String startChromosome
public int startPosition
public int endReferenceIndex
public String endChromosome
public int endPosition
public GenomicRange()
public GenomicRange(int startReferenceIndex,
int startPosition,
int endReferenceIndex,
int endPosition)
public void resolveChromosomeIndices(edu.cornell.med.icb.identifier.DoubleIndexedIdentifier referenceIds)
public boolean fullyContains(String chromosome, int segmentStart, int segmentEnd)
chromosome - chromosome.segmentStart - zero-based position of the start of the segment on chromosome.segmentEnd - zero-based position of the end of the segment on chromosome.public boolean positionIsPastEnd(int referenceIndex,
int position)
referenceIndex - position - public boolean positionIsBeforeStart(int referenceIndex,
int position)
referenceIndex - position - public boolean positionIsStrictlyBeforeStart(int referenceIndex,
int position)
referenceIndex - position - public boolean setTargetIds(String... inputFilenames)
inputFilenames - list of alignment file names.public void setTargetIds(edu.cornell.med.icb.identifier.IndexedIdentifier targetIdentifiers)
public edu.cornell.med.icb.identifier.DoubleIndexedIdentifier getTargetIds()
Copyright © 2018 Campagne Laboratory. All rights reserved.