How to convert txt or csv files into ped files?
0
0
Entering edit mode
6.4 years ago
sjunlee89 ▴ 10

I have the information "FID, IID, PID, MID, Sex, Pheno, Genotype1 allele A ...." with csv file.

I would like to convert this file into ped file for analyzing in plink software.

However, I could not find how to conduct this work.

Please let me know how to deal with this problem.

With R, python, or others... anything is fine.

plink ped R python • 7.7k views
ADD COMMENT
2
Entering edit mode

What have you tried? From what you're saying, it looks like you can extract pedigree information from the file you have and use it to create a ped, bim and fam file using vcftools/plink.

ADD REPLY
0
Entering edit mode

Thank you for your replay. I'm sorry that it was too late... but it had been solved.

ADD REPLY
0
Entering edit mode

Please add the solution as an answer so the question can be marked as solved.

ADD REPLY
2
Entering edit mode

You will need to convert that txt/cvs file into ped and map, formats as described in below links:

ADD REPLY
0
Entering edit mode

Thank your for your comment. I'm sorry that it was too late... Fortunately, it had been solved.

ADD REPLY

Login before adding your answer.

Traffic: 1742 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6