Skip to content

Commit

Permalink
Merge pull request #7 from bento-platform/feat/utr-naming
Browse files Browse the repository at this point in the history
feat: handle unspecified UTR feature naming
  • Loading branch information
davidlougheed authored May 23, 2024
2 parents e4e2e82 + 28ff119 commit e31d419
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bento_reference_service/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def extract_feature_name(record, attributes: dict[str, list[str]]) -> str | None
return f"{transcript_name} 5' UTR" if transcript_name else None
case "3utr" | "three_prime_utr": # 3' untranslated region (UTR)
return f"{transcript_name} 3' UTR" if transcript_name else None
case "utr": # unspecified untranslated region (UTR)
return f"{transcript_name} UTR" if transcript_name else None
case "start_codon":
return f"{transcript_name} start codon" if transcript_name else None
case "stop_codon":
Expand Down

0 comments on commit e31d419

Please sign in to comment.