Skip to content

Commit f4fa8e8

Browse files
committed
2.7.10b_alpha_220111: Issue #1733: Fixed the issue with counting of intronicAS reads in STARsolo CellReads.stats output with --soloFeatures GeneFull_Ex50pAS option.
1 parent 9ec8b7e commit f4fa8e8

10 files changed

Lines changed: 10 additions & 5 deletions

File tree

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Issue #1733: Fixed the issue with counting of intronicAS reads in STARsolo CellReads.stats output with --soloFeatures GeneFull_Ex50pAS option.
2+
13
STAR 2.7.10b --- 2022/11/01 ::: Bug-fix release.
24
===========================================================================
35
* PR #1638: Increased entropy of shmKey to avoid collisions between genomes. Many thanks to Jeff Hussmann (@jeffhussmann).

bin/Linux_x86_64/STAR

-3.35 MB
Binary file not shown.

bin/Linux_x86_64/STARlong

-3.33 MB
Binary file not shown.

bin/Linux_x86_64_static/STAR

-6.84 MB
Binary file not shown.

bin/Linux_x86_64_static/STARlong

-6.82 MB
Binary file not shown.

bin/MacOSX_x86_64/STAR

-4.85 MB
Binary file not shown.

bin/MacOSX_x86_64/STARlong

-4.83 MB
Binary file not shown.

source/ReadAnnotations.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class ReadAnnotFeature {//annotations for one feature
1010
set<uint32> fSet; //set of genes for this read
1111
vector<set<uint32>> fAlign; //gene for each alignment of this read
1212
uint32 ovType;
13-
enum overlapTypes {none,exonic, exonicAS, intronic, intronicAS};
13+
enum overlapTypes {none, exonic, exonicAS, intronic, intronicAS, N};
1414

1515
void reset() {
1616
fSet={}; fAlign={}; ovType = 0;

source/Transcriptome_alignExonOverlap.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ void Transcriptome::alignExonOverlap(uint nA, Transcript **aAll, int32 strandTyp
2121
//vGeStrOvAl.reserve(256); //TODO: check if this affects speed
2222

2323

24-
typedef array<bool,5> OverlapTypes;
24+
typedef array<bool,6> OverlapTypes;
2525
struct GeneInfo1 {
2626
uint32 g;
2727
uint32 ia;
2828
OverlapTypes ot; //overlap types, prioritized
2929
};
3030
vector<GeneInfo1> vGeneInfo1;
3131
vGeneInfo1.reserve(256); //TODO: check if this affects speed
32-
OverlapTypes otAS={false,true,false,true,false}; //which OverlapTypes is antisense, it will not be counted
32+
OverlapTypes otAS={false,true,false,true,false,true}; //which OverlapTypes is antisense, it will not be counted
3333

3434
/*//GeneFullClosest3p
3535
uint64 minDist3p=(uint64)-1;
@@ -86,6 +86,7 @@ void Transcriptome::alignExonOverlap(uint nA, Transcript **aAll, int32 strandTyp
8686
str1 && nOverlap>exl/2,
8787
!str1 && nOverlap>exl/2,
8888
str1,
89+
!str1
8990
}
9091
});
9192

@@ -207,8 +208,10 @@ void Transcriptome::alignExonOverlap(uint nA, Transcript **aAll, int32 strandTyp
207208
annFeat.ovType = ReadAnnotFeature::overlapTypes::exonicAS;
208209
} else if (otFinal[4]) {
209210
annFeat.ovType = ReadAnnotFeature::overlapTypes::intronic;
210-
} else {
211+
} else if (otFinal[5]) {
211212
annFeat.ovType = ReadAnnotFeature::overlapTypes::intronicAS;
213+
} else {
214+
annFeat.ovType = ReadAnnotFeature::overlapTypes::none; //intergenic. i.e. no overlap with genes
212215
};
213216

214217
// annFeat.fSet={};

source/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define STAR_VERSION "2.7.10b"
1+
#define STAR_VERSION "2.7.10b_alpha_220111"

0 commit comments

Comments
 (0)