Skip to content

Samtools sort does not add a @HD SO:<Sort Order> attribute #10

@olekto

Description

@olekto

Hi,
I'm trying to run FindTranslocations, but I get this error/warning:
"BAM file has no @hd SO: attribute: it is not possible to determine the sort order"
However, samtools sort does not add this attribute. Could you determine whether or not the file is sorted by some other means? Maybe you could use Lindenbaum's approach: http://plindenbaum.blogspot.no/2011/02/testing-if-bam-file-is-sorted-using.html?

I'd rather not use something else than BWA and samtools to get this tool working.

Thank you.

Ole

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