X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=sffinfocommand.cpp;h=24397a6aa496e2e974b4ecd619b0f186257307c0;hp=3961802804f02c5d60c2a017803b666f43e74047;hb=a54ba6143022dc7294f4fdc468fc10b627c64b0e;hpb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e diff --git a/sffinfocommand.cpp b/sffinfocommand.cpp index 3961802..24397a6 100644 --- a/sffinfocommand.cpp +++ b/sffinfocommand.cpp @@ -920,7 +920,7 @@ int SffInfoCommand::readSeqData(ifstream& in, seqRead& read, int numFlowReads, H char buffer5 [2]; in.read(buffer5, 2); header.clipQualRight = be_int2(*(unsigned short *)(&buffer5)); - + //read clipAdapterLeft char buffer6 [2]; in.read(buffer6, 2); @@ -1343,7 +1343,10 @@ int SffInfoCommand::printFlowSeqData(ofstream& out, seqRead& read, Header& heade try { int endValue = header.clipQualRight; - if (header.clipQualRight == 0) { endValue = read.flowIndex.size(); } + if (header.clipQualRight == 0) { + endValue = read.flowIndex.size(); + if (m->debug) { m->mothurOut("[DEBUG]: " + header.name + " has clipQualRight=0.\n"); } + } if(endValue > header.clipQualLeft){ int rightIndex = 0;