-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Both Relate and ARG-needle read data in "Oxford phased haplotype file" (.haps + .sample) format, as described at https://mathgen.stats.ox.ac.uk/genetics_software/shapeit/shapeit.html#hapsample (also see https://www.cog-genomics.org/plink/2.0/formats#haps). This could be a useful output format for a tree sequence, to supplement VCF?
Conversion can apparently be done from VCF using plink or one of the Relate utilities:
plink2 --vcf phased.vcf --export haps --out new_filename_prefix
or
PATH_TO_RELATE/bin/RelateFileFormats \
--mode ConvertFromVcf \
--haps example.haps \
--sample example.sample \
-i example
(see https://myersgroup.github.io/relate/input_data.html#ConvertToFileFormat)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels