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

Remove intermediate bash variables

parent 0eee8782
Branches
Tags
2 merge requests!37v0.0.1,!36Metadata output update
Pipeline #7791 failed with stages
in 1 minute and 44 seconds
...@@ -877,10 +877,7 @@ process countData { ...@@ -877,10 +877,7 @@ process countData {
echo -e "LOG: counted" >> ${repRID}.countData.log echo -e "LOG: counted" >> ${repRID}.countData.log
# extract assigned reads # extract assigned reads
assignedReads=\$(grep -m 1 'Assigned' *.countData.summary | grep -oe '\\([0-9.]*\\)') grep -m 1 'Assigned' *.countData.summary | grep -oe '\\([0-9.]*\\)') > assignedReads.csv
echo -e \${assignedReads} > assignedReads.csv
echo -e "LOG: assigned reads: "\${assignedReads} >> ${repRID}.countData.log
# calculate TPM from the resulting countData table # calculate TPM from the resulting countData table
echo -e "LOG: calculating TPM with R" >> ${repRID}.countData.log echo -e "LOG: calculating TPM with R" >> ${repRID}.countData.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