Skip to content

how to give ploidy a non missing value in a dosage data set #86

@nickychapman

Description

@nickychapman

Background: I've used imputedDosageFile to get my Beagle output in a format I can use with SeqArray. Then I used seqSNP2GDS to make a file for use with SeqVarTools. This object only includes dosage data, no genotypes. I am running into problems using GENESIS because it doesn't like that ploidy is NA. How can I tweak the object so ploidy is non missing? I think I probably need to put some dummy data in the genotype node but I can't figure that out.

Here is what my object looks like.

genodata
Object of class "SeqVarGDSClass"
File::panel_01_chr22.dose.array.gds (267.7K)

  • [ ] *
    |--+ description [ ] *
    |--+ sample.id { Str8 628 LZMA_ra(22.3%), 1.2K } *
    |--+ variant.id { Int32 429 LZMA_ra(24.4%), 425B } *
    |--+ position { Int32 429 LZMA_ra(79.4%), 1.3K } *
    |--+ chromosome { Str8 429 LZMA_ra(7.30%), 101B } *
    |--+ allele { Str8 429 LZMA_ra(22.0%), 385B } *
    |--+ genotype [ ] *
    |--+ phase [ ]
    |--+ annotation [ ]
    | |--+ id { Str8 429 LZMA_ra(24.0%), 393B } *
    | |--+ qual { Float32 429 LZMA_ra(5.71%), 105B } *
    | |--+ filter { Int32,factor 429 LZMA_ra(5.71%), 105B } *
    | |--+ info [ ]
    | --+ format [ ]
    | --+ DS [ ] *
    | --+ data { Float64 628x429 LZMA_ra(12.4%), 260.1K } *
    --+ sample.annotation [ ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions