|
28 | 28 | AlignmentResult, |
29 | 29 | MappedScore, |
30 | 30 | ScoreRow, |
31 | | - ScoresetMetadata, |
| 31 | + TargetGene, |
32 | 32 | TargetSequenceType, |
33 | 33 | TargetType, |
34 | 34 | TxSelectResult, |
@@ -535,14 +535,14 @@ def _hgvs_nt_is_valid(hgvs_nt: str) -> bool: |
535 | 535 |
|
536 | 536 |
|
537 | 537 | def _map_protein_coding( |
538 | | - metadata: ScoresetMetadata, |
| 538 | + metadata: TargetGene, |
539 | 539 | records: list[ScoreRow], |
540 | 540 | transcript: TxSelectResult | TxSelectError, |
541 | 541 | align_result: AlignmentResult, |
542 | 542 | ) -> list[MappedScore]: |
543 | 543 | """Perform mapping on protein coding experiment results |
544 | 544 |
|
545 | | - :param metadata: The metadata for a score set |
| 545 | + :param metadata: Target gene metadata from MaveDB API |
546 | 546 | :param records: The list of MAVE variants in a given score set |
547 | 547 | :param transcript: The transcript data for a score set, or an error message describing why an expected transcript is missing |
548 | 548 | :param align_results: The alignment data for a score set |
@@ -582,13 +582,13 @@ def _map_protein_coding( |
582 | 582 |
|
583 | 583 |
|
584 | 584 | def _map_regulatory_noncoding( |
585 | | - metadata: ScoresetMetadata, |
| 585 | + metadata: TargetGene, |
586 | 586 | records: list[ScoreRow], |
587 | 587 | align_result: AlignmentResult, |
588 | 588 | ) -> list[MappedScore]: |
589 | 589 | """Perform mapping on noncoding/regulatory experiment results |
590 | 590 |
|
591 | | - :param metadata: metadata for URN |
| 591 | + :param metadata: Target gene metadata from MaveDB API |
592 | 592 | :param records: list of MAVE experiment result rows |
593 | 593 | :param align_result: An AlignmentResult object for a score set |
594 | 594 | :return: A list of VRS mappings |
@@ -677,7 +677,7 @@ def _construct_vrs_allele( |
677 | 677 |
|
678 | 678 |
|
679 | 679 | def vrs_map( |
680 | | - metadata: ScoresetMetadata, |
| 680 | + metadata: TargetGene, |
681 | 681 | align_result: AlignmentResult, |
682 | 682 | records: list[ScoreRow], |
683 | 683 | transcript: TxSelectResult | TxSelectError | None = None, |
|
0 commit comments