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

Convert num read length to str in bash

parent 42b5b070
Branches
Tags
2 merge requests!37v0.0.1,!36Metadata output update
Pipeline #7773 failed with stages
in 1 minute and 30 seconds
......@@ -39,7 +39,8 @@ parseMetadata:
- spike=$(singularity run 'docker://bicf/python3:2.0.1_indev' python3 ./workflow/scripts/parseMeta.py -r Replicate_RID -m "./test_data/meta/metaTest.csv" -p spike)
- species=$(singularity run 'docker://bicf/python3:2.0.1_indev' python3 ./workflow/scripts/parseMeta.py -r Replicate_RID -m "./test_data/meta/metaTest.csv" -p species)
- readLength=$(singularity run 'docker://bicf/python3:2.0.1_indev' python3 ./workflow/scripts/parseMeta.py -r Replicate_RID -m "./test_data/meta/metaTest.stageNew.csv" -p readLength)
- echo -e "${endsMeta},${endsManual},${stranded},${spike},${species},${readLength},${exp},${study},${rep}" > design.csv
- readLength=""${readLength}
echo -e "${endsMeta},${endsManual},${stranded},${spike},${species},${readLength},${exp},${study},${rep}" > design.csv
- pytest -m parseMetadata
inferMetadata:
......
......@@ -239,6 +239,7 @@ process parseMetadata {
# get read length metadata
readLength=\$(python3 ${script_parseMeta} -r ${repRID} -m "${experiment}" -p readLength)
readLength=""\${readLength}
echo -e "LOG: read length metadata parsed: \${readLength}" >> ${repRID}.parseMetadata.log
# gave design file
......
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