-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
Hi,
I'm trying to run a minimal test dataset for QUILT2
in nf-core.
However I ran into the following error when using a small region.
QUILT2.R \
--bamlist=$BAM_LIST \
--genetic_map_file=map.gz \
\
\
--chr=chr22 \
--regionStart=16570000 \
--regionEnd=16610000 \
--nGen=100 \
--buffer=10000 \
--nCores=1 \
--outputdir="." \
--reference_vcf_file=1000GP.chr22.vcf.gz \
--seed=1
cat <<-END_VERSIONS > versions.yml
"QUILT_QUILT2":
r-base: $(Rscript -e "cat(strsplit(R.version[['version.string']], ' ')[[1]][3])")
r-quilt2: $(Rscript -e "cat(as.character(utils::packageVersion(\"QUILT2\")))")
END_VERSIONS
Command exit status:
1
Command output:
(empty)
Command error:
[2025-04-29 14:47:08] Using reference information from:1000GP.chr22.vcf.gz
[2025-04-29 14:47:08] Using strategy of first imputing using common SNPs and then using all SNPs, with allele frequency threshold:0.001
[2025-04-29 14:47:08] Begin get sites and haplotypes from reference vcf
[2025-04-29 14:47:09] End get sites and haplotypes from reference vcf
[2025-04-29 14:47:09] There were 0 skipped variants when processing the reference VCF (not bi-allelic, not a SNP, not unique position
[2025-04-29 14:47:09] There are 0 common and 0 rare (0 total) variants in the left buffer region 16560000 <= position < 16570000
[2025-04-29 14:47:09] There are 419 common and 484 rare (903 total) variants in the central region 16570000 <= position <= 16610000
[2025-04-29 14:47:09] There are 0 common and 0 rare (0 total) variants in the right buffer region 16610000 < position <= 16620000
[2025-04-29 14:47:09] Getting and validating genetic map
[2025-04-29 14:47:14] Match genetic map to desired imputation positions
[2025-04-29 14:47:14] Done with getting genetic map
[2025-04-29 14:47:18] There are 0 regions out of 13 below minimum recombination rate, setting them to minimum rate
[2025-04-29 14:47:18] There are 0 regions out of 13 above maximum recombination rate, setting them to maximum rate
[2025-04-29 14:47:18] Using nMaxDH = 77
[2025-04-29 14:47:18] Build mspbwt indices
[2025-04-29 14:47:18] Done building mspbwt indices
[2025-04-29 14:47:18] Save converted reference haplotypes
[2025-04-29 14:47:18] Done converting reference haplotypes
[2025-04-29 14:47:18] Done processing reference information
[2025-04-29 14:47:18] Get BAM sample names
[2025-04-29 14:47:18] Done getting BAM sample names
[2025-04-29 14:47:18] There are 419 common SNPs and 903 SNPs overall in this region
[2025-04-29 14:47:19] There are 0 regions out of 28 below minimum recombination rate, setting them to minimum rate
[2025-04-29 14:47:19] There are 0 regions out of 28 above maximum recombination rate, setting them to maximum rate
[2025-04-29 14:47:19] Imputing sample: 1
[2025-04-29 14:47:19] The average depth of this sample is:1.004046141607
[2025-04-29 14:47:19] There are 137 reads under consideration
[2025-04-29 14:47:19] i_gibbs=1, i_it = 1 small gibbs
[2025-04-29 14:47:19] i_gibbs=1, i_it = 1 full
[2025-04-29 14:47:19] i_gibbs=1, i_it = 2 small gibbs
[2025-04-29 14:47:19] i_gibbs=1, i_it = 2 full
[2025-04-29 14:47:19] i_gibbs=1, i_it = 3 small gibbs
[2025-04-29 14:47:19] i_gibbs=1, i_it = 3 full
[2025-04-29 14:47:19] i_gibbs=1, i_it = 3 small gibbs (all SNPs)
[2025-04-29 14:47:19] i_gibbs=2, i_it = 1 small gibbs
[2025-04-29 14:47:19] i_gibbs=2, i_it = 1 full
[2025-04-29 14:47:19] i_gibbs=2, i_it = 2 small gibbs
[2025-04-29 14:47:19] i_gibbs=2, i_it = 2 full
[2025-04-29 14:47:19] i_gibbs=2, i_it = 3 small gibbs
[2025-04-29 14:47:19] i_gibbs=2, i_it = 3 full
[2025-04-29 14:47:19] i_gibbs=2, i_it = 3 small gibbs (all SNPs)
[2025-04-29 14:47:19] i_gibbs=3, i_it = 1 small gibbs
[2025-04-29 14:47:19] i_gibbs=3, i_it = 1 full
[2025-04-29 14:47:19] i_gibbs=3, i_it = 2 small gibbs
[2025-04-29 14:47:19] i_gibbs=3, i_it = 2 full
[2025-04-29 14:47:19] i_gibbs=3, i_it = 3 small gibbs
[2025-04-29 14:47:19] i_gibbs=3, i_it = 3 full
Error in mtm[, "index1"] : incorrect number of dimensions
Calls: QUILT ... select_new_haps_mspbwt_v3 -> lapply -> FUN -> lapply -> FUN -> diff
Execution halted
Here is the link to the PR.
Strangely it does work if I use QUILT.R
instead of QUILT2.R
so this might be due to a change between the two version.
Do you know what I should do ?
Metadata
Metadata
Assignees
Labels
No labels