

Classes | |
| class | GeneTree |
Public Member Functions | |
| TranscriptomeSpace (Map< String, Collection< Gene >> chrToGenesMap) | |
| TranscriptomeSpace (File bamFile, String genomeSeq) | |
| TranscriptomeSpace (File bamFile, Map< String, Collection< Gene >> chrToGenesMap, String genomeSeq) | |
| Collection<?extends Window > | getFragment (String chr, int start, int end) |
| Collection<?extends Window > | getFragment (Annotation annotation) |
| Collection<?extends Window > | getOverlappingRegion (String chr, int start, int end) |
| Iterator< Window > | getWindowIterator (Collection< Gene > baseGenes, int windowSize, int overlap) |
| Iterator< Window > | getWindowIterator (int windowSize, String chr, int start, int end, int overlap) |
| Iterator<?extends Window > | getWindowIterator (Annotation window, int windowSize, int overlap) |
| Iterator< Window > | getWindowIterator (String chr, int windowSize, int overlap) |
| Iterator< Window > | getWindowIterator (int windowSize, int overlap) |
| TreeMap< Integer, Double > | getPositionCountMap (Gene region, AlignmentModel data) throws IOException |
| long | getLength () |
| long | getLength (String chr) |
| Annotation | permuteAnnotation (Annotation a) |
| Annotation | permuteAnnotation (Annotation a, Annotation bounds) |
| Collection< String > | getReferenceNames () |
| Collection<?extends Annotation > | getReferenceAnnotations () |
| Annotation | getReferenceAnnotation (String name) |
| Annotation | getEntireChromosome (String chrName) |
| int | getSize (Annotation region) |
| boolean | hasChromosome (String chr) |
| Annotation | moveAnnotation (Annotation read, int relativeStart, Annotation gene) |
| Collection< String > | getChromosomeNames () |
| boolean | isValidWindow (Annotation a) |
Static Public Member Functions | |
| static TranscriptomeSpace | getTranscriptomeSpace (String bedFile) throws IOException |
Static Public Attributes | |
| static final int | PERMUTATION_ATTEMPTS = 10 |
| umms.core.coordinatesystem.TranscriptomeSpace.TranscriptomeSpace | ( | Map< String, Collection< Gene >> | chrToGenesMap | ) |

| umms.core.coordinatesystem.TranscriptomeSpace.TranscriptomeSpace | ( | File | bamFile, |
| String | genomeSeq | ||
| ) |
Builds a transcriptome space from a bam file directly This will collapse all reads into an assembly of transcripts
| bamFile | Alignment file |
| genomeSeq | A fasta file with the reference sequence |
| umms.core.coordinatesystem.TranscriptomeSpace.TranscriptomeSpace | ( | File | bamFile, |
| Map< String, Collection< Gene >> | chrToGenesMap, | ||
| String | genomeSeq | ||
| ) |
Builds a transcriptome space from a bam file plus a known annotation file
| bamFile | The reads to build the assembly from |
| chrToGenesMap | The known transcriptome to use |
| Collection<String> umms.core.coordinatesystem.TranscriptomeSpace.getChromosomeNames | ( | ) |
Implements umms.core.coordinatesystem.CoordinateSpace.
| Annotation umms.core.coordinatesystem.TranscriptomeSpace.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.TranscriptomeSpace.getFragment | ( | String | chr, |
| int | start, | ||
| int | end | ||
| ) |
Return a fragment between start and end on chr
Implements umms.core.coordinatesystem.CoordinateSpace.

| Collection<? extends Window> umms.core.coordinatesystem.TranscriptomeSpace.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.TranscriptomeSpace.getLength | ( | ) |
This will sum up the blocks ignoring the overlaps
Implements umms.core.coordinatesystem.CoordinateSpace.
| long umms.core.coordinatesystem.TranscriptomeSpace.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.TranscriptomeSpace.getOverlappingRegion | ( | String | chr, |
| int | start, | ||
| int | end | ||
| ) |
Returns an interval tree over the specified transcriptome region
Implements umms.core.coordinatesystem.CoordinateSpace.
| TreeMap<Integer,Double> umms.core.coordinatesystem.TranscriptomeSpace.getPositionCountMap | ( | Gene | region, |
| AlignmentModel | data | ||
| ) | throws IOException |
Get map of position to of position level counts in mature transcript
| region | The region |
| data | Alignment data |
| IOException |
| Annotation umms.core.coordinatesystem.TranscriptomeSpace.getReferenceAnnotation | ( | String | name | ) |
| name |
Implements umms.core.coordinatesystem.CoordinateSpace.
| Collection<? extends Annotation> umms.core.coordinatesystem.TranscriptomeSpace.getReferenceAnnotations | ( | ) |
Implements umms.core.coordinatesystem.CoordinateSpace.
| Collection<String> umms.core.coordinatesystem.TranscriptomeSpace.getReferenceNames | ( | ) |
Implements umms.core.coordinatesystem.CoordinateSpace.
| int umms.core.coordinatesystem.TranscriptomeSpace.getSize | ( | Annotation | region | ) |
Get the size of the annotation with respect to the coordinate space
| region |
Implements umms.core.coordinatesystem.CoordinateSpace.


|
static |

| Iterator<Window> umms.core.coordinatesystem.TranscriptomeSpace.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.
| Iterator<Window> umms.core.coordinatesystem.TranscriptomeSpace.getWindowIterator | ( | int | windowSize, |
| String | chr, | ||
| int | start, | ||
| int | end, | ||
| int | overlap | ||
| ) |
Iterate over windows within the defined region
| windowSize | |
| chr | |
| start | |
| end |
Implements umms.core.coordinatesystem.CoordinateSpace.
| Iterator<? extends Window> umms.core.coordinatesystem.TranscriptomeSpace.getWindowIterator | ( | Annotation | window, |
| int | windowSize, | ||
| int | overlap | ||
| ) |
Implements umms.core.coordinatesystem.CoordinateSpace.
| Iterator<Window> umms.core.coordinatesystem.TranscriptomeSpace.getWindowIterator | ( | String | chr, |
| int | windowSize, | ||
| int | overlap | ||
| ) |
Get a window iterator from start to finish on chromosome
Implements umms.core.coordinatesystem.CoordinateSpace.
| Iterator<Window> umms.core.coordinatesystem.TranscriptomeSpace.getWindowIterator | ( | int | windowSize, |
| int | overlap | ||
| ) |
Implements umms.core.coordinatesystem.CoordinateSpace.
| boolean umms.core.coordinatesystem.TranscriptomeSpace.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.TranscriptomeSpace.isValidWindow | ( | Annotation | window | ) |
Check if window in coordinate space and not masked
| window |
Implements umms.core.coordinatesystem.CoordinateSpace.

| Annotation umms.core.coordinatesystem.TranscriptomeSpace.moveAnnotation | ( | Annotation | read, |
| int | relativeStart, | ||
| Annotation | gene | ||
| ) |
Moves the annotation to a new start location using the coordinate space to decide on gaps
| read | the read to be moved |
| newStartLocation | the start location of the annotation (relative to the annotation start) |
| gene | the original transcript moving over |

| Annotation umms.core.coordinatesystem.TranscriptomeSpace.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.TranscriptomeSpace.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.
|
static |
1.8.7