Comments (3)
You might have to simulate HiFi coverage. For example get a similar haploid genome assembly to what you have not yet assembled, then mutate it into diploid (or whatever your ploidy is) with mutate.sh
from BBTools/BBMap (https://sourceforge.net/projects/bbmap/files/) with some predicted "heterozygosity rate". Then simulate random reads with randomreads.sh
(also from BBTools/BBMap) using PacBio HiFi characteristics (12-15Kbp, error rate 1.0-1.5% or whatever you desire) such as the example commands below. Note that I put coverage=10 because there are actually two haplotypes produced by mutate.sh
when ploidy=2
, so that 10x diploid coverage equals 20x haploid coverage.
mutate.sh in=curated.fasta ploidy=2 maxindel=5 subrate=0.0002 hetrate=0.05 indelrate=0.00002 out=curated.fasta.diploid.mut.fasta vcf=curated.fasta.diploid.mut.vcf.gz 2>mutate.log &
randomreads.sh ref=curated.fasta illuminanames=t coverage=10 gaussianlength=t pacbio=t pbmin=0.01 pbmax=0.015 out=random_reads_ccs.fasta minlength=10000 midlength=12000 maxlength=15000 > random_reads_ccs.log 2>&1
Then use QUAST-LG (https://github.com/ablab/quast) to compare you hifiasm results on different values of k
,r
, and a
with curated.fasta.diploid.mut.fasta if you use unitigs or curated.fasta if you use primary contigs (just a suggestion).
from hifiasm.
I agree with @jelber2. Thank you so much.
from hifiasm.
Thanks for your @jelber2 useful suggestion with all the details.
Thanks for your @chhylp123 reply.
from hifiasm.
Related Issues (20)
- Output interpretation with HiFi+ONT+HiC with inbred samples + `-l0` HOT 1
- low BUSCO scores HOT 1
- 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
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.