biocantor.io.bed.bed
BED comes in a handful of flavors: BED3, BED6, BED12, and BED12+.
The 12 defined columns are:
chrom
: Sequence.start
: 0-based start.end
: 0-based exclusive end.name
: A name.score
: A score. Should be an integer between 0 and 1000.strand
: A string. Any of[+, -, .]
.thickStart
: Translation start site.thickEnd
: Translation end site.itemRgb
: String encoded tuple for an RGB value to display.blockCount
: Number of spliced blocks.blockSizes
: Length of each block.BlockStarts
: Start of each block relative tostart
.
BED3 is the first 3 columns, BED6 is the first 6, and BED12 is the full thing.
BED12+ basically is just people tacking on extra self-defined columns.
These representations cannot be present in the same file. For this reason, we have separate subclasses for each type that only return their own type.
Module Contents
Classes
BED3 includes basic interval information; the simplest type of interval |
|
BED6 includes name, score and strand information. Cannot be spliced. |
|
BED12 contains splicing and CDS information. It does not contain frame/phase information. |
- class biocantor.io.bed.bed.BED3
BED3 includes basic interval information; the simplest type of interval
- chrom :str
- start :int
- end :int