

Public Member Functions | |
| TranscriptInGenomicSpace (Map< String, Integer > chromosomeSizes) | |
| TranscriptInGenomicSpace (String chromosomeSizes) | |
| TranscriptInGenomicSpace (String chromosomeSizes, String maskedRegionFile) | |
| TranscriptInGenomicSpace (Map< String, Integer > chromosomeSizes, String maskedRegionFile) | |
| TranscriptInGenomicSpace (String chromosomeSizes, String maskedRegionFile, double pctMaskedAllowed) | |
| void | setPercentMaskedAllowed (double pct) |
| Collection<?extends Window > | getOverlappingRegion (String chr, int start, int end) |
| Iterator< Window > | getWindowIterator (int windowSize, String chr, int start, int end, int overlap) |
| Iterator< Window > | getWindowIterator (int windowSize, String chr, int start, int end, int overlap, boolean backward) |
| Iterator<?extends Window > | getWindowIterator (Annotation window, int windowSize, int overlap) |
| Iterator<?extends Window > | getWindowIterator (Annotation window, int windowSize, int overlap, boolean considerStrand) |
| Iterator< Window > | getWindowIterator (String chr, int windowSize, int overlap) |
| Iterator< Window > | getWindowIterator (int windowSize, int overlap) |
| boolean | isValidWindow (Annotation window) |
| boolean | containsDataFor (String chromosome) |
| long | getLength () |
| long | getLength (String chr) |
| long | getUnmaskedLength (String chr) |
| Annotation | permuteAnnotation (Annotation a) |
| boolean | hasChromosome (String chr) |
| Annotation | permuteAnnotation (Annotation a, Annotation bounds) |
| final Collection< String > | getReferenceNames () |
| final Collection<?extends Annotation > | getReferenceAnnotations () |
| Annotation | getEntireChromosome (String chrName) |
| Annotation | getReferenceAnnotation (String name) |
| Iterator< Window > | getWindowIterator (Collection< Gene > baseGenes, int windowSize, int overlap) |
| Collection<?extends Window > | getFragment (String chr, int start, int end) |
| Collection<?extends Window > | getFragment (Annotation annotation) |
| int | getSize (Annotation region) |
| Collection< String > | getChromosomeNames () |
Static Public Member Functions | |
| static void | setSeed (long seed) |
Static Public Attributes | |
| static final int | PERMUTATION_ATTEMPTS = 10 |
| umms.core.coordinatesystem.TranscriptInGenomicSpace.TranscriptInGenomicSpace | ( | Map< String, Integer > | chromosomeSizes | ) |
| chromosomeSizes |
| umms.core.coordinatesystem.TranscriptInGenomicSpace.TranscriptInGenomicSpace | ( | String | chromosomeSizes | ) |
Chromosome name and accompanying sizes
| chromosomeSizes |
| umms.core.coordinatesystem.TranscriptInGenomicSpace.TranscriptInGenomicSpace | ( | String | chromosomeSizes, |
| String | maskedRegionFile | ||
| ) |
| umms.core.coordinatesystem.TranscriptInGenomicSpace.TranscriptInGenomicSpace | ( | Map< String, Integer > | chromosomeSizes, |
| String | maskedRegionFile | ||
| ) |
| umms.core.coordinatesystem.TranscriptInGenomicSpace.TranscriptInGenomicSpace | ( | String | chromosomeSizes, |
| String | maskedRegionFile, | ||
| double | pctMaskedAllowed | ||
| ) |

| boolean umms.core.coordinatesystem.TranscriptInGenomicSpace.containsDataFor | ( | String | chromosome | ) |
Returns true if this coordinate space contains data for the specified chromosome
| Collection<String> umms.core.coordinatesystem.TranscriptInGenomicSpace.getChromosomeNames | ( | ) |
Implements umms.core.coordinatesystem.CoordinateSpace.

| Annotation umms.core.coordinatesystem.TranscriptInGenomicSpace.getEntireChromosome | ( | String | chrName | ) |
Get an annotation spanning an entire chromosome
| chrName | The chromosome name |
Implements umms.core.coordinatesystem.CoordinateSpace.
| Collection<? extends Window> umms.core.coordinatesystem.TranscriptInGenomicSpace.getFragment | ( | String | chr, |
| int | start, | ||
| int | end | ||
| ) |
Returns a fragment of type Window between start and end on chromosome
Implements umms.core.coordinatesystem.CoordinateSpace.

| Collection<? extends Window> umms.core.coordinatesystem.TranscriptInGenomicSpace.getFragment | ( | Annotation | annotation | ) |
Returns a fragment of type Window between start and end on chromosome
| Annotation |
Implements umms.core.coordinatesystem.CoordinateSpace.

| long umms.core.coordinatesystem.TranscriptInGenomicSpace.getLength | ( | ) |
Returns the total number of positions in the coordinate space For non-contiguous coordinate spaces, this will return a collapsed count such that overlapping blocks are not double counted
Implements umms.core.coordinatesystem.CoordinateSpace.

| long umms.core.coordinatesystem.TranscriptInGenomicSpace.getLength | ( | String | chr | ) |
Returns the total number of positions in the coordinate space For non-contiguous coordinate spaces, this will return a collapsed count such that overlapping blocks are not double counted
| only | positions on a given chromosome |
Implements umms.core.coordinatesystem.CoordinateSpace.
| Collection<? extends Window> umms.core.coordinatesystem.TranscriptInGenomicSpace.getOverlappingRegion | ( | String | chr, |
| int | start, | ||
| int | end | ||
| ) |
Returns an interval tree over the genomic region
Implements umms.core.coordinatesystem.CoordinateSpace.

