Skip to content

Commit

Permalink
Fixed bug in read pair extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
jts committed Oct 20, 2011
1 parent 44f8500 commit 23a6f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Algorithm/HapgenUtil.cpp
Expand Up @@ -268,7 +268,7 @@ void HapgenUtil::extractHaplotypeReads(const StringVector& haplotypes,
mateName << "idx-" << mateIdx;
SeqItem mateItem;
mateItem.id = mateName.str();
mateItem.seq = BWTAlgorithms::extractString(pBWT, idx);
mateItem.seq = BWTAlgorithms::extractString(pBWT, mateIdx);
pOutMates->push_back(mateItem);
}
}
Expand Down

0 comments on commit 23a6f0d

Please sign in to comment.