Skip to content

Commit

Permalink
2.7.10b_alpha_23-06-09: Issue #1871: Fixed a bug which occurs when --…
Browse files Browse the repository at this point in the history
…soloCellReadStats Standard --twopassMode Basic are used together.
  • Loading branch information
alexdobin committed Jun 9, 2023
1 parent 45fe3dd commit 56c9fd5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 0 additions & 3 deletions source/ReadAlign_outputAlignments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
void ReadAlign::outputAlignments() {

outBAMbytes=0;

if (P.pSolo.readStats.yes)
soloRead->readFlagReset();

readAnnot.reset();

Expand Down
3 changes: 3 additions & 0 deletions source/SoloRead_record.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ void SoloRead::record(uint64 nTr, Transcript **alignOut, uint64 iRead, ReadAnnot
if (pSolo.type==pSolo.SoloTypes::CB_samTagOut)
return;

if (pSolo.readStats.yes)
readFlagReset();

for (uint32 ii=0; ii<pSolo.nFeatures; ii++)
readFeat[ii]->record(*readBar, nTr, alignOut, iRead, readAnnot);
};
2 changes: 1 addition & 1 deletion source/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define STAR_VERSION "2.7.10b_alpha_230301"
#define STAR_VERSION "2.7.10b_alpha_23-06-09"
3 changes: 2 additions & 1 deletion source/twoPassRunPass1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ void twoPassRunPass1(Parameters &P, Genome &genomeMain, Transcriptome *transcrip

P1.wasp.outputMode="None"; //no WASP filtering on the 1st pass
P1.pSolo.type=P1.pSolo.SoloTypes::None; //no solo in the first pass

P1.pSolo.yes = false;

g_statsAll.resetN();
time(&g_statsAll.timeStartMap);
P.inOut->logProgress << timeMonthDayTime(g_statsAll.timeStartMap) <<"\tStarted 1st pass mapping\n" <<flush;
Expand Down

0 comments on commit 56c9fd5

Please sign in to comment.