8000 Support for CIGAR strings containing `X` and `=` ops · Issue #71 · guigolab/ggsashimi · GitHub
[go: up one dir, main page]

Skip to content

Support for CIGAR strings containing X and = ops #71

Open

Description

@mbabadi

New feature

Add support for CIGAR strings containing X and =. These are allowed in SAM specs v1.4, though, ggsashimi neglects all such reads.

Usage scenario

It is not uncommon to come across .bam files that containg X and = ops in the CIGAR strings. For instance, running minimap2 with --eqx arguments generates such cigar strings. In such cases, ggsashimi throws away all alignments and produces an empty plot without producing an informative error message.

Suggest implementation

As a simple implementation, one can replace all X and = with M and merge tandem M ops if needed. I have tried this workaround and it works well.

Activity

  1. emi80 commented on Sep 8, 2021

    @emi80
    Member

    Hi @mbabadi,
    thanks for reporting this. We will definitely have a look at these CIGAR ops and let you know.

    Best,
    Emilio

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0