-
Notifications
You must be signed in to change notification settings - Fork 13
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
Error in standardize_subset #109
Comments
Hi @PhoebeGuo97, it looks like you're following the documentation from I realize this is a bit confusing as the documentation website has not yet been updated (i have to get it passing all GitHub Actions checks first). So in the meantime, please follow the documentation via the |
Hi @bschilder, I tried using echolocatoR 2.0 and running the example. I got a new error: Error: object 'find_executables_remote' is not exported by 'namespace:echoconda'. |
Hi @PhoebeGuo97, sorry for the delay. This was due to a update in
Best, |
After reinstalling, can you try the following example @PhoebeGuo97 ? This seems to work for me. #### Munge sumstats ####
fullSS_path <- MungeSumstats::format_sumstats(path = "https://ctg.cncr.nl/documents/p1651/AD_sumstats_Jansenetal_2019sept.txt.gz",
ref_genome = "GRCH37",
tabix_index=FALSE,
force_new=TRUE)
#### Prepare topSNPs dataframe ####
topSNPs <- echodata::import_topSNPs(topSS = "https://static-content.springer.com/esm/art%3A10.1038%2Fs41588-018-0311-9/MediaObjects/41588_2018_311_MOESM3_ESM.xlsx",
sheet = "Table S2",
startRow=5,
cols=1:13,
munge = TRUE)
#### Run echolocatoR ####
res <- echolocatoR::finemap_loci(
fullSS_path = fullSS_path,
topSNPs = topSNPs[1:2,], # test just the first 2 loci
finemap_methods = c("ABF","FINEMAP","SUSIE"),
dataset_name = "Jansen2019",
fullSS_genome_build = "hg19",
bp_distance = 1000,
munged = TRUE) |
Hi @bschilder, thanks for the update. I can successfully run the example. However, if I add "LD_reference = "UKB" in fine map_loci(), I will get ModuleNotFoundError: No module named 'scipy' at Step 2 ▶▶▶ Extract Linkage Disequilibrium and other steps won't be finished. Could you please let me know how to fix it? Thanks! |
1. Bug description
Due to an issue as described in https://github.com/neurogenomics/MungeSumstats/issues/117, I ran MSS with tabix_index=FALSE and then ran tabix.createIndex(fullSS_path). After that, running finemap_loci got an error: Error in standardize_subset(locus = locus, top_SNPs = top_SNPs, fullSS_genome_build = fullSS_genome_build, :
Could not find any rows in full data that matched query :(
Any help will be appreciated!
Expected behaviour
(A clear and concise description of what you expected to happen.)
2. Reproducible example
Code
Console output
Data
https://ctg.cncr.nl/documents/p1651/AD_sumstats_Jansenetal_2019sept.txt.gz
3. Session info
(Add output of the R function
utils::sessionInfo()
below. This helps us assess version/OS conflicts which could be causing bugs.)The text was updated successfully, but these errors were encountered: