Convertf. Convert from PED to EIGENSTRAT format
1
0
Entering edit mode
3.8 years ago
Mr Locuace ▴ 180

I am trying to use convertf software to convert files from PED to EIGENSTRAT format. I have the following files: a.ped, a.pedsnp and a.pedind. According to the tutorial:

https://reich.hms.harvard.edu/software/InputFileFormats

I should use this command:

/bin/convertf -p parfile

I have tried different ways of running the command:

convertf a -p par.PED.EIGENSTRAT
convertf -p a par.PED.EIGENSTRAT
convertf -p a.ped a.pedsnp a.pedind par.PED.EIGENSTRAT

However, I get:

parameter file: a
Can't open file
: No such file or directory
fatalx:
can't open a
Aborted (core dumped)

I am also not sure what should be the parfile

Can someone indicate me what is the proper way of running such command?

convertf • 4.1k views
ADD COMMENT
2
Entering edit mode
3.8 years ago

Hi,

You need to create the parfile yourself (that includes the names of the files to convert, the type of conversion and the name for the output files) following this example https://github.com/DReichLab/AdmixTools/blob/master/convertf/par.PED.EIGENSTRAT

And then you only use your parfile name in the command

Hope it helps, Mathilde

ADD COMMENT

Login before adding your answer.

Traffic: 2605 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