Giter Site home page Giter Site logo

Comments (12)

chhylp123 avatar chhylp123 commented on May 31, 2024

Hi Henri,

You can have a try with "--write-ec" using the binary files.

Best,
Haoyu

from hifiasm.

HenrivdGeest avatar HenrivdGeest commented on May 31, 2024

Hi thanks! Could you explain how to use exactly?
I tried both
~/bin/hifiasm/hifiasm-0.7/hifiasm -write-ec hifi.fasta
and
~/bin/hifiasm/hifiasm-0.7/hifiasm -write-ec hifi.bin,
although I think the first one is correct, it gives me an error:

[M::ha_opt_update_cov] updated max_n_chain to 180
hifiasm: sketch.cpp:47: void ha_sketch(const char*, int, int, int, uint32_t, int, ha_mz1_v*, const void*): Assertion `len > 0 && len < 1<<27 && rid < 1<<28 && (w > 0 && w < 256) && (k > 0 && k <= 63)' failed.
Aborted (core dumped)

from hifiasm.

chhylp123 avatar chhylp123 commented on May 31, 2024

It should be run like this (just like rerun the hifiasm with bin files):

hifiasm -o hifiasm.asm --write-ec input.fq

The corrected reads will be extracted from the bin files. No need to rerun the whole hifiasm, so that it should be quite fast.

from hifiasm.

sjin09 avatar sjin09 commented on May 31, 2024

Hello, is it possible to generate error-corrected reads without generating the contigs?

from hifiasm.

chhylp123 avatar chhylp123 commented on May 31, 2024

Just curious why do you don't like contigs?

from hifiasm.

sjin09 avatar sjin09 commented on May 31, 2024

Hello @chhylp123, I am in the Darwin Tree of Life project at the Wellcome Sanger Institute. I am, however, not working in the assembly team and I just want to use the error-corrected reads for other purposes. I wish I could share the reasons, but github is a public domain! :(

from hifiasm.

chhylp123 avatar chhylp123 commented on May 31, 2024

I see. Actually the error correction step is the most time-consuming part in hifiasm (~90% in the whole workflow). So I guess generating the contigs shouldn't take too much time for Darwin Tree of Life project? But I can add an option to disable the assembly step in hifiasm if you want.

from hifiasm.

sjin09 avatar sjin09 commented on May 31, 2024

That will be fantastic.

from hifiasm.

sjin09 avatar sjin09 commented on May 31, 2024

I was also wondering whether fastq sequences can be returned with quality scores instead of fasta sequences in the future.

from hifiasm.

chhylp123 avatar chhylp123 commented on May 31, 2024

I have exposed '-e' to make users perform correction only (0.7-dirty-r256). It's tricky to return fastq for corrected reads. Actually I have no idea what's the usage of HiFi read's quality... Could you please give me some examples about its practical usage?

from hifiasm.

HenrivdGeest avatar HenrivdGeest commented on May 31, 2024

Export works like a charm. Thanks!

from hifiasm.

chhylp123 avatar chhylp123 commented on May 31, 2024

: )

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.