ESAT
 All Classes Namespaces Files Functions Variables Enumerator Pages
Public Member Functions | List of all members
broad.pda.seq.segmentation.AlignmentDataModel Interface Reference
Inheritance diagram for broad.pda.seq.segmentation.AlignmentDataModel:
Inheritance graph
[legend]

Public Member Functions

CloseableIterator< Alignment > getAnnotationOverlappingRegion (Annotation align) throws IOException
 
Map< String, Integer > getChromosomeLengths ()
 
int getChromosomeLength (String chr)
 
double getCounts (String chr) throws IOException
 
double getCountsPerAlignment (Annotation first, int EF) throws IOException
 
double getCountsPerAlignment (Annotation align, IntervalTree< Alignment > tree, int EF)
 
double getCountsPerAlignment (Gene gene, IntervalTree< Alignment > tree, int EF)
 
double getCountsPerAnnotationtranded (Gene gene, IntervalTree< Alignment > tree, int EF, String orientation)
 
double getCountsPerAlignment (Annotation[] Annotation, IntervalTree< Alignment > tree, int EF)
 
double getCountsPerAlignmentFullyContained (Gene gene, IntervalTree< Alignment > tree, int EF)
 
double getCountsPerAlignment (Annotation[] Annotation, int EF) throws IOException
 
double getCountsPerAlignment (Annotation align, Map< String, IntervalTree< Annotation >> goodExonTree, IntervalTree< Alignment > tree, int extensionFactor)
 
int getCountsWithinExons (Annotation align, Iterator< Alignment > iter, int EF)
 
int getCountsWithinExons (Annotation align, IntervalTree< Alignment > tree, int EF)
 
double getCountsOfUniqueOverlappers (Annotation target, Annotation exclude, IntervalTree< Alignment > tree, int EF)
 
double getCountsOfUniqueOverlappers (Annotation target, Gene exclude, IntervalTree< Alignment > tree, int EF)
 
double getCountsOnBase (String chr, int index) throws IOException
 
int getBasesCovered (Annotation record, int EF) throws IOException
 
double getNumberOfSplicedReads (Annotation align) throws IOException
 
GeneCounts getGeneCounts (Gene gene, int extensionFactor) throws IOException
 
double getBasesCoveredPerAlignment (Gene gene, IntervalTree< Alignment > tree, int EF)
 
Iterator< Annotation > getExonAnnotationOverlappingRegion (Annotation align) throws IOException
 
Gene getPeak (Gene gene, Gene startCodon, IntervalTree< Alignment > tree, int EF)
 
Collection< Annotation > getOverlappingRegions (String chr) throws IOException
 
IntervalTree< Alignment > getIntervalTree (String chr, int start, int end) throws IOException
 
IntervalTree< Alignment > getIntervalTreeCached (String chr, int start, int end) throws IOException
 
Gene updateGeneByFirstCounts (Gene gene, IntervalTree< Alignment > tree, int EF)
 
Map< Annotation, Integer > getSplicedReads (Annotation align, int minIntronSize, int maxIntronSize) throws IOException
 
Map< Annotation, Integer > getSplicedReads (Annotation region, Collection< Predicate< Annotation >> filters) throws IOException
 
Map< Annotation, Integer > getSplicedReads (Annotation region) throws IOException
 
Map< Annotation, Integer > getSplicedReads (Annotation align, final int minIntronSize, final int maxIntronSize, int minNumIntrons, Sequence chrSeq) throws IOException
 
Map< Annotation, Integer > getSplicedReads (Annotation region, Collection< Predicate< Annotation >> filters, int minNumIntrons) throws IOException
 
Map< Annotation, Integer > getSplicedReads (Annotation region, Collection< Predicate< Annotation >> filters, int minNumIntrons, Sequence chrSeq) throws IOException
 
Map< Annotation, Integer > getSplicedReads (Annotation region, Predicate< Annotation > filter) throws IOException
 
Map< Annotation, Integer > getSplicedReads (int minIntronSize, int maxIntronSize) throws IOException
 
double getSpliceWeightFactor ()
 
Collection<?extends Annotation > getSplicedReadExons (String chr) throws IOException
 
CloseableIterator< Alignment > getReadIterator ()
 
CloseableIterator< Alignment > getReadIterator (Annotation region) throws IOException
 
