Skip to content
Snippets Groups Projects
Commit 9cf522d5 authored by Cats's avatar Cats
Browse files

fix typing issue in AnnotateSvTypes R code

parent daf19317
Branches gridss
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ task AnnotateSvTypes {
svtype <- simpleEventType(gr)
info(vcf[gr$sourceId])$SVTYPE <- svtype
# GRIDSS doesn't supply a GT, simply set it to 0/1
geno(vcf)$GT <- "0/1"
geno(vcf)$GT <- as.matrix(sapply(row.names(vcf), function(x) {"0/1"}))
# 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
......
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