Skip to content

Commit

Permalink
🐛 fix name of output_basename
Browse files Browse the repository at this point in the history
  • Loading branch information
sickler-alex committed Jan 25, 2023
1 parent 8092ece commit 003d3b1
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@ arguments:
./.git
mkdir -p analyses/methylation-summary/results/
Rscript 01-create-probe-annotations.R
- position: 99
shellQuote: false
valueFrom: |-
${
if (inputs.output_basename != null) {
var cmd = "for f in analyses/methylation-summary/results/*; do mv \"$f\" \"" + output_basename + "-$f \"; done";
return cmd;
var cmd = " && cd analyses/methylation-summary/results/ && ";
cmd += "for f in *; do mv \"$f\" \"" + inputs.output_basename + "-$f \"; done";
return cmd;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@ arguments:
./.git
mkdir -p analyses/methylation-summary/results/
Rscript 02-calculate-methly-quantiles.R
- position: 99
shellQuote: false
valueFrom: |-
${
if (inputs.output_basename != null) {
var cmd = "for f in analyses/methylation-summary/results/*; do mv \"$f\" \"" + output_basename + "-$f \"; done";
return cmd;
var cmd = " && cd analyses/methylation-summary/results/ && ";
cmd += "for f in *; do mv \"$f\" \"" + inputs.output_basename + "-$f \"; done";
return cmd;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,14 @@ arguments:
touch ./.git/HEAD
mkdir -p analyses/methylation-summary/results
python3 03-methyl-tpm-correlation.py
- position: 99
shellQuote: false
valueFrom: |-
${
if (inputs.output_basename != null) {
var cmd = "for f in analyses/methylation-summary/results/*; do mv \"$f\" \"" + output_basename + "-$f \"; done";
return cmd;
var cmd = " && cd analyses/methylation-summary/results/ && ";
cmd += "for f in *; do mv \"$f\" \"" + inputs.output_basename + "-$f \"; done";
return cmd;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,14 @@ arguments:
touch ./.git/HEAD
mkdir -p analyses/methylation-summary/results
python3 04-tpm-transcript-representation.py
- position: 99
shellQuote: false
valueFrom: |-
${
if (inputs.output_basename != null) {
var cmd = "for f in analyses/methylation-summary/results/*; do mv \"$f\" \"" + output_basename + "-$f \"; done";
return cmd;
var cmd = " && cd analyses/methylation-summary/results/ && ";
cmd += "for f in *; do mv \"$f\" \"" + inputs.output_basename + "-$f \"; done";
return cmd;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@ arguments:
./.git
mkdir -p analyses/methylation-summary/results/
Rscript 05-create-methyl-summary-table.R
- position: 99
shellQuote: false
valueFrom: |-
${
if (inputs.output_basename != null) {
var cmd = "for f in analyses/methylation-summary/results/*; do mv \"$f\" \"" + output_basename + "-$f \"; done";
return cmd;
var cmd = " && cd analyses/methylation-summary/results/ && ";
cmd += "for f in *; do mv \"$f\" \"" + inputs.output_basename + "-$f \"; done";
return cmd;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,14 @@ arguments:
touch ./.git/HEAD
mkdir -p analyses/methylation-summary/results
python3 06-methly-summary-tsv2jsonl.py
- position: 99
shellQuote: false
valueFrom: |-
${
if (inputs.output_basename != null) {
var cmd = "for f in analyses/methylation-summary/results/*; do mv \"$f\" \"" + output_basename + "-$f \"; done";
return cmd;
var cmd = " && cd analyses/methylation-summary/results/ && ";
cmd += "for f in *; do mv \"$f\" \"" + inputs.output_basename + "-$f \"; done";
return cmd;
}
}

Expand Down

0 comments on commit 003d3b1

Please sign in to comment.