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

Fix stranded test

parent 375d8cad
Branches
Tags
2 merge requests!58Develop,!56Resolve "Detect error in inferMetadata for tracking"
Pipeline #8814 failed with stages
in 2 minutes and 3 seconds
......@@ -875,19 +875,21 @@ process checkMetadata {
fi
if [ "${strandedMeta}" != "${strandedInfer}" ]
then
if [ "${strandedMeta}" == "unstranded" ]
then
pipelineError=true
pipelineError_stranded=true
echo -e "LOG: stranded does not match: Submitted=${strandedMeta}; Infered=${strandedInfer}" >> ${repRID}.checkMetadata.log
elif [ "${strandedInfer}" != "forward"] || [ "${strandedInfer}" != "reverse" ]
pipelineError=true
pipelineError_stranded=true
echo -e "LOG: stranded does not match: Submitted=${strandedMeta}; Infered=${strandedInfer}" >> ${repRID}.checkMetadata.log
if [ "${strandedMeta}" == "stranded" ]
then
pipelineError=true
pipelineError_stranded=true
echo -e "LOG: stranded does not match: Submitted=${strandedMeta}; Infered=${strandedInfer}" >> ${repRID}.checkMetadata.log
if [ "${strandedInfer}" == "forward"] || [ "${strandedInfer}" == "reverse" ]
then
pipelineError=false
pipelineError_stranded=false
echo -e "LOG: stranded matches: Submitted=${strandedMeta}; Infered=${strandedInfer}" >> ${repRID}.checkMetadata.log
else
echo -e "LOG: stranded does not match: Submitted=${strandedMeta}; Infered=${strandedInfer}" >> ${repRID}.checkMetadata.log
fi
else
pipelineError_stranded=false
echo -e "LOG: stranded matches: Submitted=${strandedMeta}; Infered=${strandedInfer}" >> ${repRID}.checkMetadata.log
echo -e "LOG: stranded does not match: Submitted=${strandedMeta}; Infered=${strandedInfer}" >> ${repRID}.checkMetadata.log
fi
else
pipelineError_stranded=false
......
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