Next: , Previous: , Up: Exporting   [Contents]

2.4.6 Export segregating sites to PLINK format

The PlinkOutput filter calls all biallelic segregating sites and export them to the PLINK format, creating on Ped file and one Map file. Sites with gap or unresolved characters are not called.

Synopsis:

maf.filter=                                 \
    [...],
    PlinkOutput(                            \
        ped_file=snp.ped,                   \
        map_file=snp.map,                   \
        compression=none,                   \
        reference=Ref,                      \
        genotypes=(sample1,sample2),        \
        map3=no)                            \
    [...]

Arguments:

ped_file={none|{path}}

A file path for the output Ped file.

map_file={none|{path}}

A file path for the output Map file.

compression={none|gzip|zip|bzip2}

Compression format for output file.

reference={species name}

A species name corresponding to the sequence to use as reference.

genotypes={list of species}

A list of species for which segregating sites should be called. It might not contain the reference species, which is then only used for coordinates output. Blocks with do not contain all species will not be called, as well as block not contianing the reference species. Note that the alignment has to be projected againt the reference species, otherwise an error will be reported.

map3={boolean}

Tell if genetic distance column should be ommitted in the Map file. The resulting file should be sued together with the –map3 option in PLINK. If set to no, then a 0 genetic distance is written.