Am receiving this error and not sure how to continue. I am trying to annotate my ChIP-seq peaks to various loci and am using the 'annotatr' package.
Workflow:
library(annotatr) data <- read_regions(con = "TRIM28_MACS2.broadPeak.forR.bed", genome = 'hg38', format = 'bed') annots <- c("hg38_basicgenes", "hg38_genes_intergenic", "hg38_genes_firstexons", "hg38_genes_intronexonboundaries", "hg38_lncrna_gencode") annotations <- build_annotations(genome = "hg38", annotations = annots)
At this point I receive the following error:
'select()' returned 1:1 mapping between keys and columns Building promoters... Building 1to5kb upstream of TSS... Building intergenic... Building 5UTRs... Building 3UTRs... Building exons... Building first exons... Building introns... Building intron exon boundaries... updating metadata: retrieving 1 resource |===========================================================================================| 100% snapshotDate(): 2016-10-11 Building lncRNA transcripts... require(“rtracklayer”) downloading from ‘https://annotationhub.bioconductor.org/fetch/56279’ retrieving 1 resource |===========================================================================================| 100% Error in file(file, "rt") : cannot open connection In addition: Warning message: In valid.GenomicRanges.seqinfo(x, suggest.trim = TRUE) : GRanges object contains 131 out-of-bound ranges located on sequences chr1_GL383518v1_alt, chr2_GL383522v1_alt, chr5_GL339449v2_alt, chr5_KI270795v1_alt, chr5_KI270898v1_alt, chr6_KI270797v1_alt, chr6_KI270798v1_alt, chr6_KI270801v1_alt, chr7_GL383534v2_alt, chr7_KI270803v1_alt, chr7_KI270806v1_alt, chr7_KI270809v1_alt, chr8_KI270821v1_alt, chr9_GL383540v1_alt, chr9_GL383541v1_alt, chr11_KI270902v1_alt, chr12_GL383551v1_alt, chr12_GL383553v2_alt, chr12_KI270834v1_alt, chr14_KI270847v1_alt, chr15_KI270850v1_alt, chr16_KI270854v1_alt, chr17_JH159146v1_alt, chr17_JH159147v1_alt, chr17_KI270857v1_alt, chr17_KI270860v1_alt, chr19_GL383575v2_alt, chr19_KI270866v1_alt, chr19_KI270884v1_alt, chr19_KI270885v1_alt, chr19_KI270889v1_alt, chr19_KI270890v1_alt, chr19_KI270891v1_alt, chr19_KI270915v1_alt, chr19_KI270916v1_alt, chr19_KI270919v1_alt, chr19_KI270922v1_alt, chr19_KI270929v1_alt, chr19_KI270930v1_alt, chr19_KI270931v1_alt, chr19_KI270932v1_alt, chr19_KI270933v1_alt, [... truncated]
Any ideas?