get_ribofasta_anno | R Documentation |
This creates a minimal annotation object from a gencode style fasta
get_ribofasta_anno(ribofasta)
ribofasta |
A gencode style fasta to which RPFs were aligned |
The Ribosome densities are saved in salmon format
An annotation object with cdsstarts/stops
Dermot Harnett, dermot.p.harnett@gmail.com
gtf <- system.file("extdata", "gcv37.anno.chr22.gtf", package = "Ribostan", mustWork = TRUE)
fafile <- system.file("extdata", "chr22.fa.gz", package = "Ribostan", mustWork = TRUE)
file.copy(fafile, ".")
system2("gunzip -f chr22.fa.gz")
fafile <- "chr22.fa"
ext_fasta <- make_ext_fasta(gtf, fafile, outfasta = "tmp.fa", fpext = 50, tpext = 50)
get_ribofasta_anno(ext_fasta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.