sgn icon indicating copy to clipboard operation
sgn copied to clipboard

Haplotype matrix download

Open isaak opened this issue 3 years ago • 2 comments

-- could be useful for the mate selection pipelines, among others. (Request from Marnin)

isaak avatar Nov 29 '21 10:11 isaak

Is this the hapmap file format?

lukasmueller avatar Nov 29 '21 16:11 lukasmueller

Something akin to a dosage matrix but representing haplotypes. Here is what I've done, extracting haplotypes from a VCF: https://wolfemd.github.io/IITA_2021GS/04-PreprocessDataFiles.html#Haplotype_matrix_from_phased_VCF

Uses bcftools convert --hapsample

You can also see the input format I'm aiming for here: https://wolfemd.github.io/genomicMateSelectR/articles/start_here.html#haplotype-matrix-1

wolfemd avatar Nov 29 '21 17:11 wolfemd