public class GenomicBoundary<V> extends Object implements Comparable<GenomicBoundary>
| Constructor and Description |
|---|
GenomicBoundary(String chromosome,
Integer start,
int stop) |
GenomicBoundary(String chromosome,
Integer start,
int stop,
V annotation) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(GenomicBoundary other) |
V |
getAnnotation() |
String |
getChromosome() |
int |
getLength(boolean isInclusive) |
Integer |
getStart() |
int |
getStop() |
boolean |
isInBoundarie(int position)
Assumes that chromosome is correct
|
boolean |
isInBoundarie(int position,
int margin)
Assumes that chromosome is correct
|
boolean |
isOverlaping(GenomicBoundary other) |
boolean |
isPartOfBoundary(GenomicBoundary other)
Is this boundary a sub boundary of the other boundary.
|
public String getChromosome()
public Integer getStart()
public int getStop()
public int compareTo(GenomicBoundary other)
compareTo in interface Comparable<GenomicBoundary>public boolean isInBoundarie(int position)
position - public boolean isInBoundarie(int position,
int margin)
position - margin - public boolean isPartOfBoundary(GenomicBoundary other)
other - public boolean isOverlaping(GenomicBoundary other)
public V getAnnotation()
public int getLength(boolean isInclusive)
Copyright © 2015. All Rights Reserved.