viola.Bedpe.set_value_for_info_by_id
- Bedpe.set_value_for_info_by_id(table_name, sv_id, value_idx, value)
Set value to the specified info table by sv_id. The value will be overwrited if it already exists.
- Parameters
table_name (str) – Name of the INFO table.
sv_id (str or int) – Target SV ID
value_idx (int, default 0) – 0-origin index. This argument should be 0 in most cases unless multiple values are required such as CIPOS and CIEND.
value (int or str) – INFO value to be set.