1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#include "SoloRead.h"
SoloRead::SoloRead(Parameters &Pin, int32 iChunkIn) : iChunk(iChunkIn), P(Pin), pSolo(P.pSolo)
{
readBar = new SoloReadBarcode(P);
if (pSolo.type==0)
return;
if (pSolo.type==pSolo.SoloTypes::CB_samTagOut)
return;
readFeat = new SoloReadFeature*[pSolo.nFeatures];
for (uint32 ii=0; ii<pSolo.nFeatures; ii++)
readFeat[ii] = new SoloReadFeature(pSolo.features[ii], P, iChunk);
};
void SoloRead::readFlagReset()
{
for (uint32 ii=0; ii<pSolo.nFeatures; ii++)
readFeat[ii]->readFlag.flag = 0;
};
|