Skip to content

failed to read alignments from BAM #247

@kunalkathuria

Description

@kunalkathuria

Hi,

I got the following error while trying to run snaptools after following all previous steps ending with name-sorting the snap.bam:

(This was after the first try where the BAM file was missing an EOF marker, causing snap-pre to exit, so I added the marker manually and ran the command below)

snaptools snap-pre --input-file=atac_v1_adult_brain_fresh_5k.snap.nsrt.bam --output-snap=atac_v1_adult_brain_fresh_5k.snap --genome-name=mm10 --genome-size=Nofile --min-mapq=30 --min-flen=50 --max-flen=1000 --keep-chrm=TRUE --keep-single=FALSE --keep-secondary=False --overwrite=True --max-num=20000 --min-cov=500 --verbose=True

error: failed to read alingment info from bam file

I checked the BAM file, and it certainly has reads.

I had also tried running the uncompressed version of the BAM file earlier, and got the same error.

Any help appreciated! Thank you!

Best,

Kunal

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