Hello,
Thanks for maintaining StructuralVariantAnnotation! I'm attempting to convert VCFs to .bedpe files using the following code:
vcf <- VariantAnnotation::readVcf(opt$vcf_path)
brs <- StructuralVariantAnnotation::breakpointRanges(
vcf,
info_columns = names(vcf@info)
)
bp_df <- StructuralVariantAnnotation::breakpointgr2bedpe(brs)
I was hoping the info fields preserved by breakpointRanges() would also be preserved as additional columns but this is not the case. Could this be implemented as an option, or could you suggest a workaround? Thanks.