dandelion.base.core.Dandelion.add_sequence_prefix
- Dandelion.add_sequence_prefix(prefix, sync=True, remove_trailing_hyphen_number=False, **kwargs)[source]
Add prefix to sequence_id and then apply to cell_id as well.
- Parameters:
prefix (str) – Prefix to add to the IDs.
sync (bool, optional) – Whether to apply the same prefix to cell_id, by default True.
remove_trailing_hyphen_number (bool, optional) – Whether to remove trailing hyphen numbers before adding prefix, by default False.
**kwargs – Additional arguments to pass to the update_metadata method
- Return type:
None