cgatools::cgdata::CnvSegmentStore Class Reference

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

#include <CnvSegmentStore.hpp>

Inheritance diagram for cgatools::cgdata::CnvSegmentStore:
cgatools::reference::RangeAnnotationStore< CnvSegmentStore, CnvSegmentData >

List of all members.

Public Member Functions

 CnvSegmentStore (const reference::CrrFile &crr, const GenomeMetadata &exp, bool isDiploid)
 Loads all CNV segment 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 ploidy calls are present in the export package.
bool hasLAF () const
 True if LAF information is present in the Details file.
const CnvSegmentDatagetBestOverlappingSegment (const reference::Range &r) const
 Returns the CNV segment data for the segment with the longest overlap with the given range.
void bindColumns (util::DelimitedFile &df, reference::Range &range, CnvSegmentData &data)
 This function is not a part of the true public interface of this class.

Detailed Description

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


Member Function Documentation

const CnvSegmentData* cgatools::cgdata::CnvSegmentStore::getBestOverlappingSegment ( const reference::Range r  )  const

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

In case of a tie, returns the data for the first segment 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