src/c++/lib/genotyping/GraphGenotyper.cpp
/**
 * Get the alignment read counts
 * @param sample_index index of sample (name is in sampleNames[sample_index])
 * @param edge_or_allele_name name of edge or allele
 * @return alignment result for sample
 */
Get the alignment read counts
@param sample_index index of sample (name is in sampleNames[sample_index])
@param edge_or_allele_name name of edge or allele
@return alignment result for sample
Get the alignment read counts @param sample_index index of sample ( name is in sampleNames [ sample_index ] ) @param edge_or_allele_name name of edge or allele @return alignment result for sample
int32_t
GraphGenotyper::getCount(size_t sample_index, string const& breakpoint, std::string const& edge_or_allele_name) const
{
    assert(sample_index < _impl->breakpoint_maps.size());
    auto bp_it = _impl->breakpoint_maps[sample_index].find(breakpoint);
    assert(bp_it != _impl->breakpoint_maps[sample_index].end());
    return bp_it->second.getCount(edge_or_allele_name);
}
int32_t GraphGenotyper :: getCount ( size_t sample_index , string const & breakpoint , std :: string const & edge_or_allele_name ) const { assert ( sample_index < _impl -> breakpoint_maps . size ( ) ) ; auto bp_it = _impl -> breakpoint_maps [ sample_index ] . find ( breakpoint ) ; assert ( bp_it != _impl -> breakpoint_maps [ sample_index ] . end ( ) ) ; return bp_it -> second . getCount ( edge_or_allele_name ) ; }
Get the alignment read counts
 @param sample_index index of sample (name is in sampleNames[sample_index])
 @param edge_or_allele_name name of edge or allele
 @return alignment result for sample
Get the alignment read counts @param sample_index index of sample ( name is in sampleNames [ sample_index ] ) @param edge_or_allele_name name of edge or allele @return alignment result for sample