CloseableIterator< Alignment > getChromosomeReadIterator (String chromosome) throws IOException
 
double getTotalNumberOfStrandedReads ()
 
double getScorePerAlignmentFromCache (Gene window, IntervalTree< Alignment > chunkAlignmentTree, int extensionFactor)
 
void resetTreeCache ()
 
int getChunkStart ()
 
int getChunkEnd ()
 
IntervalTree< Alignment > getIntervalTreeTruncatedCached (String chromosome, int start, int end) throws IOException
 
IntervalTree< Annotation > getFullIntervalTreeAsAnnotation (String chr) throws IOException
 
double getMinimumMappingQuality ()
 
void setChunkSize (int chunkSize)
 
void setNegativeStranded ()
 
void setPositiveStranded ()
 
void setSecondRead ()
 
void setFirstRead ()
 
void setNormalizationStrategy (ReadCountNormalizer normalizer)
 
void setMinimumMappingQuality (double minimumMapQuality)
 
boolean passes (Gene gene, IntervalTree< Alignment > tree, int EF, double cutoff)
 
long passesCutoff (Annotation align, IntervalTree< Alignment > tree, int EF, double threshold)
 
boolean hasNextExon (String chr) throws IOException
 
void restartIterator ()
 
void resetTreeCache (String chr)
 
void clearFullIntervalTreeAsAlignmentsCached (String chr)
 
boolean isStranded ()
 
void unsetStranded ()
 
boolean isPositiveStranded ()
 
boolean isNegativeStranded ()
 
String getModelFilePath ()
 
void setExtensionFactor (int factor)
 

Member Function Documentation

void broad.pda.seq.segmentation.AlignmentDataModel.clearFullIntervalTreeAsAlignmentsCached ( String  chr)
CloseableIterator<Alignment> broad.pda.seq.segmentation.AlignmentDataModel.getAnnotationOverlappingRegion ( Annotation  align) throws IOException
int broad.pda.seq.segmentation.AlignmentDataModel.getBasesCovered ( Annotation  record,
int  EF 
) throws IOException
double broad.pda.seq.segmentation.AlignmentDataModel.getBasesCoveredPerAlignment ( Gene  gene,
IntervalTree< Alignment >  tree,
int  EF 
)
int broad.pda.seq.segmentation.AlignmentDataModel.getChromosomeLength ( String  chr)

Get length of a chromosome

Parameters
chr
Returns

Implemented in broad.pda.seq.segmentation.GenericAlignmentDataModel.

Here is the caller graph for this function:

Map<String, Integer> broad.pda.seq.segmentation.AlignmentDataModel.getChromosomeLengths ( )

Implemented in broad.pda.seq.segmentation.GenericAlignmentDataModel.

Here is the caller graph for this function:

CloseableIterator<Alignment> broad.pda.seq.segmentation.AlignmentDataModel.getChromosomeReadIterator ( String  chromosome) throws IOException
Parameters
thechromosome over which to iterate
Returns
CloseableIterator over all reads mapped to the given Chromosome

Implemented in broad.pda.seq.segmentation.GenericAlignmentDataModel.

int broad.pda.seq.segmentation.AlignmentDataModel.getChunkEnd ( )
int broad.pda.seq.segmentation.AlignmentDataModel.getChunkStart ( )
double broad.pda.seq.segmentation.AlignmentDataModel.getCounts ( String  chr) throws IOException

Counts the number of reads for the specified chromosome

Returns
Exceptions
IOException

Implemented in broad.pda.seq.segmentation.GenericAlignmentDataModel.

double broad.pda.seq.segmentation.AlignmentDataModel.getCountsOfUniqueOverlappers ( Annotation  target,
Annotation  exclude,
IntervalTree< Alignment >  tree,
int  EF 
)
double broad.pda.seq.segmentation.AlignmentDataModel.getCountsOfUniqueOverlappers ( Annotation  target,
Gene  exclude,
IntervalTree< Alignment >  tree,
int  EF 
)
double broad.pda.seq.segmentation.AlignmentDataModel.getCountsOnBase ( String  chr,
int  index 
) throws IOException
double broad.pda.seq.segmentation.AlignmentDataModel.getCountsPerAlignment ( Annotation  first,
int  EF 
) throws IOException

