Skip to content

Commit

Permalink
Fixed a bug that caused output of unmapped mates for single end align…
Browse files Browse the repository at this point in the history
…ments even with --outSAMunmapped None .
  • Loading branch information
alexdobin committed Jan 29, 2016
1 parent 3077a62 commit c708ab0
Show file tree
Hide file tree
Showing 8 changed files with 1,941 additions and 1,938 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* Fixed a bug that caused output of unmapped mates for single end alignments even with --outSAMunmapped None .


STAR 2.5.1b 2016/01/22
======================

Expand Down
Binary file modified bin/Linux_x86_64/STAR
Binary file not shown.
Binary file modified bin/Linux_x86_64/STARlong
Binary file not shown.
Binary file modified bin/Linux_x86_64_static/STAR
Binary file not shown.
Binary file modified bin/Linux_x86_64_static/STARlong
Binary file not shown.
2 changes: 1 addition & 1 deletion source/ReadAlign_outputAlignments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void ReadAlign::outputAlignments() {
unmapType=4;
};

if (unmapType==4)
if (unmapType==4 && P->outSAMunmapped.yes)
{//output unmapped end for single-end alignments
if (P->outSAMbool && !P->outSAMunmapped.keepPairs && outSAMfilterYes)
{
Expand Down
2 changes: 1 addition & 1 deletion source/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define STAR_VERSION "STAR_2.5.1b"
#define STAR_VERSION "STAR_2.5.1b_modified"
3,872 changes: 1,936 additions & 1,936 deletions source/parametersDefault.xxd

Large diffs are not rendered by default.

0 comments on commit c708ab0

Please sign in to comment.