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

add GATK GetPileupSummaries as a task

parent 7f057825
No related branches found
No related tags found
No related merge requests found
......@@ -354,6 +354,41 @@ task MergeStats {
}
}
task GetPileupSummaries {
input {
String sampleName
File sampleBam
File sampleBamIndex
File variantsForContamination
File variantsForContaminationIndex
File sitesForContamination
File sitesForContaminationIndex
Int memory = 4
Float memoryMultiplier = 1.5
String dockerImage = "quay.io/biocontainers/gatk4:4.1.2.0--1"
}
command {
set -e
gatk --java-options -Xmx~{memory}G \
GetPileupSummaries \
-I ~{sampleBam} \
-V ~{variantsForContamination} \
-L ~{sitesForContamination} \
-O ~{sampleName + "-pileups.table"}
}
output {
File pileups = sampleName + "-pileups.table"
}
runtime {
docker: dockerImage
memory: ceil(memory * memoryMultiplier)
}
}
task SplitNCigarReads {
input {
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