Class | Bio::SOSUI::Report |
In: |
lib/bio/appl/sosui/report.rb
|
Parent: | Object |
DELIMITER | = | "\n>" | Delimiter | |
RS | = | DELIMITER |
entry_id | [R] | Query entry_id |
prediction | [R] | Returns the prediction result whether "MEMBRANE PROTEIN" or "SOLUBLE PROTEIN". |
tmhs | [R] | Transmembrane helixes ary |
Parser for SOSUI output report.
# File lib/bio/appl/sosui/report.rb, line 45 45: def initialize(output_report) 46: entry = output_report.split(/\n/) 47: 48: @entry_id = entry[0].strip.sub(/^>/,'') 49: @prediction = entry[1].strip 50: @tms = 0 51: @tmhs = [] 52: parse_tmh(entry) if /MEMBRANE/ =~ @prediction 53: end