Skip to content

Exact sorting of the output bed file? #173

@Dario-Galanti

Description

@Dario-Galanti

When running mosdepth with a bed input file of regions, the regions get sorted in the output file.
What is the exact sorting command used?
I would like to reproduce the exact same sorting (or repress any sorting) so that I can paste extra columns (after the 4th one) which are in the input bed file but not reported in the output.
Maybe a classic first column alphabetic and second numeric sorting?
sort -k1,1 -k2,2n

Thank you very much for any help

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