Class: Rafflesia::FoldseekRunData

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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_typeObject

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

#commandObject

Returns the value of attribute command.



27
28
29
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27

def command
  @command
end

#exhaustive_searchObject

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_outputObject

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

#gpuObject

Returns the value of attribute gpu.



27
28
29
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27

def gpu
  @gpu
end

#kmer_sizeObject

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_thresholdObject

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

#limitObject

Returns the value of attribute limit.



27
28
29
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27

def limit
  @limit
end

#max_seqsObject

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_modeObject

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_orderObject

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_orderObject

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

#sensitivityObject

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_bitsObject

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

#threadsObject

Returns the value of attribute threads.



27
28
29
# File 'lib/rafflesia/proteins/foldseek_run_data.rb', line 27

def threads
  @threads
end

#tmscore_thresholdObject

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