Skip to content
Snippets Groups Projects
Commit e1806e2e authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

add summary file to hisat2 task

parent 44a372ed
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@ task Hisat2 {
String readgroup
String platform = "illumina"
Boolean downstreamTranscriptomeAssembly = true
String summaryFilePath = basename(outputBam, ".bam") + ".summary.txt"
Int threads = 1
String memory = "48G"
......@@ -55,6 +56,7 @@ task Hisat2 {
--rg 'LB:~{library}' \
--rg 'PL:~{platform}' \
~{true="--dta" false="" downstreamTranscriptomeAssembly} \
--summary-file ~{summaryFilePath} \
| samtools sort > ~{outputBam}
samtools index ~{outputBam} ~{bamIndexPath}
}
......@@ -62,6 +64,7 @@ task Hisat2 {
output {
File bamFile = outputBam
File bamIndex = bamIndexPath
File summaryFile = summaryFilePath
}
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