class Bio::GFF::GFF3::Record
Extension to GFF3 records to support genomic coordinate mapping tasks
Public Instance Methods
<=>(otherRecord)
click to toggle source
Function to return our coordinates relative to some other coordinate system (eg a protein)
# File lib/protk/bio_gff3_extensions.rb, line 14 def <=>(otherRecord) self.start <=> otherRecord.start end
length()
click to toggle source
# File lib/protk/bio_gff3_extensions.rb, line 18 def length return self.end-self.start+1 end