hifiasm icon indicating copy to clipboard operation
hifiasm copied to clipboard

--dual-scaf

Open tallnuttrbgv opened this issue 1 year ago • 5 comments

Hi,

can you please describe the options '--dual-scaf' an d'--scaf-gap'. There is no description of it in the documentation. Is this for Hi-C scaffolding or ONT?

Thanks,

Theo

tallnuttrbgv avatar Jan 19 '24 01:01 tallnuttrbgv

Hi,

in the latest version there is still no explanation of this option in the manual, help, or tutorial. Can you please provide a brief explanation?

Thanks,

Theo

tallnuttrbgv avatar Jun 19 '24 00:06 tallnuttrbgv

Sorry for the late reply since I was quite busy this month. Basically, '--dual-scaf' is designed to execute dual scaffolding without needing additional data. Essentially, the two haplotypes scaffold each other. The process mirrors two rounds of reference-guide scaffolding: initially, haplotype 1 is scaffolded using haplotype 2 as the reference genome, and then vice versa. '--scaf-gap INT' is used to make sure that the assembly gap won't be too large. In some cases like centromeres, two haplotypes might be significantly different in length. This is why the default value for '--scaf-gap INT' is 3M. I will add update tutorial soon.

chhylp123 avatar Jun 20 '24 19:06 chhylp123