-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #222 from tanaes/fix-amplicon-pooling
Fix amplicon pooling (issue #204)
- Loading branch information
Showing
10 changed files
with
575 additions
and
379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -571,9 +571,10 @@ BEGIN | |
RETURNING process_id INTO p_pool_process_id; | ||
|
||
INSERT INTO qiita.pooling_process (process_id, quantification_process_id, robot_id, destination, pooling_function_data) | ||
VALUES (p_pool_process_id, pg_quant_subprocess_id, proc_robot_id, 1, '{"function": "amplicon", "parameters": {"dna-amount-": 240, "min-val-": 1, "max-val-": 15, "blank-val-": 2}}'::json) | ||
VALUES (p_pool_process_id, pg_quant_subprocess_id, proc_robot_id, 1, '{"function": "amplicon", "parameters": {"total-": 240, "floor-vol-": 2, "floor-conc-": 16}}'::json) | ||
RETURNING pooling_process_id INTO p_pool_subprocess_id; | ||
|
||
|
||
---------------------------------------- | ||
------ SEQUENCING POOLING PROCESS ------ | ||
---------------------------------------- | ||
|
@@ -660,7 +661,7 @@ BEGIN | |
|
||
-- Quantify plate pools | ||
INSERT INTO qiita.concentration_calculation (quantitated_composition_id, upstream_process_id, raw_concentration) | ||
VALUES (p_pool_composition_id, ppg_quant_subprocess_id, 1.5); | ||
VALUES (p_pool_composition_id, ppg_quant_subprocess_id, 25); | ||
|
||
-- Pool sequencing run | ||
INSERT INTO qiita.container (container_type_id, latest_upstream_process_id, remaining_volume) | ||
|
@@ -721,7 +722,7 @@ BEGIN | |
|
||
SELECT process_type_id INTO gdna_comp_process_type_id | ||
FROM qiita.process_type | ||
WHERE description = 'compress gDNA plates'; | ||
WHERE description = 'compressed gDNA plates'; | ||
|
||
INSERT INTO qiita.process (process_type_id, run_date, run_personnel_id) | ||
VALUES (gdna_comp_process_type_id, '10/25/2017', '[email protected]') | ||
|
@@ -964,8 +965,13 @@ BEGIN | |
VALUES (lib_prep_16s_composition_id, gdna_subcomposition_id, primer_comp_id); | ||
|
||
-- Quantification | ||
INSERT INTO qiita.concentration_calculation (quantitated_composition_id, upstream_process_id, raw_concentration, computed_concentration) | ||
VALUES (lib_prep_16s_composition_id, pg_quant_subprocess_id, 1.5, 1.5); | ||
IF idx_row_well <= 7 THEN | ||
INSERT INTO qiita.concentration_calculation (quantitated_composition_id, upstream_process_id, raw_concentration, computed_concentration) | ||
VALUES (lib_prep_16s_composition_id, pg_quant_subprocess_id, 20., 60.6060); | ||
ELSE | ||
INSERT INTO qiita.concentration_calculation (quantitated_composition_id, upstream_process_id, raw_concentration, computed_concentration) | ||
VALUES (lib_prep_16s_composition_id, pg_quant_subprocess_id, 1., 3.0303); | ||
END IF; | ||
|
||
-- Pool plate | ||
INSERT INTO qiita.pool_composition_components (output_pool_composition_id, input_composition_id, input_volume, percentage_of_output) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.