Class: Bio::Ngs::Cufflinks::Gtf

Inherits:
Object
  • Object
show all
Includes:
GtfParser
Defined in:
lib/bio/appl/ngs/cufflinks/gtf/gtf.rb

Instance Attribute Summary

Attributes included from GtfParser

#lazy

Instance Method Summary collapse

Methods included from GtfParser

#annotated_isoforms, #brand_new_isoforms, #build_idx, #count, #coverage_gt, #dump_idx, #each_transcript, #get_transcript, #index, #is_lazy?, #length_gt, #load_idx, #mono_exon, #multi_exon_with_lengh_and_coverage, #multi_exons, #new_isoforms, #not_lazy, #read_transcript, #save, #select, #set_lazy, #to_bed, #to_gff3

Constructor Details

#initialize(file) ⇒ Gtf

Returns a new instance of Gtf.



7
8
9
# File 'lib/bio/appl/ngs/cufflinks/gtf/gtf.rb', line 7

def initialize(file)
  @fh=File.open(File.absolute_path(file))
end

Instance Method Details

#sourceObject



11
12
13
# File 'lib/bio/appl/ngs/cufflinks/gtf/gtf.rb', line 11

def source
  @fh
end

#source=(src) ⇒ Object



15
16
17
# File 'lib/bio/appl/ngs/cufflinks/gtf/gtf.rb', line 15

def source=(src)
  @fh=src
end