Returns an Array of Bio::TMHMM::TMH including only “TMhelix”.
# File lib/bio/appl/tmhmm/report.rb, line 98 def helix @tmhs.map {|t| t if t.status == 'TMhelix' }.compact end
# File lib/bio/appl/tmhmm/report.rb, line 103 def to_s [ [ ["Length:", @query_len], ["Number of predicted TMHs:", @predicted_tmhs], ["Exp number of AAs in THMs:", @exp_aas_in_tmhs], ["Exp number, first 60 AAs:", @exp_first_60aa], ["Total prob of N-in:", @total_prob_of_N_in] ].map {|e| "\# " + [@entry_id, e].flatten.join("\t") }, tmhs.map {|ent| ent.to_s } ].flatten.join("\n") end
Generated with the Darkfish Rdoc Generator 2.