Struct google_api_proto::google::genomics::v1::Transcript
source · pub struct Transcript {
pub gene_id: String,
pub exons: Vec<Exon>,
pub coding_sequence: Option<CodingSequence>,
}
Expand description
A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA.
Fields§
§gene_id: String
The annotation ID of the gene from which this transcript is transcribed.
exons: Vec<Exon>
The exons> that compose this transcript. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes.
Introns are regions of the transcript that are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript that are not exons are introns.
Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the [codingSequence][google.genomics.v1.Transcript.coding_sequence] correspond to coding DNA sequence.
Exons are ordered by start position and may not overlap.
coding_sequence: Option<CodingSequence>
The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the [exons][google.genomics.v1.Transcript.exons], if any. If there are any [exons][google.genomics.v1.Transcript.exons], the [codingSequence][google.genomics.v1.Transcript.coding_sequence] must start and end within them.
Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, [exon.frame][google.genomics.v1.Transcript.Exon.frame] will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA.
Trait Implementations§
source§impl Clone for Transcript
impl Clone for Transcript
source§fn clone(&self) -> Transcript
fn clone(&self) -> Transcript
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Transcript
impl Debug for Transcript
source§impl Default for Transcript
impl Default for Transcript
source§impl Message for Transcript
impl Message for Transcript
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Transcript
impl PartialEq for Transcript
source§fn eq(&self, other: &Transcript) -> bool
fn eq(&self, other: &Transcript) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Transcript
Auto Trait Implementations§
impl Freeze for Transcript
impl RefUnwindSafe for Transcript
impl Send for Transcript
impl Sync for Transcript
impl Unpin for Transcript
impl UnwindSafe for Transcript
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request