IdentifierTranslationServiceProtocol
- class VmaxBuilder.expression.implementation.IdentifierTranslationServiceProtocol(*args, **kwargs)[source]
Generated: validation needed.
- Description:
Protocol for expression-level identifier translation and transcript mapping.
Public Methods
Generated: validation needed.
Generated: validation needed.
- translate_identifiers(identifiers: Sequence[str], *, source_id_type: str, target_id_type: str, species: str | None, provider: str, max_workers: int, batch_size: int) IdentifierTranslationResult[source]
Generated: validation needed.
- Description:
Translate identifier collection across namespaces.
- Parameters:
identifiers (list[str]) – Source identifiers.
source_id_type (str) – Source identifier namespace.
target_id_type (str) – Target identifier namespace.
species (str | None) – Optional species hint.
provider (str) – Translation provider key.
max_workers (int) – Maximum worker threads.
batch_size (int) – Identifier batch size.
- Returns:
IdentifierTranslationResult – Mapping output.
- build_transcript_gene_dataframe(transcript_ids: Sequence[str], *, transcript_id_type: str, target_gene_id_type: str, species: str | None, provider: str, max_workers: int, batch_size: int) DataFrame[source]
Generated: validation needed.
- Description:
Build transcript-to-gene mapping dataframe.
- Parameters:
transcript_ids (list[str]) – Transcript identifiers.
transcript_id_type (str) – Transcript namespace.
target_gene_id_type (str) – Target gene namespace.
species (str | None) – Optional species hint.
provider (str) – Translation provider key.
max_workers (int) – Maximum worker threads.
batch_size (int) – Identifier batch size.
- Returns:
pd.DataFrame – Transcript mapping table.