Class GenomeRegionList
- java.lang.Object
-
- de.charite.compbio.jannovar.progress.GenomeRegionList
-
public final class GenomeRegionList extends Object
A list ofGenomeRegion
objects- Author:
- Manuel Holtgrewe
-
-
Constructor Summary
Constructors Constructor Description GenomeRegionList(Iterable<GenomeRegion> regions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
GenomeRegion
getGenomeRegion(String name)
com.google.common.collect.ImmutableList<GenomeRegion>
getGenomeRegions()
com.google.common.collect.ImmutableMap<String,GenomeRegion>
getNameToRegion()
int
hashCode()
long
lengthUpTo(String contig, int pos)
void
setGenomeRegions(com.google.common.collect.ImmutableList<GenomeRegion> genomeRegions)
void
setNameToRegion(com.google.common.collect.ImmutableMap<String,GenomeRegion> nameToRegion)
String
toString()
long
totalLength()
-
-
-
Constructor Detail
-
GenomeRegionList
public GenomeRegionList(Iterable<GenomeRegion> regions)
-
-
Method Detail
-
lengthUpTo
public long lengthUpTo(String contig, int pos)
- Returns:
- Number of bases up to position (contig, pos).
-
totalLength
public long totalLength()
-
getGenomeRegion
public GenomeRegion getGenomeRegion(String name)
-
getGenomeRegions
public com.google.common.collect.ImmutableList<GenomeRegion> getGenomeRegions()
-
setGenomeRegions
public void setGenomeRegions(com.google.common.collect.ImmutableList<GenomeRegion> genomeRegions)
-
getNameToRegion
public com.google.common.collect.ImmutableMap<String,GenomeRegion> getNameToRegion()
-
setNameToRegion
public void setNameToRegion(com.google.common.collect.ImmutableMap<String,GenomeRegion> nameToRegion)
-
-