Commit b35d8644 authored by bow's avatar bow
Browse files

Remove unecessary zipping

parent fa54c856
......@@ -146,9 +146,8 @@ object ExtractAlignedFastq extends ToolCommand {
def extractReads(memFunc: FastqInput => Boolean,
inputFastq1: FastqReader, outputFastq1: BasicFastqWriter): Unit =
.filter(rec => memFunc(rec._1, rec._2))
.foreach(rec => outputFastq1.write(rec._1))
.filter(rec => memFunc((rec, None)))
.foreach(rec => outputFastq1.write(rec))
* Extracts reads from the given input Fastq pairs and writes to new output Fastq pair files
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment