Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MADSEq for mouse genome #5

Open
hagen-wende opened this issue Oct 7, 2022 · 1 comment
Open

MADSEq for mouse genome #5

hagen-wende opened this issue Oct 7, 2022 · 1 comment

Comments

@hagen-wende
Copy link

I'm trying to use MADSEQ for mouse aneuploidy, but I already get an error preparing coverage:

aneuploidy_cov = prepareCoverageGC(target_bed=target, bam=aneuploidy_bam, "mm39")
The error is:
Error in h(simpleError(msg, call)) : error in evaluating the argument 'subject' in selecting a method for function 'findOverlaps': object 'gap_gr' not found

Could it be that this is not working for mouse since there are only human gap_gr files in the installations (see attachment)?

Best
Hagen

MADSEQ_gap_gr_files

@tabbzi
Copy link

tabbzi commented Nov 1, 2023

To workaround missing GRanges objects expected by prepareCoverageGC() for non-human genomes, I had initialized empty GRanges objects in my R environment:

gap_gr <- GRanges()
HLA_gr <- GRanges()
AQP7_gr <- GRanges()

Perhaps not a proper solution but it did enable prepareCoverageGC() to run on my data. Better would be to get specific genomic regions for your genome's gaps, HLA locus, and... uh, aquaporin 7 (?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants