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 {
String? preCommand
String tool_jar
Array[File]+ inputFiles
String stdoutFile
String? sample
String? library
String? readgroup
......@@ -81,12 +80,11 @@ task SampleConfig {
${"--library " + library} \
${"--readgroup " + readgroup} \
${"--jsonOutput " + jsonOutputPath} \
${"--tsvOutput " + tsvOutputPath} \
> ${stdoutFile}
${"--tsvOutput " + tsvOutputPath}
}
output {
File keysFile = stdoutFile
File keysFile = stdout()
File? jsonOutput = jsonOutputPath
File? tsvOutput = tsvOutputPath
}
......
......@@ -278,7 +278,7 @@ task SplitNCigarReads {
output {
File bam = output_bam
File bam_index = sub(output_bam, ".bam$", ".bai")
File bam_index = sub(output_bam, "\\.bam$", ".bai")
}
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