viola.Vcf.add_info_table
- Vcf.add_info_table(table_name, df)
Add a new INFO table to self.
- Parameters
table_name (str) – The name of the table to be added.
df (DataFrame) – The table (pandas DataFrame) to be added. The column names should be following: 1st column: “id” 2nd column: “value_idx” 3rd column: table_name (equivalent to the first argument of this function)