Class: V1::Pacbio::Runs::WellResource

Inherits:
JSONAPI::Resource
  • Object
show all
Defined in:
app/resources/v1/pacbio/runs/well_resource.rb

Overview

TODO:

This documentation does not yet include a detailed description of what this resource represents.

TODO:

This documentation does not yet include detailed descriptions for relationships, attributes and filters.

TODO:

This documentation does not yet include any example usage of the API via cURL or similar.

Note:

Access this resource via the /v1/pacbio/runs/wells endpoint.

Provides a JSON:API representation of Pacbio::Well.

For more information about JSON:API see the JSON:API Specifications or look at the JSONAPI::Resources package for the service implementation of the JSON:API standard.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#binding_kit_box_barcodeString

Returns the barcode of the binding kit box.

Returns:

  • (String)

    the barcode of the binding kit box



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#ccs_analysis_outputString

Returns the CCS analysis output.

Returns:

  • (String)

    the CCS analysis output



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#ccs_analysis_output_include_kinetics_informationBoolean

Returns whether to include kinetics information in the CCS analysis output.

Returns:

  • (Boolean)

    whether to include kinetics information in the CCS analysis output



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#ccs_analysis_output_include_low_quality_readsBoolean

Returns whether to include low quality reads in the CCS analysis output.

Returns:

  • (Boolean)

    whether to include low quality reads in the CCS analysis output



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#columnString

Returns the column of the well.

Returns:

  • (String)

    the column of the well



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#commentString

Returns the comment for the well.

Returns:

  • (String)

    the comment for the well



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#demultiplex_barcodesString

Returns the demultiplex barcodes.

Returns:

  • (String)

    the demultiplex barcodes



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#full_resolution_base_qualBoolean

Returns whether to apply full resolution base qual.

Returns:

  • (Boolean)

    whether to apply full resolution base qual



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#generate_hifiBoolean

Returns whether to generate HiFi reads.

Returns:

  • (Boolean)

    whether to generate HiFi reads



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#include_base_kineticsBoolean

Returns whether to include base kinetics.

Returns:

  • (Boolean)

    whether to include base kinetics



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#include_fivemc_calls_in_cpg_motifsBoolean

Returns whether to include 5mC calls in CpG motifs.

Returns:

  • (Boolean)

    whether to include 5mC calls in CpG motifs



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#library_concentrationFloat

Returns the library concentration in pM.

Returns:

  • (Float)

    the library concentration in pM



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#library_typeString

Returns the library type.

Returns:

  • (String)

    the library type



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#loading_target_p1_plus_p2Float

Returns the loading target (P1 + P2).

Returns:

  • (Float)

    the loading target (P1 + P2)



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#movie_acquisition_timeFloat

Returns the movie acquisition time in hours.

Returns:

  • (Float)

    the movie acquisition time in hours



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#movie_timeFloat

Returns the movie time in hours.

Returns:

  • (Float)

    the movie time in hours



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#on_plate_loading_concentrationFloat

Returns the on plate loading concentration.

Returns:

  • (Float)

    the on plate loading concentration



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#pacbio_plate_idInteger

Returns the ID of the Pacbio plate.

Returns:

  • (Integer)

    the ID of the Pacbio plate



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#polymerase_kitString

Returns the polymerase kit.

Returns:

  • (String)

    the polymerase kit



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#positionString

Returns the position of the well.

Returns:

  • (String)

    the position of the well



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#pre_extension_timeInteger

Returns the pre-extension time.

Returns:

  • (Integer)

    the pre-extension time



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#rowString

Returns the row of the well.

Returns:

  • (String)

    the row of the well



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

#use_adaptive_loadingBoolean

Returns whether to use adaptive loading.

Returns:

  • (Boolean)

    whether to use adaptive loading



66
67
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 66

attributes :row, :column, :comment, :pacbio_plate_id, :position,
*Rails.configuration.pacbio_smrt_link_versions.options.keys

Class Method Details

.resource_klass_for(type) ⇒ Object

JSON API Resources builds up a representation of the relationships on a give resource. Whilst doing to it asks the associated resource for its type, before using this method on the parent resource to attempt to look up the model. Unfortunately this is forced to use the same namespace by default.



78
79
80
81
82
83
84
85
# File 'app/resources/v1/pacbio/runs/well_resource.rb', line 78

def self.resource_klass_for(type)
  case type.downcase.pluralize
  when 'libraries' then Pacbio::LibraryResource
  when 'pools' then Pacbio::PoolResource
  else
    super
  end
end