Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Offset shifts 1 bp than the required value #902

@kaltinel

Description

@kaltinel

Hi,

I am trying to use the Offset option in bamCoverage to get specific regions of my alignments, and I am especially interested in getting the ATG site, therefore using offset 12 for my data provided by previous analyses.

However, it looks like bamCoverage --offset 12 gives me offset 11, as I am moving past my ATG site with 1 bp:
ATG-12
Is it because of indexing starting from 0? ( Even though for the first base of the alignment, we need to specify it as 1).
I would be happy to have your insight, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions