get_genome_annotation: get_genome_annotation() This function derives GRanges objects...

View source: R/get_genome_annotation.R

get_genome_annotationR Documentation

get_genome_annotation() This function derives GRanges objects from the GFF3-formatted input file data. The GFF3 input files should be specified by setup_BWASPR().

Description

get_genome_annotation() This function derives GRanges objects from the GFF3-formatted input file data. The GFF3 input files should be specified by setup_BWASPR().

Usage

get_genome_annotation(inputdf)

Arguments

inputdf

A data frame as returned by setup_BWASPR from the input data file. The data frame contains the directories to specific generic features of DNA and the UTRflag.

Value

A list consisting of GRanges objects that describe generic features of DNA including: gene,exon,pcexon,promoter,CDS,fpUTR,tpUTR, fpUTRnotCDS,tpUTRnotCDS,tpUTRunique,ncexon

Examples

  mydatf <- system.file("extdata","Am.dat",package="BWASPR")
  myparf <- system.file("extdata","Am.par",package="BWASPR")
  myfiles <- setup_BWASPR(datafile=mydatf,parfile=myparf)
  genome <- get_genome_annotation(myfiles$parameters)


BrendelGroup/BWASPR documentation built on June 2, 2025, 7:25 a.m.