

Classes | |
| class | AlignmentCount |
| class | FilteredIterator |
| class | NodeIterator |
| class | WrapAlignmentCountIterator |
Public Member Functions | |
| AlignmentModel (String bamFile, CoordinateSpace coordinateSpace, Collection< Predicate< Alignment >> readFilters, boolean readOrCreatePairedEndBam) | |
| AlignmentModel () | |
| AlignmentModel (String bamFile, CoordinateSpace coordinateSpace, Collection< Predicate< Alignment >> readFilters, boolean readOrCreatePairedEndBam, TranscriptionRead transcriptionRead) | |
| AlignmentModel (String bamFile, CoordinateSpace coordinateSpace, Collection< Predicate< Alignment >> readFilters, boolean readOrCreatePairedEndBam, TranscriptionRead transcriptionRead, boolean fragment) | |
| AlignmentModel (String bamFile, CoordinateSpace coordinateSpace, Collection< Predicate< Alignment >> readFilters, boolean readOrCreatePairedEndBam, TranscriptionRead transcriptionRead, String maskedRegionFile) | |
| AlignmentModel (String bamFile, CoordinateSpace coordinateSpace, Collection< Predicate< Alignment >> readFilters, boolean readOrCreatePairedEndBam, TranscriptionRead transcriptionRead, boolean fragment, String maskedRegionFile) | |
| AlignmentModel (String bamFile, CoordinateSpace coordinateSpace, Collection< Predicate< Alignment >> readFilters) | |
| AlignmentModel (String bamFile, CoordinateSpace coordinateSpace, Collection< Predicate< Alignment >> readFilters, TranscriptionRead transcriptionRead) | |
| AlignmentModel (String bamFile, CoordinateSpace coordinateSpace, boolean readOrCreatePairedEndBam) | |
| AlignmentModel (String bamFile, CoordinateSpace coordinateSpace, boolean readOrCreatePairedEndBam, TranscriptionRead transcriptionRead) | |
| AlignmentModel (String bamFile, CoordinateSpace coordinateSpace) | |
| AlignmentModel (String bamFile, CoordinateSpace coordinateSpace, TranscriptionRead transcriptionRead) | |
| void | computeGlobalStats () |
| CloseableIterator< Alignment > | getReadIterator () |
| CloseableIterator< Alignment > | getReadIterator (Annotation region) |
| List< Double > | getPositionCountList (Gene gene) throws IOException |
| double | getRefSequenceCounts (String refName) |
| double | getCount (Annotation window, boolean fullyContained) |
| double | getCount () |
| double | getCount (CloseableIterator< AlignmentCount > iter) |
| double | getGlobalLambda () |
| double | getGlobalLength () |
| double | getGlobalPairedFragments () |
| EmpiricalDistribution | getReadSizeDistribution (CoordinateSpace coord, int maxSize, int numBins) |
| EmpiricalDistribution | getReadSizeDistribution (Annotation region, CoordinateSpace coord, int maxSize, int numBins) |
| double | getMedianReadSize (Annotation region, CoordinateSpace coord, int maxSize, int numBins, boolean fullyContained) |
| double | getMedianReadSize (Annotation region, CoordinateSpace coord, int maxSize, int numBins) |
| EmpiricalDistribution | getReadSizeDistribution (Annotation region, CoordinateSpace coord, int maxSize, int numBins, boolean fullyContained) |
| CloseableIterator< AlignmentCount > | getOverlappingReadCounts (Annotation region, boolean fullyContained) |
| CloseableIterator< Alignment > | getOverlappingSplicedReads (Annotation region, boolean fullyContained) |
| CloseableIterator< Alignment > | getOverlappingSplicedReads (String chr) |
| CloseableIterator< Alignment > | getOverlappingReads (String chr) |
| int | getBasesCovered (Annotation region, boolean fullyContained) |
| CloseableIterator< Alignment > | getPermutedAnnotations (Annotation region) |
| double | getGlobalNumReads () |
| double | getGlobalNumReadsReferenceSeqs () |
| boolean | isValid (Alignment read) |
| double | getCount (Annotation window) |
| boolean | containsReference (String refName) |
| double | getGlobalCount () |
| double | getGlobalCountReferenceSeqs () |
| int | size () |
| void | addFilter (Predicate< Alignment > filter) |
| void | addFilters (Collection< Predicate< Alignment >> filters) |
| WindowScoreIterator< CountScore > | scan (Annotation region, int windowSize, int overlap) |
| long | getRefSequenceLength (String refName) |
| Iterator<?extends Window > | windowIterator (int windowSize, int overlap) |
| double | getRefSequenceLambda (String refName) |
| CoordinateSpace | getCoordinateSpace () |
| String | getBamFile () |
| int | getBasesCovered (Annotation region) |
| void | removeFilter (Predicate< Alignment > readFilter) |
| int | getIntronCounts (Annotation intron) |
| Map< Alignment, Integer > | getOverlappingReadReplicateCounts (Annotation region, boolean fullyContained) |
| CloseableIterator< Alignment > | getOverlappingReads (Annotation region, boolean fullyContained) |
| Annotation | getPeak (Annotation parent, Annotation region, boolean fullyContained) |
| CloseableIterator< Alignment > | getOverlappingAnnotations (Annotation region, boolean fullyContained) |
| CloseableIterator< Alignment > | iterator () |
| double | getCountExcludingRegion (Annotation region, Annotation excluded) |
| double | getSplicedCount (Alignments alignments, boolean fullyContained) |
| double | getAverageCountPerPositionWithThreshold (Gene gene, int minCount) |
| double | getAverageCountPerPosition (Gene gene) |
| double[] | getCountsPerPosition (Gene gene) |
| List< Double > | getCountsStrandedPerPosition (Annotation gene) |
| double | getCountStrandedExcludingRegion (Annotation region, Annotation excluded) |
| Map< String, Integer > | getRefSequenceLengths () |
| TranscriptionRead | getStrand () |
Protected Attributes | |
| CoordinateSpace | coordinateSpace |
Serves the purpose of the Generic DataAlignment model and the ContinuousDataAlignmentModel Will populate alignments If a paired end file has unmapped mates, it will be represented by a single end read If both mates are mapped it will be represented as paired end reads Therefore a single model might have both, use flag X to exclude or include only one type This will be a bridge to the analysis modules
| umms.core.model.AlignmentModel.AlignmentModel | ( | String | bamFile, |
| CoordinateSpace | coordinateSpace, | ||
| Collection< Predicate< Alignment >> | readFilters, | ||
| boolean | readOrCreatePairedEndBam | ||
| ) |
Build with a BAM file Populate the alignment collection
| bamFile | |
| coordinateSpace | |
| readFilters |
| IOException |
| umms.core.model.AlignmentModel.AlignmentModel | ( | ) |
| umms.core.model.AlignmentModel.AlignmentModel | ( | String | bamFile, |
| CoordinateSpace | coordinateSpace, | ||
| Collection< Predicate< Alignment >> | readFilters, | ||
| boolean | readOrCreatePairedEndBam, | ||
| TranscriptionRead | transcriptionRead | ||
| ) |
Populate the alignment collection
| bamFile | |
| coordinateSpace | |
| readFilters |
| IOException |
| umms.core.model.AlignmentModel.AlignmentModel | ( | String | bamFile, |
| CoordinateSpace | coordinateSpace, | ||
| Collection< Predicate< Alignment >> | readFilters, | ||
| boolean | readOrCreatePairedEndBam, | ||
| TranscriptionRead | transcriptionRead, | ||
| boolean | fragment | ||
| ) |
Populate the alignment collection
| bamFile | |
| coordinateSpace | |
| readFilters |
| IOException |
| umms.core.model.AlignmentModel.AlignmentModel | ( | String | bamFile, |
| CoordinateSpace | coordinateSpace, | ||
| Collection< Predicate< Alignment >> | readFilters, | ||
| boolean | readOrCreatePairedEndBam, | ||
| TranscriptionRead | transcriptionRead, | ||
| String | maskedRegionFile | ||
| ) |
| umms.core.model.AlignmentModel.AlignmentModel | ( | String | bamFile, |
| CoordinateSpace | coordinateSpace, | ||
| Collection< Predicate< Alignment >> | readFilters, | ||
| boolean | readOrCreatePairedEndBam, | ||
| TranscriptionRead | transcriptionRead, | ||
| boolean | fragment, | ||
| String | maskedRegionFile | ||
| ) |
Populate the alignment collection
| bamFile | |
| coordinateSpace | |
| readFilters | |
| tmpDir | Temp directory for sorting |
| IOException |
reader cache - AD

