Open pdimens opened 2 weeks ago
Offhand, no, I don't think I've seen this before. Did you try re-running it and see if it worked? Does it seem to be happening consistently for a given region?
I often see weird errors driven by running out of memory in a multicore job but those error messages look different normally. Any chance that could be an issue here?
Still not sure what caused this, but my guess is something to do with the container it ran in.
Nope, I'm getting this error consistently for these data. Is there some kind of debugging information I can provide to help diagnose this?
Hi,
For debugging, please first show the sessionInfo()
.
I would also suggest
nCores=1
I am guessing there probably are NAs in priorSum_m
returned in HMM for your data after running few iterations.
@Zilong-Li here is the session info. In the meantime, I'm running it with a single core. Data's big, might take a while.
> sessionInfo()
R version 4.2.3 (2023-03-15)
Platform: x86_64-conda-linux-gnu (64-bit)
Running under: Rocky Linux 8.6 (Green Obsidian)
Matrix products: default
BLAS/LAPACK: /lustre1/home2/nt246_0001/pd348/.snakemake/conda/cc0299658c70184c6a34b389b25ac216_/lib/libopenblasp-r0.3.27.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] parallel stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] STITCH_1.6.8 rrbgen_0.0.6
loaded via a namespace (and not attached):
[1] compiler_4.2.3 Rcpp_1.0.12
Can you re-try setting S=1, while S > 1 should be supported, perhaps there are some weird edge case going on?
Maybe after that, can you re-try with the latest version of STITCH, just in case that fixes it?
Since it crashed on iteration 4, and that is when the "shuffle haplotype" heuristic comes on, you might also want to change this shuffleHaplotypeIterations = c(4, 8, 12, 16)
to something like shuffleHaplotypeIterations = c(8, 12, 16)
and see what happens
Hello, I've been running stitch a bunch and this is the first time I'm seeing this particular error:
Is this something you have seen before?
For context, this is how STITCH was run: