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

Try excaping tabs for metadata override for report

parent a7d4aa13
Branches
Tags
2 merge requests!68Develop,!67Resolve "Change Single Read to Single End for submitted endness"
Pipeline #9166 canceled with stages
in 3 hours and 20 seconds
...@@ -2024,22 +2024,22 @@ process aggrQC { ...@@ -2024,22 +2024,22 @@ process aggrQC {
echo -e "Submitter\t${speciesM}\t${endsM}\t${strandedM}\t${spikeM}\t-\t-\t'${readLengthM}'\t-" >> metadata.tsv echo -e "Submitter\t${speciesM}\t${endsM}\t${strandedM}\t${spikeM}\t-\t-\t'${readLengthM}'\t-" >> metadata.tsv
if [ "${params.speciesForce}" == "" ] if [ "${params.speciesForce}" == "" ]
then then
input=\$(echo -e "Inferred\t${speciesI}\t") input=\$(echo "Inferred\\t${speciesI}\\t")
else else
input=\$(echo -e "Inferred\t${speciesI} (FORCED)\t") input=\$(echo "Inferred\\t${speciesI} (FORCED)\\t")
fi fi
input=\$(echo -e \${input}"${endsI}\t") input=\$(echo \${input}"${endsI}\\t")
if [ "${params.strandedForce}" == "" ] if [ "${params.strandedForce}" == "" ]
then then
input=\$(echo -e \${input}"${strandedI}\t") input=\$(echo \${input}"${strandedI}\\t")
else else
input=\$(echo -e \${input}"${strandedI} (FORCED)\t") input=\$(echo \${input}"${strandedI} (FORCED)\\t")
fi fi
if [ "${params.spikeForce}" == "" ] if [ "${params.spikeForce}" == "" ]
then then
input=\$(echo -e \${input}"${spikeI}\t-\t-\t-\t-") input=\$(echo \${input}"${spikeI}\\t-\\t-\\t-\\t-")
else else
input=\$(echo -e \${input}"${spikeI} (FORCED)\t-\t-\t-\t-") input=\$(echo \${input}"${spikeI} (FORCED)\\t-\\t-\\t-\\t-")
fi fi
echo -e \${input} >> metadata.tsv echo -e \${input} >> metadata.tsv
echo -e "Measured\t-\t${endsManual}\t-\t-\t'${rawReadsI}'\t'${assignedReadsI}'\t'${readLengthI}'\t'${tinMedI}'" >> metadata.tsv echo -e "Measured\t-\t${endsManual}\t-\t-\t'${rawReadsI}'\t'${assignedReadsI}'\t'${readLengthI}'\t'${tinMedI}'" >> metadata.tsv
......
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