Skip to content

Inconsistent mapping to reference results (minimap2) #92

Open
@fredericgaspar

Description

@fredericgaspar

Hi!
When I use minimap2 in Geneious (minimap2_macos -x map-ont --frag=yes --secondary=no -a ref.fasta query.fasta -o output.sam) or with the command line (minimap2 -x map-ont --frag=yes --secondary=no -a ref.fasta query.fasta -o output.sam), all my contigs (167) map to my reference genome.
When I use RagTag with minimap2 only 155 map to the reference (ragtag.py scaffold -r -g 1 -f 500 --aligner /home/ubuntu/miniconda3/envs/ragtag/bin/minimap2 --mm2-params '-x map-ont' ref.fasta query.fasta).
Any (obvious) reason for the difference?
Thank you for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions