Skip to content
Snippets Groups Projects
Commit a6f81d20 authored by António Paulo's avatar António Paulo
Browse files

add GATK LearnReadOrientationModel as a task

parent 8f69ed0d
No related branches found
No related tags found
No related merge requests found
...@@ -298,6 +298,34 @@ task MuTect2 { ...@@ -298,6 +298,34 @@ task MuTect2 {
} }
} }
task LearnReadOrientationModel {
input {
Array[File] f1r2TarGz
Int memory = 4
Float memoryMultiplier = 2
String dockerImage = "quay.io/biocontainers/gatk4:4.1.2.0--1"
}
command {
set -e
gatk --java-options -Xmx~{memory}G \
LearnReadOrientationModel \
-I ~{sep=" -I " f1r2TarGz} \
-O "artifact-priors.tar.gz"
}
output {
File artifactPriorTable = "artifact-priors.tar.gz"
}
runtime {
docker: dockerImage
memory: ceil(memory * memoryMultiplier)
}
}
task SplitNCigarReads { task SplitNCigarReads {
input { input {
File inputBam File inputBam
......
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