diff options
Diffstat (limited to 'biology/bowtie2/files/patch-aligner__result.cpp')
-rw-r--r-- | biology/bowtie2/files/patch-aligner__result.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/biology/bowtie2/files/patch-aligner__result.cpp b/biology/bowtie2/files/patch-aligner__result.cpp new file mode 100644 index 000000000000..4a6c9f729522 --- /dev/null +++ b/biology/bowtie2/files/patch-aligner__result.cpp @@ -0,0 +1,13 @@ +https://github.com/BenLangmead/bowtie2/issues/81 + +--- aligner_result.cpp.orig 2016-12-30 15:40:06 UTC ++++ aligner_result.cpp +@@ -1130,7 +1130,7 @@ bool AlnFlags::printYF(BTString& o, bool + else if(!nfilt_ ) flag = "NS"; + else if(!scfilt_ ) flag = "SC"; + else if(!qcfilt_ ) flag = "QC"; +- if(flag > 0) { ++ if(*flag != '\0') { + if(!first) o.append('\t'); + o.append("YF:Z:"); + o.append(flag); |