Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Jul 25, 2024
1 parent 29c3e64 commit 33b31ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions src/mapper/variant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
4 changes: 2 additions & 2 deletions tests/data/seqrepo_cache.fasta
Git LFS file not shown

0 comments on commit 33b31ab

Please sign in to comment.