Yasin Kaya
03/28/2025, 2:33 PMquickmerge -d hifiasm_assembly.fasta -q flye_assembly.fasta -hco 5.0 -c 1.5 -l 500000 -ml 10000 > merged_assembly.fasta
From my experience, incorporating quickmerge significantly enhances the quality and utility of the final assembly. If everyone agrees, I can first implement this locally and submit a pull request afterward. However, for quickmerge integration to be effective, the genome assembly pipeline must produce two separate assemblies—one from Flye and one from Hifiasm (++ and perhaps it may need additional step for purging/polishing to avoid potential artifacts from both sources). @Niklas Schandry, you might want to briefly explore this approach first, and we can discuss further if you want. Let me know your thoughts!Moray Smith
03/28/2025, 3:25 PMflye_on_hifiasm assembler option is pretty close to this (scaffolding to hifiasm asm) - I haven't used this strategy before, but I have used quickmerge for ont-flye/hifi-hifiasm and found it surprisingly goodNiklas Schandry
03/28/2025, 8:41 PMNiklas Schandry
03/31/2025, 12:21 PMflye_on_hifiasm ; as far as I understand the results should be similar, it seems that ragtag and quickmerge should do the same thing? I am not against adding things, but I wonder if it would be a meaningful improvementNiklas Schandry
03/31/2025, 12:25 PMMoray Smith
03/31/2025, 12:36 PMragtag scaffold for a hybrid assembly, but does it perform well at bridging gaps between contigs (i.e., merging)? I figured it is more specialised to scaffold a fragmented assembly onto a chromosome scale reference... I guess the argument for quickmerge is that it is designed to merge assemblies in a hybrid approach, and although it was originally for illumina/long-read hybrids, it does seem to be used fairly often for ont/hifi hifi/hifi hybrids (e.g, https://www.nature.com/articles/s41588-024-01715-9 https://www.nature.com/articles/s41467-024-48643-0) Not introducing NNNNNNs is also an advantage I suppose
I've only ever used quickmerge for a hybrid that was already basically T2T, so can't speak for its performance on more fragmented assemblies!Niklas Schandry
03/31/2025, 12:37 PMNiklas Schandry
03/31/2025, 12:38 PMNiklas Schandry
03/31/2025, 12:38 PMMoray Smith
03/31/2025, 12:41 PMYasin Kaya
03/31/2025, 12:43 PMNiklas Schandry
03/31/2025, 12:45 PMflye_on_hifiasmNiklas Schandry
03/31/2025, 12:46 PMYasin Kaya
03/31/2025, 12:51 PMNiklas Schandry
03/31/2025, 12:56 PMYasin Kaya
03/31/2025, 1:03 PMMoray Smith
03/31/2025, 1:06 PMhifiasm --ont mode 👀 - was testing it today and am getting 10 fold higher N50s versus flye-ont with R10.4.1 reads. It's still labelled as beta tho, so probably leave it to mature a bit...Niklas Schandry
03/31/2025, 1:07 PMont_hifiasm? https://github.com/nf-core/genomeassembler/blob/master/conf/modules.config#L166Moray Smith
03/31/2025, 1:08 PMNiklas Schandry
03/31/2025, 1:08 PM