Hello,
I am having some trouble using the transform function to convert a
HapMap format file (ldat) into a sdat format.
I enter the command as (where chrY.geno is in ldat):
glu transform /home/dte874/chrY.geno -f ldat, -F sdat -o /home/dte874/
test.txt
Wow, fast reply, thanks Kevin.
I've attached the Y chromosome datafile (chrY.geno). The data is HGDP-CEPH data from http://www.cephb.fr/en/hgdp/ (Supplement 1)
The "file contains in the first row the field names of HGDP-CEPH samples (total 1043). Fields are separated by tab. The missing genotype characters are "--" ." (from attached README file).
Alternatively supplementary files 2 in STRUCTURE format would probably serve our purpose (READMEsupp2.TXT and chrY-umich.geno) or the tab delimited matrix format version of the HGDP data from Stanford (http://www-shgc.stanford.edu/hgdp/files.html).
On Mon, Nov 3, 2008 at 11:50 PM, Dan Eisenberg <dana...@gmail.com> wrote:I'll add a parser for these data, since it is likely others will need to read them as well. It is a very minor variation on what is already possible, so it will be very easy. Stay tuned!
glu transform -f imat chrY.geno -o chrY.sdat
cat chrY.geno | tr -d '-' | glu transform -f ldat - -o chrY.sdat
Thanks that works well. Can you give me the syntax for converting to
PLINK and LINKAGE?
I like the (new?) manual you put up on the website. It looks like
there is a minor error on
http://cgf.nci.nih.gov/glu/docs/modules/transform.html#module-transform
At the end in the examples the first section reads:
"Convert an LDAT file to an SDAT file, including only those samples
listed in the "controls" file:
> glu transform samples.ldat --includesamples=controls -o controls.ldat"
If I am not mistaken, you mean the extension on controls to be .sdat
Best,
Dan
On Tue, Nov 4, 2008 at 8:01 AM, Kevin Jacobs <jac...@bioinformed.com>
--
Thanks that works well. Can you give me the syntax for converting to
PLINK and LINKAGE?
I like the (new?) manual you put up on the website.
It looks like
there is a minor error on
http://cgf.nci.nih.gov/glu/docs/modules/transform.html#module-transform
At the end in the examples the first section reads:
"Convert an LDAT file to an SDAT file, including only those samples
listed in the "controls" file:
> glu transform samples.ldat --includesamples=controls -o controls.ldat"
If I am not mistaken, you mean the extension on controls to be .sdat