Skip to content

Incorrect output #1

@komalsrathi

Description

@komalsrathi

I used the perl script pileup2baseindel.pl on a BAM file for a number of positions and compared the output with my BAM file loaded in IGV. The results from the perl script are incorrect and not consistent with what IGV shows. At some positions the counts are incorrect and at others the base pair.

I checked the perl code, and the problem is not with your logic. The problem is that the variables $chr, $loc and $ref are just parsed once while reading the first line of mpileup. The $chr, $loc and $ref do not change with each line and have a constant value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions