Skip to content

Conversation

@jarbesfeld
Copy link
Contributor

Closes #422

A new field called is_exonic is added which indicates whether or not the position at the start or end of a transcript segment occurs on an exon.

@jarbesfeld jarbesfeld self-assigned this Sep 5, 2025
@jarbesfeld jarbesfeld added enhancement New feature or request priority:medium Medium priority labels Sep 5, 2025
zealws
zealws previously approved these changes Sep 5, 2025
Copy link
Contributor

@zealws zealws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

genomic_location: SequenceLocation = Field(
..., description="The genomic position of a transcript segment."
)
is_exonic: bool = Field(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kind of related to this PR... If the genomic location should only contain one of: start or end, then we should add a validator for this (separate issue).

The reason why I was thinking is if there's ever a case where the location would be a region that could include both exon/intron data.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense to me. seg_start and seg_end each should only contain one coordinate as they describe either the start or end of the transcript segment. To confirm, is this something we could add in a different PR?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, create an issue for this

@jarbesfeld jarbesfeld merged commit b75729a into main Sep 7, 2025
18 checks passed
@jarbesfeld jarbesfeld deleted the issue-422 branch September 7, 2025 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority:medium Medium priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add is_exonic field to TxSegment

4 participants