class Bio::FANTOM::MaXML::Cluster

Constants

Data_XPath

(MaXML cluster) fantom2.gsc.riken.go.jp/fantom/2.1/allclust.sep.xml.gz

Public Instance Methods

representative_annotations() click to toggle source
    # File lib/bio/db/fantom.rb
145 def representative_annotations
146   e = representative_sequence
147   e ? e.annotations : nil
148 end
representative_clone()
representative_cloneid() click to toggle source
    # File lib/bio/db/fantom.rb
150 def representative_cloneid
151   e = representative_sequence
152   e ? e.cloneid : nil
153 end
representative_seqid() click to toggle source
    # File lib/bio/db/fantom.rb
116 def representative_seqid
117   unless defined?(@representative_seqid)
118     @representative_seqid =
119       gsub_entities(@elem.text('representative-seqid'))
120   end
121   @representative_seqid
122 end
representative_sequence() click to toggle source
    # File lib/bio/db/fantom.rb
135 def representative_sequence
136   unless defined?(@representative_sequence)
137     rid = representative_seqid
138     @representative_sequence =
139       rid ? sequences[representative_seqid] : nil
140   end
141   @representative_sequence
142 end
Also aliased as: representative_clone
sequence(idstr = nil) click to toggle source
    # File lib/bio/db/fantom.rb
131 def sequence(idstr = nil)
132   idstr ? sequences[idstr] : representative_sequence
133 end
sequences() click to toggle source
    # File lib/bio/db/fantom.rb
124 def sequences
125   unless defined?(@sequences)
126     @sequences = MaXML::Sequences.new(@elem)
127   end
128   @sequences
129 end