Comments (12)
Hi Henri,
You can have a try with "--write-ec" using the binary files.
Best,
Haoyu
from hifiasm.
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.
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.
Hello, is it possible to generate error-corrected reads without generating the contigs?
from hifiasm.
Just curious why do you don't like contigs?
from hifiasm.
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.
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.
That will be fantastic.
from hifiasm.
I was also wondering whether fastq sequences can be returned with quality scores instead of fasta sequences in the future.
from hifiasm.
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.
Export works like a charm. Thanks!
from hifiasm.
: )
from hifiasm.
Related Issues (20)
- Mitigate Overlapping Sequence Assignments in Haplotypes HOT 3
- Help!!! Segmentation fault (core dumped) HOT 1
- Question about the depth of ONT ultra-long reads HOT 1
- Homotetraploid, super-large genome, with different parameters, the size of p_utg varies greatly? HOT 1
- setting K parameter in yak HOT 2
- how to make the correct genome size estimation for allotetraploid species? HOT 2
- Possible missing one haplotype in human assemblies HOT 2
- No haploid.gfa files output in trio-binning mode HOT 3
- Hifi + Hi-c + ONT assembly fails
- In Trio-binning, always more on hap1 despite (almost) same sequences for paternal and maternal
- discontinuous assembly with shorter pacbio hifi reads but high coverage HOT 2
- Is x20 of Hifi data enough to construct draft assembly of 6.5Gb genome? HOT 1
- line 8: 110334 Aborted(core dumped) HOT 1
- Ultra Long intergration failed: no output for UL kmer counting HOT 3
- missing 8Mb sequences in the assembly HOT 5
- Empty haplotype 2 gfa files by ONT integration HOT 1
- Basic Question About HiFi Input HOT 3
- Spend too long times to run hifiasm HOT 1
- Switch error on X and Y chromosome HOT 2
- *.ovlp.bin file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hifiasm.