Open boboppie opened 4 months ago
seqMerge()
needs the same samples or the same variants to merge the files.
Why not use bcftools
to merge the VCF files?
SeqArray_1.44.1 (https://github.com/zhengxwen/SeqArray/commit/702488b6b98156998e07b34b49cfb3585d14e370) should fix this question.
Dear @zhengxwen / @zhengxw-ab ,
Hope you are keeping well.
I was trying to merge two samples:
seqMerge(c("sample_1.gds", "sample_2.gds"), "merged.gds", storage.option="LZMA_RA", verbose=TRUE))
error:
Some additional info:
This looks similar to https://github.com/zhengxwen/SeqArray/issues/41, but I've made sure to sort the VCFs first using
bcftools sort
. Those two samples do not share the exact same variants, should seqMerge work in this case?Many thanks in advance.
Best wishes, Fengyuan