Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

bsgenome objects #18

Open
nsheff opened this issue Apr 7, 2020 · 1 comment
Open

bsgenome objects #18

nsheff opened this issue Apr 7, 2020 · 1 comment

Comments

@nsheff
Copy link
Member

nsheff commented Apr 7, 2020

in this scripts/installRdeps.R you are downloading and installing gigabytes of bsgenome objects.

genomes = list(Hsapiens = c("hg18","hg19","hg38"),
Mmusculus = c("mm10","mm9"))
for(name in names(genomes)) {
for(genome in genomes[[name]]) {
# should install non-masked too
.install_pkg(p=paste0("BSgenome.", name,
".UCSC.", genome,".masked"),
bioc=TRUE)
}

@nsheff
Copy link
Member Author

nsheff commented Apr 7, 2020

The problem is: I may not even want these genomes. So...

  1. the gc content calculation in bedstat should be optional, or should see if you have the correct object installed or something.

  2. the tutorial should not force you to download all this data for all these genomes. it could be an optional step? further, the tutorial doesn't even use all of these, so it should only even offer as an option to download the ones it actually uses.

  3. perhaps we should see if there's a way to do a gc content calc without these objects.

@nsheff nsheff mentioned this issue Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant