powered by
Convert a vcf to a bedpe file. Currently, it needs to read into R via read.vcf
vcf2bedpe(x, filename = NULL, header = FALSE, verbose = TRUE)
A bedpe styled R object or an external file
a vcf object
the name of the output bedpe file, if NULL then bedpe is not exported
indicate if the bed file has header or not when exported
detailed messages
Helena Winata
gridss.vcf.example <- system.file("extdata/gridssSV.vcf.gz", package = "bedr") x <- read.vcf(gridss.vcf.example, split.info = TRUE) x.bedpe <- vcf2bedpe(x)
Run the code above in your browser using DataLab