From 5bf4419fcf55bf58f2c77dd031af6190be4d9af1 Mon Sep 17 00:00:00 2001 From: Glenn Hickey Date: Wed, 24 Jul 2013 15:29:09 -0700 Subject: [PATCH] re-enable dupes in column iterator. not sure when or how they were turned off... --- phyloP/impl/halPhyloP.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/phyloP/impl/halPhyloP.cpp b/phyloP/impl/halPhyloP.cpp index 7aa928dc..930e3b1f 100644 --- a/phyloP/impl/halPhyloP.cpp +++ b/phyloP/impl/halPhyloP.cpp @@ -218,8 +218,7 @@ void PhyloP::processSequence(const Sequence* sequence, ColumnIteratorConstPtr colIt = sequence->getColumnIterator(&_targetSet, 0, pos, - last - 1, - true); + last - 1); // note wig coordinates are 1-based for some reason so we shift to right *_outStream << "fixedStep chrom=" << sequenceName << " start=" << start + 1 @@ -330,7 +329,7 @@ double PhyloP::pval(const ColumnIterator::ColumnMap *cmap) } } - for (int i=0; i < _msa->nseqs; i++) + for (int i = 0; i < _msa->nseqs; i++) { if (_msa->ss->col_tuples[0][i] == '*') {