Skip to content

This script will convert Unphased vcf file to plink format. The converted file can be used in plink with --file option.

License

Notifications You must be signed in to change notification settings

Dedaniya08/VCF_TO_PLINK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VCF_TO_PLINK

The vcf_to_plink.py script will convert Unphased vcf file to plink format and it is written in Python3. The converted file can be used in plink with --file option.

Usage of the script

The program can be run using the following command
python vcf_to_plink.py -i <vcf_file_name> -o <plink_format_file_name>
To get the above help provide -h in the terminal
python vcf_to_plink.py -h
Two file names are required for the script to run successfully. Input file succeding '-i' is the vcf file name you want to convert. '-o' is the plink formatted output file name. Please don't add any extension after the file name such as '.vcf' or '.ped/.map'. These are all taken care by the script.

About

This script will convert Unphased vcf file to plink format. The converted file can be used in plink with --file option.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%