Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
byemaxx committed Oct 28, 2024
2 parents 67540cd + 0ddde26 commit 015112e
Show file tree
Hide file tree
Showing 11 changed files with 715 additions and 367 deletions.
11 changes: 11 additions & 0 deletions Docs/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# Version: 1.116.1
## Date: 2024-10-28
### Changes:
- Fix: Fixed the bug of when plot the heatmap of taxa-funcs with t-ststistic and f-statistic, the value still selected as p-value.
- Change: Updated the cookbook.

# Version: 1.116.0
## Date: 2024-10-18
### Changes:
- New: 1. Added Advanced Parameters for Peptide Annotator 2. Add [Fill Zero] method for handling missing values in the data preprossing part.

# Version: 1.115.5
## Date: 2024-10-16
### Changes:
Expand Down
270 changes: 137 additions & 133 deletions Docs/MetaX_Cookbook.md

Large diffs are not rendered by default.

20 changes: 19 additions & 1 deletion metax/gui/main_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,8 @@ def hide_plot_setting_groupbox(self):
groupbox_list = ["groupBox_basic_plot", "groupBox_basic_heatmap_plot_settings",
"groupBox_cross_heatmap_settings", "groupBox_deseq2_plot_settings",
"groupBox_co_expression_plot_settings", "groupBox_expression_trends_plot_settings",
"groupBox_taxa_func_link_plot_settings", "groupBox_taxa_func_link_net_plot_settings"
"groupBox_taxa_func_link_plot_settings", "groupBox_taxa_func_link_net_plot_settings",
"groupBox_peptide_annotator_settings"
]
for groupbox_name in groupbox_list:
groupbox = getattr(self, groupbox_name)
Expand Down Expand Up @@ -2049,6 +2050,14 @@ def run_peptide2taxafunc(self):
final_peptide_path = f'''{self.lineEdit_final_peptide_path.text()}'''
peptide2taxafunc_outpath = f'''{self.lineEdit_peptide2taxafunc_outpath.text()}'''
threshold = float(self.doubleSpinBox_LCA_threshold.value())
genome_mode = self.checkBox_annotator_genome_mode.isChecked()
protein_separator = self.lineEdit_annotator_protein_separator.text()
protein_genome_separator = self.lineEdit_annotator_genome_separator.text()
peptide_col = self.lineEdit_annotator_peptide_col_name.text()
protein_col = self.lineEdit_annotator_protein_col_name.text()
sample_col_prefix = self.lineEdit_annotator_sample_col_prefix.text()
distinct_genome_threshold = self.spinBox_annotator_distinct_num_threshold.value()
exclude_protein_contains = self.lineEdit_annotator_exclude_protein_contains.text()

if db_path == '':
QMessageBox.warning(self.MainWindow, 'Warning', 'Please select database!')
Expand All @@ -2065,6 +2074,15 @@ def peptide2taxafunc_main_wrapper():
peptide_path = final_peptide_path,
output_path = peptide2taxafunc_outpath,
threshold=threshold,
genome_mode=genome_mode,
protein_separator=protein_separator,
protein_genome_separator=protein_genome_separator,
protein_col=protein_col,
peptide_col=peptide_col,
sample_col_prefix=sample_col_prefix,
distinct_genome_threshold=distinct_genome_threshold,
exclude_protein_contains = exclude_protein_contains

)
return instance.run_annotate()
self.run_in_new_window(peptide2taxafunc_main_wrapper, show_msg=True)
Expand Down
Loading

0 comments on commit 015112e

Please sign in to comment.