How can I use Annotatr on CDS?
1
0
Entering edit mode
xie186 • 0
@xie186-11029
Last seen 14 months ago
USA

I'm using Annotatr on mm10.

library(annotatr)
#annots =c('mm10_cpg_islands', 'mm10_cpg_shores', 'mm10_cpg_shelves', 'mm10_cpg_inter')
annots = c('mm10_genes_promoters',
'mm10_genes_5UTRs',
'mm10_genes_3UTRs',
'mm10_genes_exons',
'mm10_genes_introns',
"mm10_genes_1to5kb",
'mm10_genes_intergenic')
# Build the annotations (a single GRanges object)
annotations = build_annotations(genome = 'mm10', annotations = annots)


UTRs are already included in exons. Is there a way that I can use CDS instead of exons here? Thanks.

Annotatr CDS Exon UTR • 813 views
1
Entering edit mode
rcavalca ▴ 140
@rcavalca-7718
Last seen 3.8 years ago
United States

Hi, thanks for using annotatr.

The CDS can be used with mm10_genes_cds. For a visual idea of where that falls: http://bioconductor.org/packages/release/bioc/vignettes/annotatr/inst/doc/annotatr-vignette.html#genic-annotations

0
Entering edit mode

I was using 'CDS' instead of 'cds', so it didn't work out. Thanks for developing such a nice package.

0
Entering edit mode

Hi @rcavalca, I'm wondering that whether the parameter "fill_order" is just for the order of the legend? Or it will also be applied to priority information. For example, if there is a region that overlap with both CDS and UTR. The fill order is c("UTR", "CDS"). Will both of them be considered or just "UTR" be considered? Thanks.