viola.Vcf.to_vcf

Vcf.to_vcf(path_or_buf)

Return a vcf-formatted String. Header information will not be reflected. return csv file as str class.

Parameters
  • path_or_buf (str, optional) – File path to save the VCF file.

  • onlyinfo (bool) – if you only want “info”, set this option to True

Returns

return vcf file as a string.

Return type

str