gctree.isotyping.explode_idmap
- gctree.isotyping.explode_idmap(idmap, isotype_map)[source]
Uses provided mapping of original sequence IDs to observed isotypes to ‘explode’ the provided mapping of unique sequence IDs to original sequence IDs.
- Parameters:
- Return type:
- Returns:
A dictionary mapping unique sequence IDs to dictionaries, mapping isotype names to sets of original sequence IDs.