[med-svn] [Git][med-team/fastp][upstream] New upstream version 0.23.1+dfsg

Dylan Aïssi (@daissi) gitlab at salsa.debian.org
Fri Nov 19 15:33:06 GMT 2021



Dylan Aïssi pushed to branch upstream at Debian Med / fastp


Commits:
2c6af5bd by Dylan Aïssi at 2021-11-19T16:29:47+01:00
New upstream version 0.23.1+dfsg
- - - - -


3 changed files:

- README.md
- src/common.h
- src/peprocessor.cpp


Changes:

=====================================
README.md
=====================================
@@ -64,7 +64,8 @@ A tool designed to provide fast all-in-one preprocessing for FastQ files. This t
 11. support long reads (data from PacBio / Nanopore devices).
 12. support reading from STDIN and writing to STDOUT
 13. support interleaved input
-14. ...
+14. support ultra-fast FASTQ-level deduplication
+15. ...
 
 This tool is being intensively developed, and new features can be implemented soon if they are considered useful. If you have any additional requirement for `fastp`, please file an issue:https://github.com/OpenGene/fastp/issues/new
 
@@ -93,15 +94,15 @@ https://anaconda.org/bioconda/fastp/badges/version.svg)](https://anaconda.org/bi
 conda install -c bioconda fastp
 ```
 ## or download the latest prebuilt binary for Linux users
-Tthis binary was compiled on CentOS, and tested on CentOS/Ubuntu
+This binary was compiled on CentOS, and tested on CentOS/Ubuntu
 ```shell
 # download the latest build
 wget http://opengene.org/fastp/fastp
 chmod a+x ./fastp
 
-# or download specified version, i.e. fastp v0.20.1
-wget http://opengene.org/fastp/fastp.0.20.1
-mv fastp.0.20.1 fastp
+# or download specified version, i.e. fastp v0.23.1
+wget http://opengene.org/fastp/fastp.0.23.1
+mv fastp.0.23.1 fastp
 chmod a+x ./fastp
 ```
 ## or compile from source


=====================================
src/common.h
=====================================
@@ -1,7 +1,7 @@
 #ifndef COMMON_H
 #define COMMON_H
 
-#define FASTP_VER "0.23.0"
+#define FASTP_VER "0.23.1"
 
 #define _DEBUG false
 


=====================================
src/peprocessor.cpp
=====================================
@@ -109,11 +109,11 @@ void PairEndProcessor::closeOutput() {
     }
     if(mUnpairedLeftWriter) {
         delete mUnpairedLeftWriter;
-        mLeftWriter = NULL;
+        mUnpairedLeftWriter = NULL;
     }
     if(mUnpairedRightWriter) {
         delete mUnpairedRightWriter;
-        mRightWriter = NULL;
+        mUnpairedRightWriter = NULL;
     }
 }
 
@@ -555,11 +555,15 @@ bool PairEndProcessor::processPairEnd(ReadPack* leftPack, ReadPack* rightPack, T
                         }
                     }
                 } else if( r2 != NULL && result2 == PASS_FILTER) {
-                    if(mUnpairedLeftWriter || mUnpairedRightWriter) {
+                    if(mUnpairedRightWriter) {
                         r2->appendToString(unpairedOut2);
                         if(mFailedWriter)
                             or1->appendToStringWithTag(failedOut,FAILED_TYPES[result1]);
-                    } else {
+                    } else if(mUnpairedLeftWriter) {
+                        r2->appendToString(unpairedOut1);
+                        if(mFailedWriter)
+                            or1->appendToStringWithTag(failedOut,FAILED_TYPES[result1]);
+                    }  else {
                         if(mFailedWriter) {
                             or1->appendToStringWithTag(failedOut, FAILED_TYPES[result1]);
                             or2->appendToStringWithTag(failedOut, "paired_read_is_failing");
@@ -648,9 +652,6 @@ bool PairEndProcessor::processPairEnd(ReadPack* leftPack, ReadPack* rightPack, T
     } else if(mUnpairedLeftWriter) {
         mUnpairedLeftWriter->input(tid, unpairedOut1);
         unpairedOut1 = NULL;
-
-        mUnpairedLeftWriter->input(tid, unpairedOut2);
-        unpairedOut2 = NULL;
     }
 
     if(mOptions->split.byFileLines)



View it on GitLab: https://salsa.debian.org/med-team/fastp/-/commit/2c6af5bd4adfd804d6d478e3efcd59b07e5720e6

-- 
View it on GitLab: https://salsa.debian.org/med-team/fastp/-/commit/2c6af5bd4adfd804d6d478e3efcd59b07e5720e6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20211119/c6f3a0a2/attachment-0001.htm>


More information about the debian-med-commit mailing list