Skip to content

Inconsistent mapping against full reference and a single chromosome #107

Open
@alexeigurevich

Description

Hi, Heng!
We experimented with Drosophila melanogaster genome and found several strange things in minimap2 behaviour (Version: 2.8-r686-dirty). I've attached two our files for reproducing the issues (full chrX extracted from the reference genome and its fragment from our simulated assembly which should perfectly map to it). We also used the full reference Drosophila_melanogaster.BDGP6.dna.toplevel.fa which could be downloaded e.g. here.

The issues are:

  1. ./minimap2 Drosophila_melanogaster.chrX.fa chrX_fragment.fa gives empty output while we expect to see several perfect mappings. Note that ./minimap2 chrX_fragment.fa Drosophila_melanogaster.chrX.fa results in many alignments.
  2. ./minimap2 Drosophila_melanogaster.BDGP6.dna.toplevel.fa chrX_fragment.fa produces expected matches and all of them are from chrX, so (1) looks strange even without taking into account the issue with target/query order.
  3. ./minimap2 -x asm10 Drosophila_melanogaster.BDGP6.dna.toplevel.fa chrX_fragment.fa results in no alignments again. Note that all alignments from (2) are perfect, so should not be excluded because of -x asm10 in theory.

Drosophila_melanogaster.chrX.fa.gz
chrX_fragment.fa.gz

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions