Description
Hi, I'm trying to do something relatively simple and can't figure out why it isn't working. Any help would be greatly appreciated! So I have a high-quality local assembly (11Mb) from mouse consisting of three contigs generated from HiFi reads. I want to use the reference chromosome to scaffold the three contigs and fill in the small gaps (like a few kb each) between them.
I ran ragtag scaffold and it successfully turned the three contigs into one scaffold with two N-gaps, as expected, so that's great.
Then I ran ragtag patch and I keep getting back the same scaffold containing the three contigs with two N-gaps, instead of the N-gaps being filled in by the reference chromosome. I'm sure that this area of the reference does not have N-gaps, so it should be working, right? My command looks like this:
ragtag.py patch ragtag_output2/ragtag.scaffold.fasta ../ref/chr7_mm39.fa --aligner minimap2 -o ragtag_output3
Things I've tried include increasing the -i parameter by a lot, adding '--fill-only', setting -q 1, but none of that changed the outcome. I'm a step away from giving up and just doing this manually. Thanks for your help!