-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Custom Default Annotation Value Filters at Project Level
These override the Search level Default Annotation Value Filters set in the Proxl XML file and set at import.
- Loading branch information
Showing
59 changed files
with
3,827 additions
and
93 deletions.
There are no files selected for viewing
Binary file modified
BIN
+4.02 KB
(100%)
database_scripts/MySQL_Workbench_Model/Proxl_Database_MySQL_Workbench_Model.mwb
Binary file not shown.
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
75 changes: 75 additions & 0 deletions
75
database_scripts/upgrades/2019_06_Update_1__add__project_level_default_fltr_ann_cutoffs.txt
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 |
---|---|---|
@@ -0,0 +1,75 @@ | ||
|
||
-- 2019_06_Update_1__add__project_level_default_fltr_ann_cutoffs.txt | ||
|
||
CREATE TABLE project_level_default_fltr_ann_cutoffs_tbl ( | ||
id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, | ||
project_id INT(10) UNSIGNED NOT NULL, | ||
search_program_name VARCHAR(200) NOT NULL, | ||
psm_peptide_type ENUM('psm', 'peptide', 'psm_per_peptide') NOT NULL, | ||
annotation_type_name VARCHAR(255) NOT NULL, | ||
annotation_cutoff_value DOUBLE NOT NULL, | ||
created_auth_user_id INT UNSIGNED NOT NULL, | ||
created_date_time DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
last_updated_auth_user_id INT NOT NULL, | ||
last_updated_date_time DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
PRIMARY KEY (id), | ||
UNIQUE INDEX unique_record_index (project_id ASC, search_program_name ASC, psm_peptide_type ASC, annotation_type_name ASC), | ||
CONSTRAINT prj_lvl_dfltfltr_ann_ctffs | ||
FOREIGN KEY (project_id) | ||
REFERENCES project (id) | ||
ON DELETE CASCADE | ||
ON UPDATE NO ACTION) | ||
ENGINE = InnoDB | ||
COMMENT = 'User Entered Annotation Cutoffs that apply to all searches i' /* comment truncated */ /*n the project*/; | ||
|
||
|
||
CREATE TABLE project_level_default_fltr_ann_cutoffs_cutoff_as_string_tbl ( | ||
project_level_default_fltr_ann_cutoffs_id INT(10) UNSIGNED NOT NULL, | ||
annotation_cutoff_value_string VARCHAR(45) NOT NULL, | ||
PRIMARY KEY (project_level_default_fltr_ann_cutoffs_id), | ||
CONSTRAINT prj_lvl_dfltfltr_ann_ctffs_as_str_fk | ||
FOREIGN KEY (project_level_default_fltr_ann_cutoffs_id) | ||
REFERENCES project_level_default_fltr_ann_cutoffs_tbl (id) | ||
ON DELETE CASCADE | ||
ON UPDATE NO ACTION) | ||
ENGINE = InnoDB; | ||
|
||
|
||
CREATE TABLE project_level_default_fltr_ann_cutoffs_prev_tbl ( | ||
id INT(10) UNSIGNED NOT NULL, | ||
project_id INT(10) UNSIGNED NOT NULL, | ||
psm_peptide_type ENUM('psm', 'peptide', 'psm_per_peptide') NOT NULL, | ||
search_program_name VARCHAR(200) NOT NULL, | ||
annotation_type_name VARCHAR(255) NOT NULL, | ||
annotation_cutoff_value DOUBLE NOT NULL, | ||
created_auth_user_id INT UNSIGNED NOT NULL, | ||
created_date_time DATETIME NOT NULL, | ||
last_updated_auth_user_id INT NOT NULL, | ||
last_updated_date_time DATETIME NOT NULL, | ||
id_prev_record INT NOT NULL AUTO_INCREMENT, | ||
copy_create_date DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
PRIMARY KEY (id_prev_record), | ||
INDEX id_idex (id ASC), | ||
CONSTRAINT prj_lvl_dfltfltr_ann_ctffs_prv | ||
FOREIGN KEY (project_id) | ||
REFERENCES project (id) | ||
ON DELETE CASCADE | ||
ON UPDATE NO ACTION) | ||
ENGINE = InnoDB | ||
COMMENT = 'Prev data - User Entered Annotation Cutoffs that apply to al' /* comment truncated */ /*l searches in the project*/; | ||
|
||
CREATE TABLE project_level_default_fltr_ann_cutoffs_cutoff_as_string_prev_tbl ( | ||
project_level_default_fltr_ann_cutoffs_id INT(10) UNSIGNED NOT NULL, | ||
annotation_cutoff_value_string VARCHAR(45) NOT NULL, | ||
id_prev_record INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, | ||
project_id INT(10) UNSIGNED NOT NULL, | ||
PRIMARY KEY (id_prev_record), | ||
INDEX prj_lvl_dfltfltr_ann_ctffs_as_str_prev_fk_idx (project_id ASC), | ||
CONSTRAINT prj_lvl_dfltfltr_ann_ctffs_as_str_prev_fk | ||
FOREIGN KEY (project_id) | ||
REFERENCES project (id) | ||
ON DELETE CASCADE | ||
ON UPDATE NO ACTION) | ||
ENGINE = InnoDB; | ||
|
||
|
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
30 changes: 30 additions & 0 deletions
30
...t_level/project_page__ann_cutoff_defaults_project_level_overlay_ann_type_entry.handlebars
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{{!-- project_page__ann_cutoff_defaults_project_level_overlay_ann_type_entry.handlebars in 'project_page__ann_cutoff_defaults_project_level' | ||
Project Page - Set Annotation Defaults at Project Level Overlay Root | ||
Annotation Type Entry | ||
--}} | ||
|
||
<tr class=" selector_ann_type_containing_row "> | ||
<td style="padding-left: 20px;">{{ annType_Entry.annTypeName }}</td> | ||
<td style="padding-right: 10px;"> | ||
<input type="text" maxlength="30" style="width: 150px;" | ||
data-peptide_psm="{{ peptidePSM }}" | ||
data-index_per_type="{{ annType_Entry.indexPerType }}" | ||
data-index_overall="{{ annType_Entry.indexOverall }}" | ||
class=" {{ cssSelectorClasses }} " | ||
value="{{ annType_Entry.existingCutoffValue }}"> | ||
</td> | ||
<td> | ||
<div class=" selector_found_values "> | ||
{{#if annType_Entry.foundValuesString }} | ||
Found: | ||
{{ annType_Entry.foundValuesString }} | ||
{{/if}} | ||
</div> | ||
<div class=" error-text selector_invalid_entry " style=" display: none;" > | ||
value has to be a decimal number | ||
</div> | ||
</td> | ||
</tr> |
8 changes: 8 additions & 0 deletions
8
...oject_level/project_page__ann_cutoff_defaults_project_level_overlay_background.handlebars
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{{!-- project_page__ann_cutoff_defaults_project_level_overlay_background.handlebars in 'project_page__ann_cutoff_defaults_project_level' | ||
Project Page - Set Annotation Defaults at Project Level Overlay Background | ||
--}} | ||
<div id="project_page__ann_cutoff_defaults_project_level_overlay_background" | ||
class="project-level-ann-cutoff-defaults-modal-dialog-overlay-background" > | ||
</div> |
14 changes: 14 additions & 0 deletions
14
...ject_page__ann_cutoff_defaults_project_level_overlay_peptide_list_header_entry.handlebars
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{{!-- project_page__ann_cutoff_defaults_project_level_overlay_peptide_list_header_entry.handlebars in 'project_page__ann_cutoff_defaults_project_level' | ||
Project Page - Set Annotation Defaults at Project Level Overlay Root | ||
Peptide List Entry | ||
--}} | ||
<tr> | ||
<td colspan="3"> | ||
<div style="margin-left: 10px; font-weight: bold;"> | ||
Peptide filters | ||
</div> | ||
</td> | ||
</tr> |
14 changes: 14 additions & 0 deletions
14
.../project_page__ann_cutoff_defaults_project_level_overlay_psm_list_header_entry.handlebars
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{{!-- project_page__ann_cutoff_defaults_project_level_overlay_psm_list_header_entry.handlebars in 'project_page__ann_cutoff_defaults_project_level' | ||
Project Page - Set Annotation Defaults at Project Level Overlay Root | ||
PSM List Entry | ||
--}} | ||
<tr> | ||
<td colspan="3"> | ||
<div style="margin-left: 10px; font-weight: bold;"> | ||
PSM filters | ||
</div> | ||
</td> | ||
</tr> |
43 changes: 43 additions & 0 deletions
43
...lts_project_level/project_page__ann_cutoff_defaults_project_level_overlay_root.handlebars
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{{!-- project_page__ann_cutoff_defaults_project_level_overlay_root.handlebars in 'project_page__ann_cutoff_defaults_project_level' | ||
Project Page - Set Annotation Defaults at Project Level Overlay Root | ||
--}} | ||
<div id="project_page__ann_cutoff_defaults_project_level_overlay_root" | ||
class=" project-level-ann-cutoff-defaults-modal-dialog-overlay-div overlay-outer-div " | ||
style=" width: 600px; " > | ||
|
||
<div class="project-level-ann-cutoff-defaults-modal-dialog-overlay-header" style="width:100%; " > | ||
|
||
<h1 id="project_page__ann_cutoff_defaults_project_level_x_exit" | ||
class="project-level-ann-cutoff-defaults-modal-dialog-overlay-X-for-exit-overlay " | ||
>X</h1> | ||
|
||
<h1 class="project-level-ann-cutoff-defaults-modal-dialog-overlay-header-text" >Set Custom Filters for Project</h1> | ||
</div> | ||
<div class="project-level-ann-cutoff-defaults-modal-dialog-overlay-body selector_project_page__ann_cutoff_defaults_project_level_body " | ||
style="max-height: 630px; overflow-y: auto;"> | ||
|
||
<div style="margin-top: 10px; margin-bottom: 10px;"> | ||
<div > | ||
All data in project will be filtered using these values. | ||
</div> | ||
<div > | ||
Remove all values to disable project-level filtering. | ||
</div> | ||
</div> | ||
<table border="0" id="project_page__ann_cutoff_defaults_project_level_main_table" class=" main-cutoffs-table " > | ||
<tbody > | ||
</tbody> | ||
</table> | ||
|
||
<div style="margin-top: 10px;"> | ||
<input type="button" value="Save" | ||
id="project_page__ann_cutoff_defaults_project_level_save_button"> | ||
|
||
<input type="button" value="Cancel" | ||
id="project_page__ann_cutoff_defaults_project_level_cancel_button"> | ||
</div> | ||
</div> | ||
|
||
</div> |
15 changes: 15 additions & 0 deletions
15
...l/project_page__ann_cutoff_defaults_project_level_overlay_search_program_entry.handlebars
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{{!-- project_page__ann_cutoff_defaults_project_level_overlay_search_program_entry.handlebars in 'project_page__ann_cutoff_defaults_project_level' | ||
Project Page - Set Annotation Defaults at Project Level Overlay Root | ||
Search Program Entry | ||
--}} | ||
|
||
<tr> | ||
<td colspan="3"> | ||
<div style="margin-top: 10px; margin-bottom: 5px; font-weight: bold;"> | ||
{{ dataPerSearchProgramName_Entry.searchProgramName }} | ||
</div> | ||
</td> | ||
</tr> |
Oops, something went wrong.