Open leedchou opened 5 months ago
Hi, I have the same issue. Do you know the solution to avoid this error?
Best, Dat
I'm struggling with the same error on a small dataset. This error is not present in GLIMPSE version1. Here is some code to replicate the error.
wget https://raw.githubusercontent.com/nf-core/test-datasets/phaseimpute/hum_data/panel/chr21/1000GP.chr21.s.norel.vcf.gz
wget https://raw.githubusercontent.com/nf-core/test-datasets/phaseimpute/hum_data/panel/chr21/1000GP.chr21.s.norel.vcf.gz.csi
GLIMPSE_chunk \
--input 1000GP.chr21.s.norel.vcf.gz --region chr21:16570000-16610000 \
--window-size 10000 --window-count 400 --buffer-size 1000 --buffer-count 30 \
--output test_chunks.txt # Give +buffer:[chr21:16570070-16592229] and +buffer:[chr21:16588251-16609998]
GLIMPSE2_chunk \
--input 1000GP.chr21.s.norel.vcf.gz --region chr21:16570000-16610000 \
--sequential --window-mb 0.01 --window-cm 0.01 --window-count 400 --buffer-mb 0.001 --buffer-cm 0.001 --buffer-count 30 \
--output test_chunks.txt # Give Segmentation fault
GLIMPSE2_chunk \
--input 1000GP.chr21.s.norel.vcf.gz --region chr21:16570000-16610000 \
--sequential --window-mb 0.01 --window-cm 0.01 --window-count 200 --buffer-mb 0.001 --buffer-cm 0.001 --buffer-count 30 \
--output test_chunks.txt # Give +buffer:[chr21:16570070-16609998] and +buffer:[chr21:16570070-16609998]
Hi,
I was trying different window and buffer parameters, getting weird results. When I run chunk with
window-cm
andwindow-mb
less equal 1, whateverbuffer-cm
andbuffer-mb
is, buffer is always like +- 1,000,000bp based on window size. Below is an example:Moreover, it caused errors when running ligate like:
[31mERROR: [0mThree files overlapping at position: 1005908
Is that a bug?
Best regards, Leed