Skip to content

Patching not working? #67

Open
Open
@yuliamostovoy

Description

@yuliamostovoy

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions