Skip to content

Commit ec1917d

Browse files
committed
v11.2: better fit of GC-content bias in contaminated samples
1 parent 5b1748b commit ec1917d

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/freec

279 KB
Binary file not shown.

src/myFunc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,7 @@ std::string stringFromBool (bool value) {
14971497
}
14981498

14991499
float runEM (const vector<float>& x,const vector<float>& y,double * a, int degree, int & NumberOfIterations,int ploidy, int maximalNumberOfCopies, bool intercept, float contamination) {
1500-
1500+
if (contamination==0) contamination=0.3; //starting from v11.2 - to improve the fit
15011501
float rmserror = -1;
15021502

15031503
if (x.size() != y.size()) {

src/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#define VERSION_H
44

55
const double VERSION_OFFSET = 3;
6-
const double FREEC_VERSION = 11.1;
6+
const double FREEC_VERSION = 11.2;
77
const double CONTROL_FREEC_VERSION = FREEC_VERSION - VERSION_OFFSET;
88

99
#endif

0 commit comments

Comments
 (0)