Class: Rafflesia::FoldseekRunData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldseekRunData
- Defined in:
- lib/rafflesia/proteins/foldseek_run_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ alignment_type: :alignment_type, command: :command, exhaustive_search: :exhaustive_search, format_output: :format_output, gpu: :gpu, kmer_size: :kmer_size, lddt_threshold: :lddt_threshold, limit: :limit, max_seqs: :max_seqs, prefilter_mode: :prefilter_mode, preserves_backend_order: :preserves_backend_order, result_order: :result_order, sensitivity: :sensitivity, sort_by_structure_bits: :sort_by_structure_bits, threads: :threads, tmscore_threshold: :tmscore_threshold }.freeze
Instance Attribute Summary collapse
-
#alignment_type ⇒ Object
Returns the value of attribute alignment_type.
-
#command ⇒ Object
Returns the value of attribute command.
-
#exhaustive_search ⇒ Object
Returns the value of attribute exhaustive_search.
-
#format_output ⇒ Object
Returns the value of attribute format_output.
-
#gpu ⇒ Object
Returns the value of attribute gpu.
-
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
-
#lddt_threshold ⇒ Object
Returns the value of attribute lddt_threshold.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#max_seqs ⇒ Object
Returns the value of attribute max_seqs.
-
#prefilter_mode ⇒ Object
Returns the value of attribute prefilter_mode.
-
#preserves_backend_order ⇒ Object
Returns the value of attribute preserves_backend_order.
-
#result_order ⇒ Object
Returns the value of attribute result_order.
-
#sensitivity ⇒ Object
Returns the value of attribute sensitivity.
-
#sort_by_structure_bits ⇒ Object
Returns the value of attribute sort_by_structure_bits.
-
#threads ⇒ Object
Returns the value of attribute threads.
-
#tmscore_threshold ⇒ Object
Returns the value of attribute tmscore_threshold.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldseekRunData
constructor
A new instance of FoldseekRunData.
Constructor Details
#initialize(json) ⇒ FoldseekRunData
Returns a new instance of FoldseekRunData.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 45 def initialize(json) super() hash = self.class.normalize(json) @alignment_type = hash[:alignment_type] @command = (hash[:command] || []) @exhaustive_search = hash[:exhaustive_search] @format_output = (hash[:format_output] || []) @gpu = hash[:gpu] @kmer_size = hash[:kmer_size] @lddt_threshold = hash[:lddt_threshold] @limit = hash[:limit] @max_seqs = hash[:max_seqs] @prefilter_mode = hash[:prefilter_mode] @preserves_backend_order = hash[:preserves_backend_order] @result_order = hash[:result_order] @sensitivity = hash[:sensitivity] @sort_by_structure_bits = hash[:sort_by_structure_bits] @threads = hash[:threads] @tmscore_threshold = hash[:tmscore_threshold] end |
Instance Attribute Details
#alignment_type ⇒ Object
Returns the value of attribute alignment_type.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def alignment_type @alignment_type end |
#command ⇒ Object
Returns the value of attribute command.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def command @command end |
#exhaustive_search ⇒ Object
Returns the value of attribute exhaustive_search.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def exhaustive_search @exhaustive_search end |
#format_output ⇒ Object
Returns the value of attribute format_output.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def format_output @format_output end |
#gpu ⇒ Object
Returns the value of attribute gpu.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def gpu @gpu end |
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def kmer_size @kmer_size end |
#lddt_threshold ⇒ Object
Returns the value of attribute lddt_threshold.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def lddt_threshold @lddt_threshold end |
#limit ⇒ Object
Returns the value of attribute limit.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def limit @limit end |
#max_seqs ⇒ Object
Returns the value of attribute max_seqs.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def max_seqs @max_seqs end |
#prefilter_mode ⇒ Object
Returns the value of attribute prefilter_mode.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def prefilter_mode @prefilter_mode end |
#preserves_backend_order ⇒ Object
Returns the value of attribute preserves_backend_order.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def preserves_backend_order @preserves_backend_order end |
#result_order ⇒ Object
Returns the value of attribute result_order.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def result_order @result_order end |
#sensitivity ⇒ Object
Returns the value of attribute sensitivity.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def sensitivity @sensitivity end |
#sort_by_structure_bits ⇒ Object
Returns the value of attribute sort_by_structure_bits.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def sort_by_structure_bits @sort_by_structure_bits end |
#threads ⇒ Object
Returns the value of attribute threads.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def threads @threads end |
#tmscore_threshold ⇒ Object
Returns the value of attribute tmscore_threshold.
27 28 29 |
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27 def tmscore_threshold @tmscore_threshold end |