Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support MiSeq V2 Micro #886

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions run_dir/static/js/fc_trend_plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,10 @@ function make_plot(key, name, display_by, filter_inst_type, filter_inst, color_t
toplot.tooltip.pointFormat = '{series.name} : <b>{point.y}</b><br />Mbp: <b>{point.bp_yield:,.0f}</b>';
}

var thresholdColors = ['#696868', '#696868', '#696868', '#696868', '#696868', '#696868', '#ffb700', '#ff00ae', '#0080ff', '#11ad11', '#8400ff', '#e65c00', '#1B9E97'];
var thresholdColors = ['#696868', '#696868', '#696868', '#696868', '#696868', '#696868', '#696868', '#ffb700', '#ff00ae', '#0080ff', '#11ad11', '#8400ff', '#e65c00', '#1B9E97'];
var thresholdLabels = [
['M', 'MiSeq Nano threshold to pass'],
['M', 'MiSeq Micro threshold to pass'],
['M', 'MiSeq v2 threshold to pass'],
['M', 'MiSeq v3 threshold to pass'],
['VH', 'NextSeq P1 threshold to pass'],
Expand Down Expand Up @@ -158,12 +159,12 @@ function make_plot(key, name, display_by, filter_inst_type, filter_inst, color_t

// Styling the default view
if (color_type == "chemver" && key == "total_clusters" && display_by == "flowcell") {
applyThresholds([0.75e6, 10e6, 18e6, 100e6, 400e6, 1100e6, 650e6, 1300e6, 3300e6, 8000e6, 8000e6, 1500e6, 24000e6], [0, 1, 2]);
applyThresholds([0.75e6, 3e6, 10e6, 18e6, 100e6, 400e6, 1100e6, 650e6, 1300e6, 3300e6, 8000e6, 8000e6, 1500e6, 24000e6], [0, 1, 2]);
}

// Styling the lane view
if (color_type == "chemver" && key == "total_clusters" && display_by == "lane") {
applyThresholds([0.75e6, 10e6, 18e6, 100e6, 400e6, 550e6, 325e6, 650e6, 1650e6, 2000e6, 1000e6, 750e6, 3000e6], [0, 1, 2]);
applyThresholds([0.75e6, 3e6, 10e6, 18e6, 100e6, 400e6, 550e6, 325e6, 650e6, 1650e6, 2000e6, 1000e6, 750e6, 3000e6], [0, 1, 2]);
}

var serie = build_series(window.current_plot_data, key, name, display_by, filter_inst_type, filter_inst, color_type);
Expand Down Expand Up @@ -218,6 +219,9 @@ function build_series(data, key, name, display_by, filter_inst_type, filter_inst
if (data[d].mode == '2'){
series_name = "MiSeq Nano";
}
if (data[d].mode == '4'){
series_name = "MiSeq Micro";
}
if (data[d].cver.includes('P1')){
series_name = "NextSeq P1";
}
Expand Down Expand Up @@ -515,6 +519,8 @@ function update_chemistries_list(){
if (window.current_plot_data[d].mode == '2'){
// MiSeq Nano is special (cver collides with MiSeq Version 2)
version = 'Mnano'
} else if (window.current_plot_data[d].mode == '4'){
version = 'Mmicro'
} else {
version = window.current_plot_data[d].instrument.substr(0,1) + window.current_plot_data[d].cver;
}
Expand Down
1 change: 1 addition & 0 deletions status/flowcell.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"RapidRun": 114,
"MiSeq Version3": 18,
"MiSeq Version2": 10,
"MiSeq Version2Micro": 3,
"MiSeq Version2Nano": 0.75,
"NovaSeq SP": 325,
"NovaSeq S1": 650,
Expand Down
Loading