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

Fix infer metadata

parent 2c26323b
Branches
Tags
2 merge requests!58Develop,!56Resolve "Detect error in inferMetadata for tracking"
Pipeline #8877 passed with stages
in 4 minutes and 48 seconds
......@@ -804,6 +804,7 @@ process inferMetadata {
echo -e "LOG: inference of strandedness results is: \${spike}" >> ${repRID}.inferMetadata.log
speciesError=false
speciesError_details=""
# determine species
if [ 1 -eq \$(echo \$(expr \${align_hu} ">=" 40)) ] && [ 1 -eq \$(echo \$(expr \${align_mo} "<" 40)) ]
then
......@@ -840,7 +841,7 @@ process inferMetadata {
fi
fi
if [ "\${speciesError" == false ] && [ "${speciesForce}" = "" ]
if [ \${speciesError} ] && [ "${speciesForce}" = "" ]
then
# infer experimental setting from dedup bam
echo -e "LOG: infer experimental setting from dedup bam" >> ${repRID}.inferMetadata.log
......
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