Entering edit mode
5.1 years ago
vctrm67
▴
80
I am trying to merge vcfs from GATK's Mutect with bcftools, however I keep getting this message:
The chromosome block 9 is not contiguous, consider running with -a.
I have tried sorting with vcf-tools but I keep getting the same error. Does anyone have any suggestions?
Hello vctrm67 ,
can you please show us the command you have used? Furthermore use
bcftools sort
instead ofvcftools
, becausevcftools
is deprecated.fin swimmer
I used:
for file in *.intervals.vcf; do bcftools sort $file -o ${file}.test.vcf ; done
Then I used:
bcftools concat *.test.vcf -o test.vcf
And did that help?
How are your contigs ('chromosomes') named? - check the VCF header via
bcftools view -h
According to the human_g1k_v37 reference. This is the header: