viola.Vcf.append_formats

Vcf.append_formats(base_df, left_on='id')

Append formats to the right of the base_df, based on the SV id columns. If the name of the SV id column in base_df is not ‘id’, specify column name into left_on argument.

Parameters
  • base_df (DataFrame) – The DataFrame to which the INFO tables are appended.

  • left_on (str, default 'id') – The name of SV id column of base_df

Returns

A DataFrame which the formats tables are added.

Return type

DataFrame