Skip to content
Snippets Groups Projects
Commit 52a6e6b1 authored by Cats's avatar Cats
Browse files

use stdout() and fix regex

parent 836e1648
No related branches found
No related tags found
1 merge request!14add limitBAMsortRAM to STAR and make sampleConfig write to file
...@@ -60,7 +60,6 @@ task SampleConfig { ...@@ -60,7 +60,6 @@ task SampleConfig {
String? preCommand String? preCommand
String tool_jar String tool_jar
Array[File]+ inputFiles Array[File]+ inputFiles
String stdoutFile
String? sample String? sample
String? library String? library
String? readgroup String? readgroup
...@@ -81,12 +80,11 @@ task SampleConfig { ...@@ -81,12 +80,11 @@ task SampleConfig {
${"--library " + library} \ ${"--library " + library} \
${"--readgroup " + readgroup} \ ${"--readgroup " + readgroup} \
${"--jsonOutput " + jsonOutputPath} \ ${"--jsonOutput " + jsonOutputPath} \
${"--tsvOutput " + tsvOutputPath} \ ${"--tsvOutput " + tsvOutputPath}
> ${stdoutFile}
} }
output { output {
File keysFile = stdoutFile File keysFile = stdout()
File? jsonOutput = jsonOutputPath File? jsonOutput = jsonOutputPath
File? tsvOutput = tsvOutputPath File? tsvOutput = tsvOutputPath
} }
......
...@@ -278,7 +278,7 @@ task SplitNCigarReads { ...@@ -278,7 +278,7 @@ task SplitNCigarReads {
output { output {
File bam = output_bam File bam = output_bam
File bam_index = sub(output_bam, ".bam$", ".bai") File bam_index = sub(output_bam, "\\.bam$", ".bai")
} }
runtime { runtime {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment