Skip to content

String formatting for bio_types::annot::contig::Contig #36

Open
@fedxa

Description

@fedxa

What is the reason for the choice of string formatting for contigs to be

The display format for a Contig is chr:start-end(+/-/.). The boundaries are given as a half-open 0-based interval, like the Rust Range and BED format.

I would thing that the convention is that if the coordinate is written as 'chr:start-end' then it is 1-based-end-inclusive, while 'chr start end' would be 0-based-end-exclusive. AT least this is the convention that is followed by UCSC and plethora of utilities.

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