sanger / traction-ui

MIT License
2 stars 5 forks source link

DPL-433-3 - As a developer I need to reduce the technical debt in pacbio runs as it is not setup correctly which is causing hidden bugs and issues to ensure we are Revio ready #941

Closed stevieing closed 1 year ago

stevieing commented 1 year ago

User story As a developer I need to reduce the technical debt for pacbio runs as it is not setup correctly which is causing hidden bugs and issues. It is also not tested thoroughly or correctly in places which is making it difficult to debug. This is reducing confidence. There is also intermittent failures in the ci Cypress test. This is the only test that fails regularly.

Note: This work will also better prepare us for Revio.

Who are the primary contacts for this story Steve

Who is the nominated tester for UAT PSD / Long Read

Acceptance criteria To be considered successful the solution must allow:

Dependencies This story is blocked by the following dependencies:

References This story has a non-blocking relationship with:

Additional context It will also be appropriate to change the service so that run creation and editing is done in a single request.

stevieing commented 1 year ago

Tasks to complete. Add as necessary:

SujitDey2022 commented 1 year ago

@stevieing copying in the enhancements discussed with James Watt

  1. Searching for libraries to add to runs can be longwinded (discussed reversing the order as a simple fix – Business Priority: Medium, with a same or similar solution approach. - DPL-592
  2. When editing run well, they should show TRAC ID as well as the well location. (User submitted this one and I’m not sure?) Business Priority: Low, On the new run page, when clicking a sample on the plate to edit the individual sample details, there is no confirmation of which sample is being edited. The simplest solution would be to add the Traction ID to the title of the modal popup.
stevieing commented 1 year ago

Task List:

harrietc52 commented 1 year ago

Example payload to create/ update a run/ well/ pool

// Create

{
   "data": {
      "type": "runs",
      "attributes": {
         "sequencing_kit_box_barcode": "skbb",
         "dna_control_complex_box_barcode": "dna",
         "system_name": "Sequel II",
         "pacbio_smrt_link_version_id": 1,
         "comments": "comment 2",
         "well_attributes": [{
               "row": "A",
               "column": "1",
               "ccs_analysis_output": "Yes",
               "generate_hifi": "In SMRT Link",
               "ccs_analysis_output_include_low_quality_reads": "ccs 2",
               "include_fivemc_calls_in_cpg_motifs": "cpg",
               "ccs_analysis_output_include_kinetics_information": "ccs 3",
               "demultiplex_barcodes": "dem",
               "on_plate_loading_concentration": "oplc",
               "binding_kit_box_barcode": "bkbb",
               "pre_extension_time": "12",
               "loading_target_p1_plus_p2": "0.5",
               "movie_time": "10",
               "pools": ["6"]
            },
            {
               "row": "A",
               "column": "2",
               "ccs_analysis_output": "Yes",
               "generate_hifi": "In SMRT Link",
               "ccs_analysis_output_include_low_quality_reads": "ccs 222",
               "include_fivemc_calls_in_cpg_motifs": "cpg",
               "ccs_analysis_output_include_kinetics_information": "ccs 3333",
               "demultiplex_barcodes": "dem",
               "on_plate_loading_concentration": "oplc",
               "binding_kit_box_barcode": "bkbb",
               "pre_extension_time": "13",
               "loading_target_p1_plus_p2": "0.5",
               "movie_time": "10",
               "pools": ["7", "8"]
            }
         ]
      }
   }
}

// Update
{
   "data": {
      "id": 127,
      "type": "runs",
      "attributes": {
         "state": "started",
         "sequencing_kit_box_barcode": "skbbaaa2",
         "dna_control_complex_box_barcode": "dna2",
         "system_name": "Sequel I",
         "pacbio_smrt_link_version_id": 1,
         "comments": "comment 2aaaaa",
         "well_attributes": [{
               "id": 49,
               "row": "A",
               "column": "1",
               "ccs_analysis_output": "Yes",
               "generate_hifi": "In SMRT Link",
               "ccs_analysis_output_include_low_quality_reads": "ccs 4",
               "include_fivemc_calls_in_cpg_motifs": "cpg",
               "ccs_analysis_output_include_kinetics_information": "ccs 4",
               "demultiplex_barcodes": "dem",
               "on_plate_loading_concentration": "oplc",
               "binding_kit_box_barcode": "bkbb",
               "pre_extension_time": "12",
               "loading_target_p1_plus_p2": "0.5",
               "movie_time": "10",
               "pools": ["6"]
            },
            {
               "id": 50,
               "row": "A",
               "column": "2",
               "ccs_analysis_output": "Yes",
               "generate_hifi": "In SMRT Link",
               "ccs_analysis_output_include_low_quality_reads": "ccs 222",
               "include_fivemc_calls_in_cpg_motifs": "cpg",
               "ccs_analysis_output_include_kinetics_information": "ccs 3333",
               "demultiplex_barcodes": "dem",
               "on_plate_loading_concentration": "oplc",
               "binding_kit_box_barcode": "bkbb",
               "pre_extension_time": "13",
               "loading_target_p1_plus_p2": "0.5",
               "movie_time": "10",
               "pools": ["5"]
            }
         ]
      }
   }
}