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 205 205: def initialize(str) 206: @cterm = '' 207: @score = 0 208: @profile = 0 209: @spptna = 0 210: @sppta = 0 211: @fp = 0 212: @prediction = 0 213: 214: if /PTS1 query prediction/m =~ str 215: @output = str 216: parse 217: else 218: raise 219: end 220: end