Skip to content

Commit 3fa0a66

Browse files
committed
minor fix (currgroup set to lastgroup)
1 parent adc7097 commit 3fa0a66

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

rlink.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,10 @@ int merge_read_to_group(int n,int np, int p, float readcov, int sno,int readcol,
802802
if(i<readlist[n]->juncs.Count()) {
803803
if(!readlist[n]->juncs[i]->strand) { // check first exon
804804
// see if first exon is big enough
805-
if(!i || !readlist[n]->juncs[i-1]->strand) keep=false;
805+
if(!i || !readlist[n]->juncs[i-1]->strand) {
806+
keep=false;
807+
if(!i && lastgroup) currgroup=lastgroup;
808+
}
806809
}
807810
}
808811
else if(readlist[n]->juncs.Count()){ // this is last exon
@@ -14399,4 +14402,3 @@ int printResults(BundleData* bundleData,int geneno, GStr& refname) {
1439914402
//rc_write_counts(refname.chars(), *bundleData);
1440014403
return(geneno);
1440114404
}
14402-

0 commit comments

Comments
 (0)