Entering edit mode
3.0 years ago
michael.flower.14
▴
200
I can get SHAPEIT to work with the default Plink PED/MAP format input files, but not with a VCF as input.
As an example, here I use the demo data that comes with SHAPEIT, which runs well.
DEMO=/Users/michaelflower/bin/shapeit.v2.904.3.10.0-693.11.6.el7.x86_64/example
shapeit -B $DEMO/gwas.bed $DEMO/gwas.bim $DEMO/gwas.fam \
-M $DEMO/genetic_map.txt \
-O "$DIR"/shapeit/gwas.phased
However, when I try and use the VCF file they provide it errors.
gunzip "$DIR"/shapeit/demo/gwas.vcf.gz
Initially when I run with --input-vcf, like this:
shapeit --input-vcf $DIR/shapeit/demo/gwas.vcf \
M $DEMO/genetic_map.txt \
-O "$DIR"/shapeit/gwas.phased
I get the error:
Phaser mode : unrecognised option '--input-vcf'
And when I try with the abbreviated format:
shapeit -V $DIR/shapeit/demo/gwas.vcf \
M $DEMO/genetic_map.txt \
-O "$DIR"/shapeit/gwas.phased
I just get this printed in the terminal, but no output files are produced in the output directory.
Segmented HAPlotype Estimation & Imputation Tool
* Authors : Olivier DELANEAU, Jean-François ZAGURY & Jonathan MARCHINI
* Contact : olivier.delaneau@gmail.com
* Webpage : http:://www.shapeit.fr
* Version : v2.r648
I'd be very grateful for a little help to get this working, thanks
You should strongly consider using shapeit4 - shapeit2 is about 10 years old now.
Thanks, I'm trying to install shapeit4 with conda, but am getting: