Hi everyone,
I am new in plink and I am sorry for my naive question. I have 80 VCF files (1 per patient), and I would like to create plink files (map and ped) for further analyses. I tried to open them with plink2, to convert them to BCF with BCFtools or to create plink files with VCFtools but all gave me errors. Do you think I need to merge the 80 VCF first ? Do you have any other ideas ?
Thank you a lot in advance, Best, Lenha
You should be able to convert a single VCF to plink format using
plink --vcf <input_vcf_name> --recode --out <output_plink_name>
. Are you able to convert one file successfully, or if not, what errors does it give you?Thank you very much ! Actually I have tried:
And the error is:
I should merge all the VCF in a one file ?
Would be useful if you post the commands and errors.
Sorry ! :) This the command line that I tried to use and the error: ./plink --noweb --vcf file1.vcf --recode --out plink1
* Unused command line option: --vcf * Unused command line option: file1.vcf ERROR: Problem parsing the command line arguments.