Skip to content
Snippets Groups Projects
Unverified Commit 69a390a4 authored by Cats's avatar Cats Committed by GitHub
Browse files

Merge pull request #308 from biowdl/gridss

Adjust gridss SV typing task to also filter duplicate records
parents a980f109 b382cf74
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,15 @@ that users understand how the changes affect the new version. ...@@ -9,6 +9,15 @@ that users understand how the changes affect the new version.
--> -->
version 5.1.0-dev version 5.1.0-dev
--------------------------- ---------------------------
+ Mateclever's runtime attribute defaults were changed to:
+ memory: `"250GiB"`
+ timeMinutes: `2880`
+ Clever's Prediction task's runtime attribute defaults were changed to:
+ memory: `"80GiB"`
+ timeMinutes: `2200`
+ The GRIDSS AnnotateSvTypes task now also removes the second breakend of
the breakpoints and single breakends. This will prepare the output better
to be passed into survivor.
+ Updated SURVIVOR version to 1.0.7 + Updated SURVIVOR version to 1.0.7
+ Add a combined samtools dict and samtools faidx task. + Add a combined samtools dict and samtools faidx task.
+ Add a BWA index task. + Add a BWA index task.
......
...@@ -34,8 +34,8 @@ task Mateclever { ...@@ -34,8 +34,8 @@ task Mateclever {
Int maxOffset = 150 Int maxOffset = 150
Int threads = 10 Int threads = 10
String memory = "15GiB" String memory = "250GiB"
Int timeMinutes = 600 Int timeMinutes = 2880
String dockerImage = "quay.io/biocontainers/clever-toolkit:2.4--py36hcfe0e84_6" String dockerImage = "quay.io/biocontainers/clever-toolkit:2.4--py36hcfe0e84_6"
} }
...@@ -94,8 +94,8 @@ task Prediction { ...@@ -94,8 +94,8 @@ task Prediction {
String outputPath = "./clever" String outputPath = "./clever"
Int threads = 10 Int threads = 10
String memory = "55GiB" String memory = "80GiB"
Int timeMinutes = 480 Int timeMinutes = 2200
String dockerImage = "quay.io/biocontainers/clever-toolkit:2.4--py36hcfe0e84_6" String dockerImage = "quay.io/biocontainers/clever-toolkit:2.4--py36hcfe0e84_6"
} }
......
...@@ -119,9 +119,14 @@ task AnnotateSvTypes { ...@@ -119,9 +119,14 @@ task AnnotateSvTypes {
gr <- breakpointRanges(vcf) gr <- breakpointRanges(vcf)
svtype <- simpleEventType(gr) svtype <- simpleEventType(gr)
info(vcf[gr$sourceId])$SVTYPE <- svtype info(vcf[gr$sourceId])$SVTYPE <- svtype
# GRIDSS doesn't supply a GT, so we estimate GT based on AF (assuming CN of 2, might be inaccurate) # GRIDSS doesn't supply a GT, simply set it to 0/1
geno(vcf)$GT <- ifelse(geno(vcf)$AF > 0.75, "1/1", ifelse(geno(vcf)$AF < 0.25, "0/0", "0/1")) geno(vcf)$GT <- as.matrix(sapply(row.names(vcf), function(x) {"0/1"}))
writeVcf(vcf, out_path, index=~{index}) # Select only one breakend per event (also removes single breakends):
# sourceId ends with o or h for paired breakends, the first in the pair
# end with o the second with h. Single breakend end with b, these will
# also be removed since we can't determine the SVTYPE.
gr2 <- gr[grepl(".*o$", gr$sourceId)]
writeVcf(vcf[gr2$sourceId], out_path, index=~{index})
EOF EOF
>>> >>>
......
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