| umms.core.model.AlignmentModel.AlignmentModel | ( | String | bamFile, |
| CoordinateSpace | coordinateSpace, | ||
| Collection< Predicate< Alignment >> | readFilters | ||
| ) |
| umms.core.model.AlignmentModel.AlignmentModel | ( | String | bamFile, |
| CoordinateSpace | coordinateSpace, | ||
| Collection< Predicate< Alignment >> | readFilters, | ||
| TranscriptionRead | transcriptionRead | ||
| ) |
| umms.core.model.AlignmentModel.AlignmentModel | ( | String | bamFile, |
| CoordinateSpace | coordinateSpace, | ||
| boolean | readOrCreatePairedEndBam | ||
| ) |
| umms.core.model.AlignmentModel.AlignmentModel | ( | String | bamFile, |
| CoordinateSpace | coordinateSpace, | ||
| boolean | readOrCreatePairedEndBam, | ||
| TranscriptionRead | transcriptionRead | ||
| ) |
| umms.core.model.AlignmentModel.AlignmentModel | ( | String | bamFile, |
| CoordinateSpace | coordinateSpace | ||
| ) |
| umms.core.model.AlignmentModel.AlignmentModel | ( | String | bamFile, |
| CoordinateSpace | coordinateSpace, | ||
| TranscriptionRead | transcriptionRead | ||
| ) |
| void umms.core.model.AlignmentModel.addFilter | ( | Predicate< Alignment > | filter | ) |

