Merges the alternative chromosomes with their respective reference chromosome, e.g. 22_KI270928V1_ALT-> 22. If
given an unconventional format (None, wrong type) or an unrecognized string, return *
- Parameters:
chromosome_id (str | int | list[str] | list[int] | pandas.Series) – chromosome ID(s) to merge
- Returns:
merged ID(s)
- Return type:
list[str] | str