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

Handle blank endness better

parent 538a5074
Branches
Tags
2 merge requests!65Develop,!64Resolve "samtools sort: couldn't allocate memory for bam_mem"
......@@ -10,6 +10,7 @@
* Add error output for no fastq's
* Update input bag export config to only fetch fastq's that match *[_.]R[1-2].fastq.gz naming convention
* Remove check for multiple fastq check in parse metadata (redundant and no longer valid)
* Handle blank submitted endness better
*Known Bugs*
* Override params (inputBag, fastq, species) aren't checked for integrity
......
......@@ -337,12 +337,10 @@ process parseMetadata {
elif [ "\${endsRaw}" == "Paired End" ]
then
endsMeta="pe"
else
endsMeta=\${endsRaw}
fi
if [ "\${endsRaw}" == "" ]
elseif [ "\${endsRaw}" == "nan" ]
then
endsRaw="_No value_"
endsMeta="NA"
fi
# ganually get endness
......
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