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