Module: Bio::GFFbrowser::Helpers::Validate

Included in:
Digest::Parser
Defined in:
lib/bio/db/gff/gffvalidate.rb

Instance Method Summary collapse

Instance Method Details

#validate_cdssObject



15
16
17
18
19
20
21
22
23
# File 'lib/bio/db/gff/gffvalidate.rb', line 15

def validate_cdss 
  return if not @options[:validate]
  @cdslist.validate_seqname
  # validate CDS sections do not overlap
  @cdslist.validate_nonoverlapping
  # validate sections share the parent
  @cdslist.validate_shared_parent
  # display unhandled features
end

#validate_mrnasObject



8
9
10
11
12
13
# File 'lib/bio/db/gff/gffvalidate.rb', line 8

def validate_mrnas 
  return if not @options[:validate]
  # validate gene/container/component seqname is shared
  @mrnalist.validate_seqname
  @mrnalist.validate_shared_parent
end