| Annotation umms.core.coordinatesystem.TranscriptInGenomicSpace.getReferenceAnnotation | ( | String | name | ) |
| name |
Implements umms.core.coordinatesystem.CoordinateSpace.


| final Collection<? extends Annotation> umms.core.coordinatesystem.TranscriptInGenomicSpace.getReferenceAnnotations | ( | ) |
Implements umms.core.coordinatesystem.CoordinateSpace.

| final Collection<String> umms.core.coordinatesystem.TranscriptInGenomicSpace.getReferenceNames | ( | ) |
Implements umms.core.coordinatesystem.CoordinateSpace.

| int umms.core.coordinatesystem.TranscriptInGenomicSpace.getSize | ( | Annotation | region | ) |
Get the size of the annotation with respect to the coordinate space
| region |
Implements umms.core.coordinatesystem.CoordinateSpace.

| long umms.core.coordinatesystem.TranscriptInGenomicSpace.getUnmaskedLength | ( | String | chr | ) |

| Iterator<Window> umms.core.coordinatesystem.TranscriptInGenomicSpace.getWindowIterator | ( | int | windowSize, |
| String | chr, | ||
| int | start, | ||
| int | end, | ||
| int | overlap | ||
| ) |
Returns an iterator on chromosome chr starting at start, ending at end, of size, windowSize with overlap between consecutive windows
Implements umms.core.coordinatesystem.CoordinateSpace.

| Iterator<Window> umms.core.coordinatesystem.TranscriptInGenomicSpace.getWindowIterator | ( | int | windowSize, |
| String | chr, | ||
| int | start, | ||
| int | end, | ||
| int | overlap, | ||
| boolean | backward | ||
| ) |
| Iterator<? extends Window> umms.core.coordinatesystem.TranscriptInGenomicSpace.getWindowIterator | ( | Annotation | window, |
| int | windowSize, | ||
| int | overlap | ||
| ) |
Implements umms.core.coordinatesystem.CoordinateSpace.

| Iterator<? extends Window> umms.core.coordinatesystem.TranscriptInGenomicSpace.getWindowIterator | ( | Annotation | window, |
| int | windowSize, | ||
| int | overlap, | ||
| boolean | considerStrand | ||
| ) |

| Iterator<Window> umms.core.coordinatesystem.TranscriptInGenomicSpace.getWindowIterator | ( | String | chr, |
| int | windowSize, | ||
| int | overlap | ||
| ) |
Get a window iterator from start to finish on chromosome chr
Implements umms.core.coordinatesystem.CoordinateSpace.

| Iterator<Window> umms.core.coordinatesystem.TranscriptInGenomicSpace.getWindowIterator | ( | int | windowSize, |
| int | overlap | ||
| ) |
Get a window iterator from start to finish in the entire space
Implements umms.core.coordinatesystem.CoordinateSpace.
| Iterator<Window> umms.core.coordinatesystem.TranscriptInGenomicSpace.getWindowIterator | ( | Collection< Gene > | baseGenes, |
| int | windowSize, | ||
| int | overlap | ||
| ) |
Get a window iterator over a collection of GeneWindows
| baseGenes | The regions over which to iterate |
| windowSize | Window size |
| overlap | Overlap size |
Implements umms.core.coordinatesystem.CoordinateSpace.
| boolean umms.core.coordinatesystem.TranscriptInGenomicSpace.hasChromosome | ( | String | chr | ) |
Returns true if the coordinate space contains any annotations on the queried chromosome
| chr |
Implements umms.core.coordinatesystem.CoordinateSpace.
| boolean umms.core.coordinatesystem.TranscriptInGenomicSpace.isValidWindow | ( | Annotation | window | ) |
Check if window in coordinate space and not masked
| window |
Implements umms.core.coordinatesystem.CoordinateSpace.

| Annotation umms.core.coordinatesystem.TranscriptInGenomicSpace.permuteAnnotation | ( | Annotation | a | ) |
Permutes an annotation to a new location on the same reference in the given coordinate space, preserving the length of the annotation and maintaining a consistent block structure. Does not check whether the given annotation was valid in the coordinate space in the first place.
| a | Annotation to permute. Will be modified. |
| PermutationNotFoundException | if an annotation cannot be found |
Implements umms.core.coordinatesystem.CoordinateSpace.

| Annotation umms.core.coordinatesystem.TranscriptInGenomicSpace.permuteAnnotation | ( | Annotation | a, |
| Annotation | bounds | ||
| ) |
Permutes an annotation to a new location within the given bounds, preserving the length of the annotation and maintaining a consistent block structure. Does not check whether the given annotation was valid in the coordinate space in the first place.
| a | Annotation to permute. Will be modified. |
| bounds | Boundaries within which the annotation will be permuted |
| PermutationNotFoundException | if a permuted location cannot be found |
Implements umms.core.coordinatesystem.CoordinateSpace.

| void umms.core.coordinatesystem.TranscriptInGenomicSpace.setPercentMaskedAllowed | ( | double | pct | ) |

|
static |
Set the seed for the random generator (used for permuting regions).
|
static |
1.8.7