cgatools::cgdata::CnvDetailStore Class Reference

Loads CNV window data from a file and caches it in memory. More...

#include <CnvDetailStore.hpp>

Inheritance diagram for cgatools::cgdata::CnvDetailStore:
cgatools::reference::RangeAnnotationStore< CnvDetailStore, CnvDetailData >

List of all members.

Public Member Functions

 CnvDetailStore (const reference::CrrFile &crr, const GenomeMetadata &exp, bool isDiploid, bool isSomatic)
 Loads all CNV window data from a given export package.
bool hasCalledPloidy () const
 True if the ploidy calls are present in the export package.
bool hasCalledLevel () const
 True if the level calls are present in the export package.
bool hasLAF () const
 True if LAF information is present in the Details file.
const CnvDetailDatagetBestOverlappingDetail (const reference::Range &r) const
 Returns the CNV window data for the window with the longest overlap with the given range.
void trimTree ()
 Trim intervals that extend off ends of contigs.
void bindColumns (util::DelimitedFile &df, reference::Range &range, CnvDetailData &data)
 This function is not a part of the true public interface of this class.

Detailed Description

Loads CNV window data from a file and caches it in memory.


Member Function Documentation

const CnvDetailData* cgatools::cgdata::CnvDetailStore::getBestOverlappingDetail ( const reference::Range r  )  const

Returns the CNV window data for the window with the longest overlap with the given range.

In case of a tie, returns the data for the first window in the reference order.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by  doxygen 1.6.2