Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geno to VCF conversion #67

Open
TD-lab-Wu opened this issue Jun 22, 2020 · 3 comments
Open

Geno to VCF conversion #67

TD-lab-Wu opened this issue Jun 22, 2020 · 3 comments

Comments

@TD-lab-Wu
Copy link

Hi, I have some data from David Reich Lab. I want to convert it into VCF file. Could you please guide me how can I do this. Here I attached a sample dataset.

sample_data.zip

Thanks in anticipation.

@josephresearcher
Copy link

josephresearcher commented Dec 29, 2020

hi
first convert by convertf to PACKEDPED format command:
convertf -p par.txt
par.txt create and edit:
genotypename: sample_data.geno
snpname: sample_data.snp
indivname: sample_data.ind
outputformat: PACKEDPED
genotypeoutname: sample_data.bed
snpoutname: sample_data.bim
indivoutname: sample_data.fam

Then

with PLINK 1.9
With command: plink --bfile sample_data --recode vcf --out sample_datanew

@liamxg
Copy link

liamxg commented Jun 4, 2024

Dear @josephresearcher,

how to convert snp file to fasta file?

@liamxg
Copy link

liamxg commented Jun 5, 2024

Dear @josephresearcher,

where to find the par.txt?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@liamxg @TD-lab-Wu @josephresearcher and others