Skip to content

How to get haplotype-specific reads? #52

@DayTimeMouse

Description

@DayTimeMouse

Hi,

Thanks for developing this awesome tools. I'd like to get haplotype-specific HiFi reads via haplotype-specific kmers.

I run script to get haplotype-specific kmers, meryl version is 1.3:
meryl count k=21 hap1.fa output hap1.meryl
meryl count k=21 hap2.fa output hap2.meryl
meryl difference hap1.meryl hap2.meryl output hap1.only.meryl
meryl difference hap2.meryl hap1.meryl output hap2.only.meryl
meryl intersect hap1.meryl hap2.meryl output hap1_hap2_intersect.meryl

get read-meryl:
meryl count k=21 hifi_reads.fq.gz output hifi.meryl

I want to partition HiFi reads(each read) into two haplotypes. Now, I do not know how to do next? meryl can do this? Or, do you have some ideas for this?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions