Class: Rafflesia::HmmerCatalogSearchRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/sequences/hmmer_catalog_search_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  catalog: :catalog,
  concurrency: :concurrency,
  database: :database,
  evalue: :evalue,
  limit: :limit,
  output_format: :output_format,
  output_relation: :output_relation,
  partition_by: :partition_by,
  preview_limit: :preview_limit,
  program: :program,
  query: :query,
  relation: :relation,
  release: :release,
  sort_by: :sort_by,
  store_root: :store_root,
  threads: :threads
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ HmmerCatalogSearchRequest

Returns a new instance of HmmerCatalogSearchRequest.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 45

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @catalog = hash[:catalog]
  @concurrency = hash[:concurrency]
  @database = hash[:database]
  @evalue = hash[:evalue]
  @limit = hash[:limit]
  @output_format = hash[:output_format]
  @output_relation = hash[:output_relation]
  @partition_by = (hash[:partition_by] || [])
  @preview_limit = hash[:preview_limit]
  @program = hash[:program]
  @query = hash[:query]
  @relation = hash[:relation]
  @release = hash[:release]
  @sort_by = (hash[:sort_by] || [])
  @store_root = hash[:store_root]
  @threads = hash[:threads]
end

Instance Attribute Details

#catalogObject

Returns the value of attribute catalog.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def catalog
  @catalog
end

#concurrencyObject

Returns the value of attribute concurrency.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def concurrency
  @concurrency
end

#databaseObject

Returns the value of attribute database.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def database
  @database
end

#evalueObject

Returns the value of attribute evalue.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def evalue
  @evalue
end

#limitObject

Returns the value of attribute limit.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def limit
  @limit
end

#output_formatObject

Returns the value of attribute output_format.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def output_format
  @output_format
end

#output_relationObject

Returns the value of attribute output_relation.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def output_relation
  @output_relation
end

#partition_byObject

Returns the value of attribute partition_by.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def partition_by
  @partition_by
end

#preview_limitObject

Returns the value of attribute preview_limit.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def preview_limit
  @preview_limit
end

#programObject

Returns the value of attribute program.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def program
  @program
end

#queryObject

Returns the value of attribute query.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def query
  @query
end

#relationObject

Returns the value of attribute relation.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def relation
  @relation
end

#releaseObject

Returns the value of attribute release.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def release
  @release
end

#sort_byObject

Returns the value of attribute sort_by.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def sort_by
  @sort_by
end

#store_rootObject

Returns the value of attribute store_root.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def store_root
  @store_root
end

#threadsObject

Returns the value of attribute threads.



27
28
29
# File 'lib/rafflesia/sequences/hmmer_catalog_search_request.rb', line 27

def threads
  @threads
end