Method: Bio::SQL::Location#to_s

Defined in:
lib/bio/io/biosql/location.rb

#to_sObject



10
11
12
13
14
15
16
17
# File 'lib/bio/io/biosql/location.rb', line 10

def to_s
  if strand==-1
    str="complement("+start_pos.to_s+".."+end_pos.to_s+")"
  else
    str=start_pos.to_s+".."+end_pos.to_s
  end
  return str    
end