Skip to content

Preserving Info Fields with breakpointgr2bedpe() #41

@blex-max

Description

@blex-max

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions