class Bio::SOSUI::Report
SOSUI
output report parsing class¶ ↑
References
¶ ↑
Constants
- DELIMITER
Delimiter
- RS
Attributes
entry_id[R]
Query entry_id
prediction[R]
Returns the prediction result whether “MEMBRANE PROTEIN” or “SOLUBLE PROTEIN”.
tmhs[R]
Transmembrane helixes ary
Public Class Methods
new(output_report)
click to toggle source
Parser for SOSUI
output report.
# File lib/bio/appl/sosui/report.rb 44 def initialize(output_report) 45 entry = output_report.split(/\n/) 46 47 @entry_id = entry[0].strip.sub(/^>/,'') 48 @prediction = entry[1].strip 49 @tms = 0 50 @tmhs = [] 51 parse_tmh(entry) if /MEMBRANE/ =~ @prediction 52 end