Class | Bio::PTS1::Report |
In: |
lib/bio/appl/pts1.rb
|
Parent: | Object |
cterm | [R] | Amino acids subsequence at C-terminal region. |
entry_id | [R] | Query sequence name. |
fp | [R] | False positive probability |
output | [R] | Raw output |
prediction | [R] | Prediction ("Targeted", "Twilight zone" and "Not targeted") |
profile | [R] | Profile |
score | [R] | Score |
sppta | [R] | S_ppt (accessibility) |
spptna | [R] | S_ppt (non accessibility) |
Parsing PTS1 HTML report.
report = Bio::PTS1::Report.new(str) report.cterm
# File lib/bio/appl/pts1.rb, line 211 211: def initialize(str) 212: @cterm = '' 213: @score = 0 214: @profile = 0 215: @spptna = 0 216: @sppta = 0 217: @fp = 0 218: @prediction = 0 219: 220: if /PTS1 query prediction/m =~ str 221: @output = str 222: parse 223: else 224: raise 225: end 226: end