Method: Bio::TMHMM::Report#to_s

Defined in:
lib/bio/appl/tmhmm/report.rb

#to_sObject



103
104
105
106
107
108
109
110
111
112
113
114
# 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