Implemented in broad.pda.seq.segmentation.GenericAlignmentDataModel.

Here is the caller graph for this function:

double broad.pda.seq.segmentation.AlignmentDataModel.getCountsPerAlignment ( Annotation  align,
IntervalTree< Alignment >  tree,
int  EF 
)
double broad.pda.seq.segmentation.AlignmentDataModel.getCountsPerAlignment ( Gene  gene,
IntervalTree< Alignment >  tree,
int  EF 
)
double broad.pda.seq.segmentation.AlignmentDataModel.getCountsPerAlignment ( Annotation[]  Annotation,
IntervalTree< Alignment >  tree,
int  EF 
)
double broad.pda.seq.segmentation.AlignmentDataModel.getCountsPerAlignment ( Annotation[]  Annotation,
int  EF 
) throws IOException

Similar to

See also
getCountsPerAlignment(Annotation[] Annotation, IntervalTree<Alignment> tree, int EF) but delegates the management of the alignment interval tree to the implementing class rather than the caller
Parameters
Annotation
EF
Returns
Exceptions
IOException

Implemented in broad.pda.seq.segmentation.GenericAlignmentDataModel.

double broad.pda.seq.segmentation.AlignmentDataModel.getCountsPerAlignment ( Annotation  align,
Map< String, IntervalTree< Annotation >>  goodExonTree,
IntervalTree< Alignment >  tree,
int  extensionFactor 
)
double broad.pda.seq.segmentation.AlignmentDataModel.getCountsPerAlignmentFullyContained ( Gene  gene,
IntervalTree< Alignment >  tree,
int  EF 
)
double broad.pda.seq.segmentation.AlignmentDataModel.getCountsPerAnnotationtranded ( Gene  gene,
IntervalTree< Alignment >  tree,
int  EF,
String  orientation 
)
int broad.pda.seq.segmentation.AlignmentDataModel.getCountsWithinExons ( Annotation  align,
Iterator< Alignment >  iter,
int  EF 
)
int broad.pda.seq.segmentation.AlignmentDataModel.getCountsWithinExons ( Annotation  align,
IntervalTree< Alignment >  tree,
int  EF 
)
Iterator<Annotation> broad.pda.seq.segmentation.AlignmentDataModel.getExonAnnotationOverlappingRegion ( Annotation  align) throws IOException
IntervalTree<Annotation> broad.pda.seq.segmentation.AlignmentDataModel.getFullIntervalTreeAsAnnotation ( String  chr) throws IOException
GeneCounts broad.pda.seq.segmentation.AlignmentDataModel.getGeneCounts ( Gene  gene,
int  extensionFactor 
) throws IOException
IntervalTree<Alignment> broad.pda.seq.segmentation.AlignmentDataModel.getIntervalTree ( String  chr,
int  start,
int  end 
) throws IOException
IntervalTree<Alignment> broad.pda.seq.segmentation.AlignmentDataModel.getIntervalTreeCached ( String  chr,
int  start,
int  end 
) throws IOException
IntervalTree<Alignment> broad.pda.seq.segmentation.AlignmentDataModel.getIntervalTreeTruncatedCached ( String  chromosome,
int  start,
int  end 
) throws IOException
double broad.pda.seq.segmentation.AlignmentDataModel.getMinimumMappingQuality ( )
String broad.pda.seq.segmentation.AlignmentDataModel.getModelFilePath ( )
double broad.pda.seq.segmentation.AlignmentDataModel.getNumberOfSplicedReads ( Annotation  align) throws IOException
Collection<Annotation> broad.pda.seq.segmentation.AlignmentDataModel.getOverlappingRegions ( String  chr) throws IOException
Gene broad.pda.seq.segmentation.AlignmentDataModel.getPeak ( Gene  gene,
Gene  startCodon,
IntervalTree< Alignment >  tree,
int  EF 
)
CloseableIterator<Alignment> broad.pda.seq.segmentation.AlignmentDataModel.getReadIterator ( )
CloseableIterator<Alignment> broad.pda.seq.segmentation.AlignmentDataModel.getReadIterator ( Annotation  region) throws IOException
double broad.pda.seq.segmentation.AlignmentDataModel.getScorePerAlignmentFromCache ( Gene  window,
IntervalTree< Alignment >  chunkAlignmentTree,
int  extensionFactor 
)
Collection<? extends Annotation> broad.pda.seq.segmentation.AlignmentDataModel.getSplicedReadExons ( String  chr) throws IOException
Map<Annotation, Integer> broad.pda.seq.segmentation.AlignmentDataModel.getSplicedReads ( Annotation  align,
int  minIntronSize,
int  maxIntronSize 
) throws IOException
Map<Annotation, Integer> broad.pda.seq.segmentation.AlignmentDataModel.getSplicedReads ( Annotation  region,
Collection< Predicate< Annotation >>  filters 
) throws IOException
Map<Annotation, Integer> broad.pda.seq.segmentation.AlignmentDataModel.getSplicedReads ( Annotation  region) throws IOException
Map<Annotation, Integer> broad.pda.seq.segmentation.AlignmentDataModel.getSplicedReads ( Annotation  align,
final int  minIntronSize,
final int  maxIntronSize,
int  minNumIntrons,
Sequence  chrSeq 
) throws IOException
Map<Annotation, Integer> broad.pda.seq.segmentation.AlignmentDataModel.getSplicedReads ( Annotation  region,
Collection< Predicate< Annotation >>  filters,
int  minNumIntrons 
) throws IOException
Map<Annotation, Integer> broad.pda.seq.segmentation.AlignmentDataModel.getSplicedReads ( Annotation  region,
Collection< Predicate< Annotation >>  filters,
int  minNumIntrons,
Sequence  chrSeq 
) throws IOException
Map<Annotation, Integer> broad.pda.seq.segmentation.AlignmentDataModel.getSplicedReads ( Annotation  region,
Predicate< Annotation >  filter 
) throws IOException
Map<Annotation, Integer> broad.pda.seq.segmentation.AlignmentDataModel.getSplicedReads ( int  minIntronSize,
int  maxIntronSize 
) throws IOException
double broad.pda.seq.segmentation.AlignmentDataModel.getSpliceWeightFactor ( )
double broad.pda.seq.segmentation.AlignmentDataModel.getTotalNumberOfStrandedReads ( )
boolean broad.pda.seq.segmentation.AlignmentDataModel.hasNextExon ( String  chr) throws IOException
boolean broad.pda.seq.segmentation.AlignmentDataModel.isNegativeStranded ( )
boolean broad.pda.seq.segmentation.AlignmentDataModel.isPositiveStranded ( )
boolean broad.pda.seq.segmentation.AlignmentDataModel.isStranded ( )
boolean broad.pda.seq.segmentation.AlignmentDataModel.passes ( Gene  gene,
IntervalTree< Alignment >  tree,
int  EF,
double  cutoff 
)
long broad.pda.seq.segmentation.AlignmentDataModel.passesCutoff ( Annotation  align,
IntervalTree< Alignment >  tree,
int  EF,
double  threshold 
)
void broad.pda.seq.segmentation.AlignmentDataModel.resetTreeCache ( )
void broad.pda.seq.segmentation.AlignmentDataModel.resetTreeCache ( String  chr)
void broad.pda.seq.segmentation.AlignmentDataModel.restartIterator ( )
void broad.pda.seq.segmentation.AlignmentDataModel.setChunkSize ( int  chunkSize)
void broad.pda.seq.segmentation.AlignmentDataModel.setExtensionFactor ( int  factor)
void broad.pda.seq.segmentation.AlignmentDataModel.setFirstRead ( )
void broad.pda.seq.segmentation.AlignmentDataModel.setMinimumMappingQuality ( double  minimumMapQuality)
void broad.pda.seq.segmentation.AlignmentDataModel.setNegativeStranded ( )
void broad.pda.seq.segmentation.AlignmentDataModel.setNormalizationStrategy ( ReadCountNormalizer  normalizer)
void broad.pda.seq.segmentation.AlignmentDataModel.setPositiveStranded ( )
void broad.pda.seq.segmentation.AlignmentDataModel.setSecondRead ( )
void broad.pda.seq.segmentation.AlignmentDataModel.unsetStranded ( )
Gene broad.pda.seq.segmentation.AlignmentDataModel.updateGeneByFirstCounts ( Gene  gene,
IntervalTree< Alignment >  tree,
int  EF 
)

The documentation for this interface was generated from the following file: