feat: implement full TMT analysis pipeline, result visualizations, and Windows compatibility.#392
Open
hjn0415a wants to merge 3 commits into
Conversation
…orkflow - Add visualization scripts for abundance, database search, heatmap, etc. - Add `get_abundance_data` helper in `results_helpers.py` to load data. - Update `src/Workflow.py` to support TMT analysis pipeline and group assignment UI. - Register new result visualization pages and clean up legacy menus in `app.py`.
- Update `StreamlitUI` to handle `flag_parameters` and render them as selectboxes. - Persist flag parameter metadata into session state and JSON configurations. - Update `CommandExecutor` to conditionally append flags without appending values. - Add readable command logging/printing before execution.
- Use Windows `taskkill` command via subprocess to forcefully terminate process trees on Windows. - Fallback to `os.kill` with `SIGTERM` on Linux/macOS environments. - Improve exception handling and stale PID file cleanup logic during process stop.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
TMT Analysis Workflow & Interactive Dashboard (
feat)src/Workflow.pyto transition from generic widgets to a comprehensive TMT workflow includingIsobaricAnalyzer,CometAdapter,PerocolatorAdapter,IDFilter,ProteinInterference, andProteinQuantifierapp.pylinked to modular visualization scripts (content/results_*.py) for interactive data exploration (Abundance, Volcano plots, PCA, Heatmaps, Pathway Analysis, etc.).2. Core Engine: Support for No-Value CLI Flags (
feat)StreamlitUIandCommandExecutorto cleanly handle boolean parameters that act as value-less CLI flags (e.g., passing-forceinstead of-force true).3. Cross-Platform Compatibility (
fix)WorkflowManager.py.subprocesswith Windows nativetaskkill /F /T /PIDfor robust tree-termination on Windows, while gracefully falling back to standardos.kill(pid, signal.SIGTERM)on Unix-like environments.Related Issues
Testing Checklist