Skip to content
Snippets Groups Projects
Commit 7e142153 authored by Cats's avatar Cats
Browse files

stdout to file

parent 2aff5d1d
No related branches found
No related tags found
1 merge request!14add limitBAMsortRAM to STAR and make sampleConfig write to file
......@@ -60,6 +60,7 @@ task SampleConfig {
String? preCommand
String tool_jar
Array[File]+ inputFiles
String stdoutFile
String? sample
String? library
String? readgroup
......@@ -80,14 +81,14 @@ task SampleConfig {
${"--library " + library} \
${"--readgroup " + readgroup} \
${"--jsonOutput " + jsonOutputPath} \
${"--tsvOutput " + tsvOutputPath}
${"--tsvOutput " + tsvOutputPath} \
> ${stdoutFile}
}
output {
Array[String] keys = read_lines(stdout())
File keysFile = stdoutFile
File? jsonOutput = jsonOutputPath
File? tsvOutput = tsvOutputPath
Object values = if (defined(tsvOutput) && size(tsvOutput) > 0) then read_map(tsvOutput) else { "": "" }
}
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