Description Usage Arguments Value
This function creates new GTF entries for a novel terminal exon and all
transcripts in which it is located. As input, the function takes a list of
transcript IDs and the GTF annotations of all exons from the transcripts. A
random exon from each transcript is copied and the start and end coordinates
are exchanged with those of the novel exon. The ranges of each transcript are
adjusted to include the novel exon. The exon_number
and exon_version
are
set to NA. The new exon_id
, transcript_id
and transcript_name
are the
original values with a suffix that identifies the novel exon by its ID: e.g.
exon_id
_ID or transcript_name
_ID.
1 | create_tr_entry(start, end, pred_id, tr_ids, exon_copy, tran)
|
start |
Integer scalar. Start of the novel exon. |
end |
Integer scalar. End of the novel exon. |
pred_id |
Integer scalar. ID of the predicted exon. |
tr_ids |
Character vector. Transcript IDs of all transcripts that contain the novel exon. |
exon_copy |
GRanges object. All exons from the transcripts that contain the novel exon. |
tran |
GRanges object with all transcript annotations from the organism. |
GRanges object with the exon and transcript annotation entries of the novel exon and all exons from the transcripts in tr_ids.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.