Skip to content

bedtoGranges() error #18

@lowerlee

Description

@lowerlee

Hi, I'm trying to download the 2018 ReMap catalogue using the code provided in the github page.

Create a local directory

demo.dir <- "~/ReMapEnrich_demo"
dir.create(demo.dir, showWarnings = FALSE, recursive = TRUE)

Use the function DowloadRemapCatalog

remapCatalog2018hg38 <- downloadRemapCatalog(demo.dir)

Load the ReMap catalogue and convert it to Genomic Ranges

remapCatalog <- bedToGranges(remapCatalog2018hg38)

I have copied and pasted the code and haven't changed any of it, but I'm getting an error when I run the bedtoGranges function:

Error in names(x) <- value :
'names' attribute [1] must be the same length as the vector [0]
In addition: Warning message:
In data.table::fread(path, header = FALSE, sep = "\t", stringsAsFactors = FALSE, :
File '~/ReMapEnrich_demo/remap2018_nr_macs2_hg38_v1_2.bed' has size 0. Returning a NULL data.table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions