Some changes regarding what to do when a cycle is completely busted.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@946 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
0bd78d72d7
commit
65d0675a4e
|
|
@ -232,6 +232,9 @@ public class BasecallingReadModel {
|
|||
int actualBasePrevIndex = (correctForContext && cycle > 0) ? BaseUtils.simpleBaseToBaseIndex(basePrev) : 0;
|
||||
int actualBaseCurIndex = BaseUtils.simpleBaseToBaseIndex(baseCur);
|
||||
|
||||
if (actualBasePrevIndex == -1) { actualBasePrevIndex = BaseUtils.getRandomBaseIndex(); }
|
||||
if (actualBaseCurIndex == -1) { actualBaseCurIndex = BaseUtils.getRandomBaseIndex(); }
|
||||
|
||||
double residualTheories = (double) (dist.length*dist[0].length - 1);
|
||||
|
||||
for (int basePrevIndex = 0; basePrevIndex < dist.length; basePrevIndex++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue