Open Npaffen opened 1 year ago
Hi,
--reference is to specify a reference panel of haplotypes (i.e. 1000 Genomes), not the reference genome.
Best,
O
reference panel of haplotypes (i.e. 1000 Genomes),
Hello, I have encountered the same problem, how to get reference panel of haplotypes? please
shapeit4 fails to find/open the index file for the reference file hg19.fa. This file exists and is in the same folder as hg19.fa.
ls in the folder delivers the following outcome
shapeit4 --input /home/oem/Documents/GitHub/Genomics_prac_guide/trio/SomeName/SomeName_trio_chrMT.bcf --map /home/oem/Documents/GitHub/Genomics_prac_guide/map/genetic_map.37/chrMT.b37.gmap.gz --region MT --reference /home/oem/Documents/GitHub/Genomics_prac_guide/reference/hg19.fa --output /home/oem/Documents/GitHub/Genomics_prac_guide/trio/SomeName/SomeName_trio_chrMT_phased.bcf
I tried to manually recreate the index file using
samtools faidx hg19.fa
still the error persists. Does Reference VCF in the output of shapeit4 indicate that the reference file has to be in the format of vcf/bcf due to the use of HTSlib? `Files: