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:
delangel 2011-05-16 15:32:58 +00:00
parent d925f76edc
commit a27e8b1dc6
1 changed files with 1 additions and 1 deletions

View File

@ -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()+" ");