| void umms.core.model.AlignmentModel.addFilters | ( | Collection< Predicate< Alignment >> | filters | ) |

| void umms.core.model.AlignmentModel.computeGlobalStats | ( | ) |
Compute global stats and cache to a file for future use, or read from file if already cached


| boolean umms.core.model.AlignmentModel.containsReference | ( | String | refName | ) |

| double umms.core.model.AlignmentModel.getAverageCountPerPosition | ( | Gene | gene | ) |
Get the average position level coverage
| gene | The gene |

| double umms.core.model.AlignmentModel.getAverageCountPerPositionWithThreshold | ( | Gene | gene, |
| int | minCount | ||
| ) |
Get average position level coverage of only positions with count above a threshold (denominator excludes positions not passing threshold)
| gene | The gene |
| minCount | Min coverage to include a position |

| String umms.core.model.AlignmentModel.getBamFile | ( | ) |
| int umms.core.model.AlignmentModel.getBasesCovered | ( | Annotation | region, |
| boolean | fullyContained | ||
| ) |

| int umms.core.model.AlignmentModel.getBasesCovered | ( | Annotation | region | ) |

| CoordinateSpace umms.core.model.AlignmentModel.getCoordinateSpace | ( | ) |

| double umms.core.model.AlignmentModel.getCount | ( | Annotation | window, |
| boolean | fullyContained | ||
| ) |
Use the coordinate space to decide what is an overlapping read
| window | |
| fullyContained |


| double umms.core.model.AlignmentModel.getCount | ( | ) |
Use the coordinate space to decide what is an overlapping read Gets the count over the entire genome

| double umms.core.model.AlignmentModel.getCount | ( | CloseableIterator< AlignmentCount > | iter | ) |
| double umms.core.model.AlignmentModel.getCount | ( | Annotation | window | ) |

| double umms.core.model.AlignmentModel.getCountExcludingRegion | ( | Annotation | region, |
| Annotation | excluded | ||
| ) |

| double [] umms.core.model.AlignmentModel.getCountsPerPosition | ( | Gene | gene | ) |
This function returns an array list of counts for each position along the specified gene
| gene |


| List<Double> umms.core.model.AlignmentModel.getCountsStrandedPerPosition | ( | Annotation | gene | ) |
This function returns an array list of counts for each position along the specified gene
| gene |

| double umms.core.model.AlignmentModel.getCountStrandedExcludingRegion | ( | Annotation | region, |
| Annotation | excluded | ||
| ) |

| double umms.core.model.AlignmentModel.getGlobalCount | ( | ) |


| double umms.core.model.AlignmentModel.getGlobalCountReferenceSeqs | ( | ) |

| double umms.core.model.AlignmentModel.getGlobalLambda | ( | ) |


| double umms.core.model.AlignmentModel.getGlobalLength | ( | ) |


| double umms.core.model.AlignmentModel.getGlobalNumReads | ( | ) |
Get total number of reads

| double umms.core.model.AlignmentModel.getGlobalNumReadsReferenceSeqs | ( | ) |
Get total number of reads mapping to the coordinate space

| double umms.core.model.AlignmentModel.getGlobalPairedFragments | ( | ) |

| int umms.core.model.AlignmentModel.getIntronCounts | ( | Annotation | intron | ) |
This will count the number of spliced reads with exactly this intron
| intron | the intron to count |

| double umms.core.model.AlignmentModel.getMedianReadSize | ( | Annotation | region, |
| CoordinateSpace | coord, | ||
| int | maxSize, | ||
| int | numBins, | ||
| boolean | fullyContained | ||
| ) |
Get the median of all read (or fragment) sizes in an annotation
| region | The annotation in which to count read sizes |
| coord | Coordinate space in which to compute read sizes |
| maxSize | The maximum read size to check for |
| numBins | The number of bins for histogram |
| fullyContained | Count fully contained reads/fragments only |

| double umms.core.model.AlignmentModel.getMedianReadSize | ( | Annotation | region, |
| CoordinateSpace | coord, | ||
| int | maxSize, | ||
| int | numBins | ||
| ) |
Get the median of all read (or fragment) sizes in an annotation
| region | The annotation in which to count read sizes |
| coord | Coordinate space in which to compute read sizes |
| maxSize | The maximum read size to check for |
| numBins | The number of bins for histogram |

| CloseableIterator<Alignment> umms.core.model.AlignmentModel.getOverlappingAnnotations | ( | Annotation | region, |
| boolean | fullyContained | ||
| ) |
| CloseableIterator<AlignmentCount> umms.core.model.AlignmentModel.getOverlappingReadCounts | ( | Annotation | region, |
| boolean | fullyContained | ||
| ) |
Return the reads that overlap with this region in coordinate space If the Alignment model has a strand which is NOT unstranded, then returns stranded counts

| Map<Alignment, Integer> umms.core.model.AlignmentModel.getOverlappingReadReplicateCounts | ( | Annotation | region, |
| boolean | fullyContained | ||
| ) |
Get number of replicates of each read overlapping the region
| region | The region |
| fullyContained | Count fully contained reads only |

| CloseableIterator<Alignment> umms.core.model.AlignmentModel.getOverlappingReads | ( | String | chr | ) |


| CloseableIterator<Alignment> umms.core.model.AlignmentModel.getOverlappingReads | ( | Annotation | region, |
| boolean | fullyContained | ||
| ) |

| CloseableIterator<Alignment> umms.core.model.AlignmentModel.getOverlappingSplicedReads | ( | Annotation | region, |
| boolean | fullyContained | ||
| ) |
Return the reads that overlap with this region in coordinate space

| CloseableIterator<Alignment> umms.core.model.AlignmentModel.getOverlappingSplicedReads | ( | String | chr | ) |
Return the reads that overlap with this region in coordinate space

| Annotation umms.core.model.AlignmentModel.getPeak | ( | Annotation | parent, |
| Annotation | region, | ||
| boolean | fullyContained | ||
| ) |
Get the span covered by all reads overlapping a region
| parent | Parent annotation of the region of interest |
| region | The region of interest |
| fullyContained | Fully contained reads only |

| CloseableIterator<Alignment> umms.core.model.AlignmentModel.getPermutedAnnotations | ( | Annotation | region | ) |

| List<Double> umms.core.model.AlignmentModel.getPositionCountList | ( | Gene | gene | ) | throws IOException |
Get list of position level counts in mature transcript
| gene | The region |
| IOException |

| CloseableIterator<Alignment> umms.core.model.AlignmentModel.getReadIterator | ( | ) |

| CloseableIterator<Alignment> umms.core.model.AlignmentModel.getReadIterator | ( | Annotation | region | ) |
| EmpiricalDistribution umms.core.model.AlignmentModel.getReadSizeDistribution | ( | CoordinateSpace | coord, |
| int | maxSize, | ||
| int | numBins | ||
| ) |
Get the distribution of all read (or fragment) sizes with respect to a coordinate space
| coord | The coordinate space |
| maxSize | The maximum read size to consider |
| numBins | The number of bins for histogram |


| EmpiricalDistribution umms.core.model.AlignmentModel.getReadSizeDistribution | ( | Annotation | region, |
| CoordinateSpace | coord, | ||
| int | maxSize, | ||
| int | numBins | ||
| ) |
Get the distribution of read (or fragment) sizes in an annotation
| region | The annotation in which to count read sizes |
| coord | Coordinate space in which to compute read sizes |
| maxSize | The maximum read size to check for |
| numBins | The number of bins for histogram |

| EmpiricalDistribution umms.core.model.AlignmentModel.getReadSizeDistribution | ( | Annotation | region, |
| CoordinateSpace | coord, | ||
| int | maxSize, | ||
| int | numBins, | ||
| boolean | fullyContained | ||
| ) |
Get the distribution of read (or fragment) sizes in an annotation
| region | The annotation in which to count read sizes |
| coord | Coordinate space in which to compute read sizes |
| maxSize | The maximum read size to check for |
| numBins | The number of bins for histogram |
| fullyContained | Count fully contained reads/fragments only |

| double umms.core.model.AlignmentModel.getRefSequenceCounts | ( | String | refName | ) |
This function calculates the number of proper paired end reads over the entire coordinate space
| refName |


| double umms.core.model.AlignmentModel.getRefSequenceLambda | ( | String | refName | ) |

| long umms.core.model.AlignmentModel.getRefSequenceLength | ( | String | refName | ) |

| Map<String, Integer> umms.core.model.AlignmentModel.getRefSequenceLengths | ( | ) |
Get the lengths of the reference sequences
| double umms.core.model.AlignmentModel.getSplicedCount | ( | Alignments | alignments, |
| boolean | fullyContained | ||
| ) |

| TranscriptionRead umms.core.model.AlignmentModel.getStrand | ( | ) |
| boolean umms.core.model.AlignmentModel.isValid | ( | Alignment | read | ) |
| CloseableIterator<Alignment> umms.core.model.AlignmentModel.iterator | ( | ) |
| void umms.core.model.AlignmentModel.removeFilter | ( | Predicate< Alignment > | readFilter | ) |
Removes a read filter from the set
| readFilter | to remove |
| WindowScoreIterator<CountScore> umms.core.model.AlignmentModel.scan | ( | Annotation | region, |
| int | windowSize, | ||
| int | overlap | ||
| ) |
| int umms.core.model.AlignmentModel.size | ( | ) |

| Iterator<? extends Window> umms.core.model.AlignmentModel.windowIterator | ( | int | windowSize, |
| int | overlap | ||
| ) |
Iterate through the whole coordinate space in windows and score them using the provided window processor
| windowSize | size of the windows to score |
|
protected |
1.8.7