LocARNA-2.0.0
|
Classes | |
class | PairHMMParams |
Maintains parameter for computing match probabilities. More... | |
Public Member Functions | |
PairHMMMatchProbs (const Sequence &seqA, const Sequence &seqB, const PairHMMParams ¶ms) | |
construct predicting pair probs by pairHMM More... | |
![]() | |
MatchProbs (std::istream &in, size_type lenA, size_type lenB) | |
construct from input stream (sparse format) | |
![]() | |
EdgeProbs (std::istream &in, size_type lenA, size_type lenB) | |
construct from input stream (sparse format) | |
std::ostream & | write_sparse (std::ostream &out, double threshold) const |
size_type | lenA () const |
get the length of the first sequence | |
size_type | lenB () const |
get the length of the second sequence | |
double | prob (size_t i, size_t j) const |
return the match probability for the two bases | |
Protected Member Functions | |
void | pairHMM_probs (const Sequence &seqA, const Sequence &seqB, const PairHMMParams ¶ms) |
![]() | |
std::istream & | read_sparse (std::istream &in, size_type lenA, size_type lenB) |
void | read_sparse (const std::string &filename, size_type lenA, size_type lenB) |
Additional Inherited Members | |
![]() | |
using | size_type = size_t |
size | |
![]() | |
Matrix< double > | probs_ |
the base match probabilities | |
|
inline |
construct predicting pair probs by pairHMM
seqA | sequence A |
seqB | sequence B |
params | pairHMM (probcons) parameter object |
|
protected |
read probcons parameter file and compute match probabilities for the two given sequences