DEploid-dev / DEploid

dEploid is designed for deconvoluting mixed genomes with unknown proportions. Traditional ‘phasing’ programs are limited to diploid organisms. Our method modifies Li and Stephen’s algorithm with Markov chain Monte Carlo (MCMC) approaches, and builds a generic framework that allows haloptype searches in a multiple infection setting.
http://deploid.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
20 stars 10 forks source link

make a diagnositc class #341

Open shajoezhu opened 3 years ago

shajoezhu commented 3 years ago

Take out from DEploidIO

// Diagnostics
double maxLLKs_;
void setmaxLLKs ( const double setTo ) { this->maxLLKs_ = setTo; }
double meanThetallks_;
void setmeanThetallks ( const double setTo ) { this->meanThetallks_ = setTo; }
double meanllks_;
void setmeanllks ( const double setTo ) { this->meanllks_ = setTo; }
double stdvllks_;
void setstdvllks ( const double setTo ) { this->stdvllks_ = setTo; }
double dicByTheta_;
void setdicByTheta ( const double setTo ) { this->dicByTheta_ = setTo; }
double dicByVar_;
void setdicByVar ( const double setTo ) { this->dicByVar_ = setTo; }
double acceptRatio_;
void setacceptRatio ( const double setTo ) { this->acceptRatio_ = setTo; }

also see #296