Skip to content
Snippets Groups Projects
Commit a697e78b authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Fix SE downsample output optional

parent 608bc755
Branches
Tags
2 merge requests!37v0.0.1,!33Resolve "process_qc"
Pipeline #6817 passed with stages
in 9 hours, 22 minutes, and 27 seconds
......@@ -354,7 +354,7 @@ process downsampleData {
output:
path ("sampled.1.fq") into fastqs1Sample
path ("sampled.2.fq") optional true into fastqs2Sample
path ("sampled.2.fq") into fastqs2Sample
path ("${repRID}.downsampleData.{out,err}")
script:
......@@ -367,6 +367,7 @@ process downsampleData {
then
echo "LOG: downsampling single-end trimmed fastq" >> ${repRID}.downsampleData.err
seqtk sample -s100 *trimmed.fq.gz 100000 1> sampled.1.fq 2>> ${repRID}.downsampleData.err
touch sampled.2.fq
elif [ "${ends}" == "pe" ]
then
echo "LOG: downsampling read 1 of paired-end trimmed fastq" >> ${repRID}.downsampleData.err
......
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