Bug fix - use correct variable to retrieve from map.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5811 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
d925f76edc
commit
a27e8b1dc6
|
|
@ -433,7 +433,7 @@ public class HaplotypeIndelErrorModel {
|
|||
// = sum_j(-10*log10(Pr(R_j | Hi) since reads are assumed to be independent
|
||||
int j=0;
|
||||
for (Allele a: haplotypesInVC.keySet()) {
|
||||
readLikelihoods[i][j]= computeReadLikelihoodGivenHaplotype(haplotypesInVC.get(j), read);
|
||||
readLikelihoods[i][j]= computeReadLikelihoodGivenHaplotype(haplotypesInVC.get(a), read);
|
||||
if (DEBUG) {
|
||||
System.out.print(read.getReadName()+" ");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue