isoSeqQC
Quality assessment and re-mapping of poorly mapped isoSeq read segments
Loading...
Searching...
No Matches
isaSpace::ReadMatchWindowBIC Class Reference

Binomial BIC for a read window. More...

#include <isoseqAlgn.hpp>

Public Member Functions

 ReadMatchWindowBIC ()=default
 Default constructor.
 ReadMatchWindowBIC (const std::vector< std::pair< float, hts_pos_t > >::const_iterator &windowBegin, const BinomialWindowParameters &windowParameters)
 Constructor with a read match vector window.
 ReadMatchWindowBIC (const ReadMatchWindowBIC &toCopy)=default
 Copy constructor.
ReadMatchWindowBICoperator= (const ReadMatchWindowBIC &toCopy)=default
 Copy assignment operator.
 ReadMatchWindowBIC (ReadMatchWindowBIC &&toMove) noexcept=default
 Move constructor.
ReadMatchWindowBICoperator= (ReadMatchWindowBIC &&toMove) noexcept=default
 Move assignment operator.
 ~ReadMatchWindowBIC ()=default
 Destructor.
float getBICdifference () const noexcept
 Get BIC difference.

Detailed Description

Binomial BIC for a read window.

Estimates of the Bayesian information criterion for a window of the read-centric match status vector. The BIC compares the model with the same success probability as the previous window to a change. The success probabilities reflect identity between unrelated or matching sequences.

Constructor & Destructor Documentation

◆ ReadMatchWindowBIC() [1/3]

isaSpace::ReadMatchWindowBIC::ReadMatchWindowBIC ( const std::vector< std::pair< float, hts_pos_t > >::const_iterator & windowBegin,
const BinomialWindowParameters & windowParameters )
inline

Constructor with a read match vector window.

Parameters
[in]windowBeginstart of a read match status vector
[in]windowParametersbinomial probability parameters of the window

◆ ReadMatchWindowBIC() [2/3]

isaSpace::ReadMatchWindowBIC::ReadMatchWindowBIC ( const ReadMatchWindowBIC & toCopy)
default

Copy constructor.

Parameters
[in]toCopyobject to copy

◆ ReadMatchWindowBIC() [3/3]

isaSpace::ReadMatchWindowBIC::ReadMatchWindowBIC ( ReadMatchWindowBIC && toMove)
defaultnoexcept

Move constructor.

Parameters
[in]toMoveobject to move

Member Function Documentation

◆ getBICdifference()

float isaSpace::ReadMatchWindowBIC::getBICdifference ( ) const
nodiscardnoexcept

Get BIC difference.

Reports the BIC difference between the model with the same mapping quality as the previous window and a model with a switch to a different quality.

Returns
evidence for a switch in mapping quality

◆ operator=() [1/2]

ReadMatchWindowBIC & isaSpace::ReadMatchWindowBIC::operator= ( const ReadMatchWindowBIC & toCopy)
default

Copy assignment operator.

Parameters
[in]toCopyobject to copy
Returns
ReadMatchWindowBIC object

◆ operator=() [2/2]

ReadMatchWindowBIC & isaSpace::ReadMatchWindowBIC::operator= ( ReadMatchWindowBIC && toMove)
defaultnoexcept

Move assignment operator.

Parameters
[in]toMoveobject to move
Returns
ReadMatchWindowBIC object

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