Class: Google::Apis::GenomicsV1beta2::Transcript
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1beta2::Transcript
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb
Overview
A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA.
Instance Attribute Summary collapse
-
#coding_sequence ⇒ Google::Apis::GenomicsV1beta2::TranscriptCodingSequence
The range of the coding sequence for this transcript, if any.
-
#exons ⇒ Array<Google::Apis::GenomicsV1beta2::TranscriptExon>
The exons that compose this transcript.
-
#gene_id ⇒ String
The annotation ID of the gene from which this transcript is transcribed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Transcript
constructor
A new instance of Transcript.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Transcript
Returns a new instance of Transcript
2968 2969 2970 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2968 def initialize(**args) update!(**args) end |
Instance Attribute Details
#coding_sequence ⇒ Google::Apis::GenomicsV1beta2::TranscriptCodingSequence
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,
if any. If there are any exons, the codingSequence 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 will not necessarily match the expected
reference reading frame and coding exon reference bases cannot necessarily be
concatenated to produce the original transcript mRNA.
Corresponds to the JSON property codingSequence
2948 2949 2950 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2948 def coding_sequence @coding_sequence end |
#exons ⇒ Array<Google::Apis::GenomicsV1beta2::TranscriptExon>
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 correspond to
coding DNA sequence.
Exons are ordered by start position and may not overlap.
Corresponds to the JSON property exons
2961 2962 2963 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2961 def exons @exons end |
#gene_id ⇒ String
The annotation ID of the gene from which this transcript is transcribed.
Corresponds to the JSON property geneId
2966 2967 2968 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2966 def gene_id @gene_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2973 2974 2975 2976 2977 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2973 def update!(**args) @coding_sequence = args[:coding_sequence] unless args[:coding_sequence].nil? @exons = args[:exons] unless args[:exons].nil? @gene_id = args[:gene_id] unless args[:gene_id].nil? end |