reconstructCDS: Reconstruct CDS with alternative internal and downstream...

Description Usage Arguments Value Author(s) Examples

View source: R/old_reconstructCDS.R

Description

This function will add alternative segments from a query transcript into a reference CDS from the same gene and generate a new ORF

Note: This function will not insert/remove first exons.

Usage

1
2
3
4
5
6
7
8
reconstructCDS(
  queryTranscript,
  refCDS,
  fasta,
  txrevise_out = NULL,
  gene_id,
  transcript_id
)

Arguments

queryTranscript

A GRanges object containing exon structure of a query transcript from the same gene family

refCDS

A GRanges object containing CCDS information of a gene family

fasta

Fasta sequence of the genome

txrevise_out

Optional. GRangesobject from 'indentifyAddedRemovedRegions()' or 'testTXforStart()' output. ?indentifyAddedRemovedRegions or ?testTXforStart for more information. Arguments refCDS and queryTranscript is not mandatory if this argument is provided

Value

A list containing: (1) A GRanges Object of new ORF, or NA if no ORF is found (2) TRUE/FALSE object on whether ORF is an alternative CDS transcript

Author(s)

Fursham Hamid

Examples

1
2
library("BSgenome.Mmusculus.UCSC.mm10")
reconstructCDS(ptbp2Data$transcripts$ENSMUST00000197833, ptbp2Data$refCDS, fasta = BSgenome.Mmusculus.UCSC.mm10)

fursham-h/ponder documentation built on Dec. 27, 2019, 12:15 a.m.