diff --git a/src/mapper/variant.rs b/src/mapper/variant.rs index f39288f..302be12 100644 --- a/src/mapper/variant.rs +++ b/src/mapper/variant.rs @@ -705,15 +705,15 @@ impl Mapper { var_c.clone() }; - // Handle case of variant location being 3' UTR (e.g., ins/dup beyond stop codon). - // Here, we can simply return "p.?". - if var_c.get_variant_location() == VariantLocation::ThreePrimeUtr { - return Ok(HgvsVariant::ProtVariant { - gene_symbol: self.fetch_gene_symbol(accession.deref().as_str(), gene_symbol)?, - accession: accession.clone(), - loc_edit: ProtLocEdit::NoProteinUncertain, - }); - } + // // Handle case of variant location being 3' UTR (e.g., ins/dup beyond stop codon). + // // Here, we can simply return "p.?". + // if var_c.get_variant_location() == VariantLocation::ThreePrimeUtr { + // return Ok(HgvsVariant::ProtVariant { + // gene_symbol: self.fetch_gene_symbol(accession.deref().as_str(), gene_symbol)?, + // accession: accession.clone(), + // loc_edit: ProtLocEdit::Unknown, + // }); + // } let reference_data = ref_transcript_data_cached( self.provider.clone(), diff --git a/tests/data/seqrepo_cache.fasta b/tests/data/seqrepo_cache.fasta index d4d44f6..3413c31 100644 --- a/tests/data/seqrepo_cache.fasta +++ b/tests/data/seqrepo_cache.fasta @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e8f50b3ed6c80bc88769c448107d4becbecb58f2f54de5c542345aafbb2334e8 -size 696519 +oid sha256:4c6bf18bf1961d2b3856ee78b4853b4227ac20e215e85c5c24bc99933d5c3ba7 +size 663119