Sha256: 9bf0a04bad56c8016e769db3554c9a260d23b2d95a524df8b0e9faa25f6474f3
Contents?: true
Size: 907 Bytes
Versions: 11
Compression:
Stored size: 907 Bytes
Contents
module BioInterchange::Genomics # Represents a named region, a.k.a. landmark, which is defined by the pragma statement 'sequence-region'. class GFF3Landmark # Create a new instance of a named region. # # +seqid+:: unique identifier (in the GFF3 file context) that identifies this region # +start_coordinate+:: genomic start coordinate of the region # +end_coordinate+:: genomic end coordinate of the region def initialize(seqid, start_coordinate = nil, end_coordinate = nil) @seqid = seqid @start_coordinate = start_coordinate @end_coordinate = end_coordinate end # Returns the unique identifier (based on a GFF3 file context) of the region. def seqid @seqid end # Returns the start coordinate of the region. def start_coordinate @start_coordinate end # Returns the end coordinate of the region. def end_coordinate @end_coordinate end end end
Version data entries
11 entries across 11 versions & 1 rubygems