viola.read_vcf

read_vcf(filepath_or_buffer, variant_callser='manta', patient_name=None)

Read vcf file of SV and return Vcf object.

Parameters
  • filepath_or_buffer (str or StringIO) – String path to the vcf file. StringIO is also acceptable. (Wether URL is acceptable or not hasn’t been tested.) (Acceptable types should be extended in the future)

  • variant_caller (str) – Let this function know which SV caller was used to create vcf file.

  • name (patient) –

Return type

A Vcf object