Giter Site home page Giter Site logo

Comments (3)

chhylp123 avatar chhylp123 commented on May 31, 2024

P_ctg consists of one set of haplotype but its contigs might be switched between two haplotypes. I guess it is usually used as reference. If the paternal short reads are available, hifiasm can output fully phased assembly, i.e., two fully phased haplotypes. We think fully phased assembly should be also generated with HiC or Strand-seq if paternal data is not available, but for now hifiasm itself cannot automatically do that. If you can get phased partitioned list of HiFi reads with HiC, then feeding it to hifiasm using option '-3/-4' can also output fully phased assembly.

from hifiasm.

zhaotao1987 avatar zhaotao1987 commented on May 31, 2024

@chhylp123 Thanks very much for the reply! I see, some contigs might be switched..
btw, P_ctg is one full set of halpotype, but a_ctg is not, I think it contains only the alternative regions, I wondered how can I add the collapsed consensus regions into a_ctg as well, then I could obtain a full set of alternative haplotype (?).

from hifiasm.

chhylp123 avatar chhylp123 commented on May 31, 2024

It is hard. If you'd like to do it manually, probably: 1) run hifiasm with -l0, 2) find homozygous unitigs at r_utg with homozygous coverage, 3) add these unitigs to a_ctg.

from hifiasm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.