How galaxyproject/galaxy works
Galaxy is a web platform for running scientific analyses: users work with datasets, histories, tools, and workflows through a browser, while the server coordinates application services and persistence. The README confirms browser access and tools installed manually or from the Tool Shed. The sampled files expose a storage-management workflow and Tool Shed repository management; the broader analysis stages are represented from the source index and tree. Several links for those unsampled capabilities are intentionally omitted rather than inferred.
Main entry points: services/storage_cleaner.py Storage cleaner service · api/storage_cleaner.py Storage cleaner API · __init__.py Application dependencies · tool_version_manager.py Tool version management
Components 25
Browser client
- Galaxy web interface
client/src/app/galaxy.js - Client API modules
client/src/api - Storage screens
client/src/components/User/DiskUsage/Management/StorageManager.vue - Operation wizard
client/src/components/History/CurrentHistory/HistoryOperations/StorageOperationWizardModal.vue - Run monitor
client/src/components/History/StorageOperations/StorageOperationRunView.vue
Analysis domain
- Datasets and datatypes
lib/galaxy/datatypes/registry.py - Dataset collections
lib/galaxy/managers/collections.py - Histories
lib/galaxy/managers/histories.py - Workflow scheduling
lib/galaxy/workflow/scheduling_manager.py - Tool source store
lib/galaxy/tools/source_store/sqlalchemy.py
Platform services
- Manager context
lib/galaxy/managers/context.py - User management
lib/galaxy/managers/users.py - Application dependencies
lib/galaxy/structured_app/__init__.py - ORM mapping
lib/galaxy/model/base.py
Storage management
- Storage cleaner API
lib/galaxy/webapps/galaxy/api/storage_cleaner.py - Storage cleaner service
lib/galaxy/webapps/galaxy/services/storage_cleaner.py - Dataset storage operations
lib/galaxy/managers/dataset_storage_operations.py - Storage schemas
lib/galaxy/schema/storage_operations.py
Tool Shed
- Tool Shed application
lib/tool_shed/structured_app.py - Tool Shed web app
lib/tool_shed/webapp/app.py - Repository management
lib/tool_shed/util/repository_util.py - Repository metadata
lib/tool_shed/metadata/repository_metadata_manager.py - Tool version management
lib/tool_shed/tools/tool_version_manager.py
Other components
- Galaxy user
- Installed tool sources
Connections 20
- Galaxy user → Galaxy web interface: uses
- Galaxy web interface → Client API modules: requests data
- Client API modules → Storage cleaner API: calls API
- Storage screens → Storage cleaner API: manages items
- Operation wizard → Storage cleaner API: starts operation
- Run monitor → Storage cleaner API: monitors run
- Storage cleaner API → Storage cleaner service: delegates
lib/galaxy/webapps/galaxy/api/storage_cleaner.py - Storage cleaner service → Manager context: uses context
lib/galaxy/webapps/galaxy/services/storage_cleaner.py - Storage cleaner service → User management: authenticates user
lib/galaxy/webapps/galaxy/services/storage_cleaner.py - Storage cleaner service → Histories: dispatches cleanup
lib/galaxy/webapps/galaxy/services/storage_cleaner.py - Storage cleaner service → Datasets and datatypes: dispatches cleanup
lib/galaxy/webapps/galaxy/services/storage_cleaner.py - Dataset storage operations → Storage schemas: uses schema
lib/galaxy/managers/dataset_storage_operations.py - Application dependencies → Datasets and datatypes: registers
lib/galaxy/structured_app/__init__.py - Application dependencies → ORM mapping: uses mapping
lib/galaxy/structured_app/__init__.py - Workflow scheduling → Tool source store: uses store
lib/galaxy/workflow/scheduling_manager.py - Tool Shed web app → Tool Shed application: configures
lib/tool_shed/webapp/app.py - Tool Shed application → Repository management: uses utilities
lib/tool_shed/structured_app.py - Tool version management → Repository management: uses
lib/tool_shed/tools/tool_version_manager.py - Tool version management → Repository metadata: uses
lib/tool_shed/tools/tool_version_manager.py - Installed tool sources → Tool Shed web app: installs tools