Warning
This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
galaxy package¶
Galaxy root package – this is a namespace package.
Subpackages¶
- galaxy.actions package
- galaxy.auth package
- galaxy.authnz package
- galaxy.config package
- galaxy.containers package
- galaxy.datatypes package
- Subpackages
- galaxy.datatypes.converters package
- Submodules
- galaxy.datatypes.converters.bed_to_gff_converter module
- galaxy.datatypes.converters.bgzip module
- galaxy.datatypes.converters.cram_to_bam module
- galaxy.datatypes.converters.fasta_to_len module
- galaxy.datatypes.converters.fasta_to_tabular_converter module
- galaxy.datatypes.converters.fastq_to_fqtoc module
- galaxy.datatypes.converters.fastqsolexa_to_fasta_converter module
- galaxy.datatypes.converters.fastqsolexa_to_qual_converter module
- galaxy.datatypes.converters.gff_to_bed_converter module
- galaxy.datatypes.converters.gff_to_interval_index_converter module
- galaxy.datatypes.converters.interval_to_bed_converter module
- galaxy.datatypes.converters.interval_to_bedstrict_converter module
- galaxy.datatypes.converters.interval_to_fli module
- galaxy.datatypes.converters.interval_to_interval_index_converter module
- galaxy.datatypes.converters.interval_to_tabix_converter module
- galaxy.datatypes.converters.lped_to_fped_converter module
- galaxy.datatypes.converters.lped_to_pbed_converter module
- galaxy.datatypes.converters.maf_to_fasta_converter module
- galaxy.datatypes.converters.maf_to_interval_converter module
- galaxy.datatypes.converters.pbed_ldreduced_converter module
- galaxy.datatypes.converters.pbed_to_lped_converter module
- galaxy.datatypes.converters.picard_interval_list_to_bed6_converter module
- galaxy.datatypes.converters.pileup_to_interval_index_converter module
- galaxy.datatypes.converters.ref_to_seq_taxonomy_converter module
- galaxy.datatypes.converters.tabular_csv module
- galaxy.datatypes.converters.tabular_to_dbnsfp module
- galaxy.datatypes.converters.vcf_to_interval_index_converter module
- galaxy.datatypes.converters.vcf_to_vcf_bgzip module
- galaxy.datatypes.converters.wiggle_to_simple_converter module
- galaxy.datatypes.dataproviders package
- Submodules
- galaxy.datatypes.dataproviders.base module
- galaxy.datatypes.dataproviders.chunk module
- galaxy.datatypes.dataproviders.column module
- galaxy.datatypes.dataproviders.dataset module
- galaxy.datatypes.dataproviders.decorators module
- galaxy.datatypes.dataproviders.exceptions module
- galaxy.datatypes.dataproviders.external module
- galaxy.datatypes.dataproviders.hierarchy module
- galaxy.datatypes.dataproviders.line module
- galaxy.datatypes.display_applications package
- galaxy.datatypes.util package
- galaxy.datatypes.converters package
- Submodules
- galaxy.datatypes.annotation module
- galaxy.datatypes.anvio module
- galaxy.datatypes.assembly module
- galaxy.datatypes.binary module
- galaxy.datatypes.blast module
- galaxy.datatypes.checkers module
- galaxy.datatypes.chrominfo module
- galaxy.datatypes.constructive_solid_geometry module
- galaxy.datatypes.coverage module
- galaxy.datatypes.data module
- galaxy.datatypes.genetics module
- galaxy.datatypes.gis module
- galaxy.datatypes.graph module
- galaxy.datatypes.images module
- galaxy.datatypes.interval module
- galaxy.datatypes.isa module
- galaxy.datatypes.media module
- galaxy.datatypes.metadata module
- galaxy.datatypes.microarrays module
- galaxy.datatypes.molecules module
- galaxy.datatypes.mothur module
- galaxy.datatypes.msa module
- galaxy.datatypes.neo4j module
- galaxy.datatypes.ngsindex module
- galaxy.datatypes.phylip module
- galaxy.datatypes.plant_tribes module
- galaxy.datatypes.proteomics module
- galaxy.datatypes.qualityscore module
- galaxy.datatypes.registry module
- galaxy.datatypes.sequence module
- galaxy.datatypes.sniff module
- galaxy.datatypes.spaln module
- galaxy.datatypes.speech module
- galaxy.datatypes.tabular module
- galaxy.datatypes.text module
- galaxy.datatypes.tracks module
- galaxy.datatypes.triples module
- galaxy.datatypes.upload_util module
- galaxy.datatypes.xml module
- Subpackages
- galaxy.dependencies package
- galaxy.eggs package
- galaxy.exceptions package
- galaxy.files package
- galaxy.forms package
- galaxy.job_execution package
- galaxy.job_metrics package
- Subpackages
- galaxy.job_metrics.collectl package
- galaxy.job_metrics.instrumenters package
- Submodules
- galaxy.job_metrics.instrumenters.cgroup module
- galaxy.job_metrics.instrumenters.collectl module
- galaxy.job_metrics.instrumenters.core module
- galaxy.job_metrics.instrumenters.cpuinfo module
- galaxy.job_metrics.instrumenters.env module
- galaxy.job_metrics.instrumenters.hostname module
- galaxy.job_metrics.instrumenters.meminfo module
- galaxy.job_metrics.instrumenters.uname module
- Submodules
- galaxy.job_metrics.formatting module
- Subpackages
- galaxy.jobs package
- Subpackages
- galaxy.jobs.actions package
- galaxy.jobs.rules package
- galaxy.jobs.runners package
- Subpackages
- Submodules
- galaxy.jobs.runners.chronos module
- galaxy.jobs.runners.cli module
- galaxy.jobs.runners.condor module
- galaxy.jobs.runners.drmaa module
- galaxy.jobs.runners.godocker module
- galaxy.jobs.runners.kubernetes module
- galaxy.jobs.runners.local module
- galaxy.jobs.runners.pbs module
- galaxy.jobs.runners.pulsar module
- galaxy.jobs.runners.slurm module
- galaxy.jobs.runners.state_handler_factory module
- galaxy.jobs.runners.tasks module
- galaxy.jobs.runners.univa module
- galaxy.jobs.splitters package
- Submodules
- galaxy.jobs.command_factory module
- galaxy.jobs.dynamic_tool_destination module
- galaxy.jobs.handler module
- galaxy.jobs.manager module
- galaxy.jobs.mapper module
- galaxy.jobs.rule_helper module
- galaxy.jobs.stock_rules module
- galaxy.jobs.transfer_manager module
- Subpackages
- galaxy.managers package
- Submodules
- galaxy.managers.annotatable module
- galaxy.managers.api_keys module
- galaxy.managers.base module
- galaxy.managers.citations module
- galaxy.managers.cloud module
- galaxy.managers.cloudauthzs module
- galaxy.managers.collections module
- galaxy.managers.collections_util module
- galaxy.managers.configuration module
- galaxy.managers.containers module
- galaxy.managers.context module
- galaxy.managers.datasets module
- galaxy.managers.deletable module
- galaxy.managers.executables module
- galaxy.managers.folders module
- galaxy.managers.hdas module
- galaxy.managers.hdcas module
- galaxy.managers.histories module
- galaxy.managers.history_contents module
- galaxy.managers.interactivetool module
- galaxy.managers.jobs module
- galaxy.managers.lddas module
- galaxy.managers.libraries module
- galaxy.managers.library_datasets module
- galaxy.managers.licenses module
- galaxy.managers.markdown_parse module
- galaxy.managers.markdown_util module
- galaxy.managers.pages module
- galaxy.managers.ratable module
- galaxy.managers.rbac_secured module
- galaxy.managers.roles module
- galaxy.managers.secured module
- galaxy.managers.session module
- galaxy.managers.sharable module
- galaxy.managers.taggable module
- galaxy.managers.tools module
- galaxy.managers.users module
- galaxy.managers.visualizations module
- galaxy.managers.workflows module
- galaxy.metadata package
- galaxy.model package
- Subpackages
- galaxy.model.dataset_collections package
- Subpackages
- Submodules
- galaxy.model.dataset_collections.builder module
- galaxy.model.dataset_collections.matching module
- galaxy.model.dataset_collections.registry module
- galaxy.model.dataset_collections.structure module
- galaxy.model.dataset_collections.subcollections module
- galaxy.model.dataset_collections.type_description module
- galaxy.model.migrate package
- galaxy.model.orm package
- galaxy.model.store package
- galaxy.model.tool_shed_install package
- galaxy.model.view package
- galaxy.model.dataset_collections package
- Submodules
- galaxy.model.base module
- galaxy.model.custom_types module
- galaxy.model.database_heartbeat module
- galaxy.model.item_attrs module
- galaxy.model.mapping module
- galaxy.model.metadata module
- galaxy.model.none_like module
- galaxy.model.search module
- galaxy.model.security module
- galaxy.model.tags module
- galaxy.model.triggers module
- Subpackages
- galaxy.objectstore package
- galaxy.openid package
- galaxy.quota package
- galaxy.schema package
- galaxy.security package
- galaxy.selenium package
- Subpackages
- Submodules
- galaxy.selenium.cli module
- galaxy.selenium.components module
- galaxy.selenium.context module
- galaxy.selenium.data module
- galaxy.selenium.driver_factory module
- galaxy.selenium.has_driver module
- galaxy.selenium.navigates_galaxy module
- galaxy.selenium.sizzle module
- galaxy.selenium.smart_components module
- galaxy.tool_shed package
- Subpackages
- galaxy.tool_shed.galaxy_install package
- galaxy.tool_shed.metadata package
- galaxy.tool_shed.tools package
- galaxy.tool_shed.util package
- Submodules
- galaxy.tool_shed.util.basic_util module
- galaxy.tool_shed.util.container_util module
- galaxy.tool_shed.util.hg_util module
- galaxy.tool_shed.util.metadata_util module
- galaxy.tool_shed.util.repository_util module
- galaxy.tool_shed.util.shed_util_common module
- galaxy.tool_shed.util.tool_dependency_util module
- galaxy.tool_shed.util.tool_util module
- Submodules
- galaxy.tool_shed.repository_type module
- galaxy.tool_shed.tool_shed_registry module
- Subpackages
- galaxy.tool_util package
- Subpackages
- galaxy.tool_util.client package
- galaxy.tool_util.cwl package
- galaxy.tool_util.deps package
- Subpackages
- Submodules
- galaxy.tool_util.deps.brew_exts module
- galaxy.tool_util.deps.brew_util module
- galaxy.tool_util.deps.commands module
- galaxy.tool_util.deps.conda_compat module
- galaxy.tool_util.deps.conda_util module
- galaxy.tool_util.deps.container_classes module
- galaxy.tool_util.deps.containers module
- galaxy.tool_util.deps.dependencies module
- galaxy.tool_util.deps.docker_util module
- galaxy.tool_util.deps.dockerfiles module
- galaxy.tool_util.deps.installable module
- galaxy.tool_util.deps.requirements module
- galaxy.tool_util.deps.singularity_util module
- galaxy.tool_util.deps.views module
- galaxy.tool_util.linters package
- Submodules
- galaxy.tool_util.linters.citations module
- galaxy.tool_util.linters.command module
- galaxy.tool_util.linters.cwl module
- galaxy.tool_util.linters.general module
- galaxy.tool_util.linters.help module
- galaxy.tool_util.linters.inputs module
- galaxy.tool_util.linters.outputs module
- galaxy.tool_util.linters.stdio module
- galaxy.tool_util.linters.tests module
- galaxy.tool_util.linters.xml_order module
- galaxy.tool_util.locations package
- galaxy.tool_util.parser package
- Submodules
- galaxy.tool_util.parser.cwl module
- galaxy.tool_util.parser.factory module
- galaxy.tool_util.parser.interface module
- galaxy.tool_util.parser.output_actions module
- galaxy.tool_util.parser.output_collection_def module
- galaxy.tool_util.parser.output_objects module
- galaxy.tool_util.parser.stdio module
- galaxy.tool_util.parser.util module
- galaxy.tool_util.parser.xml module
- galaxy.tool_util.parser.yaml module
- galaxy.tool_util.verify package
- Submodules
- galaxy.tool_util.fetcher module
- galaxy.tool_util.lint module
- galaxy.tool_util.loader module
- galaxy.tool_util.loader_directory module
- galaxy.tool_util.output_checker module
- galaxy.tool_util.provided_metadata module
- Subpackages
- galaxy.tools package
- Subpackages
- galaxy.tools.actions package
- galaxy.tools.data package
- galaxy.tools.data_manager package
- galaxy.tools.error_reports package
- galaxy.tools.expressions package
- galaxy.tools.filters package
- galaxy.tools.imp_exp package
- galaxy.tools.parameters package
- Submodules
- galaxy.tools.parameters.basic module
- galaxy.tools.parameters.dataset_matcher module
- galaxy.tools.parameters.dynamic_options module
- galaxy.tools.parameters.grouping module
- galaxy.tools.parameters.history_query module
- galaxy.tools.parameters.input_translation module
- galaxy.tools.parameters.meta module
- galaxy.tools.parameters.sanitize module
- galaxy.tools.parameters.validation module
- galaxy.tools.parameters.wrapped module
- galaxy.tools.parameters.wrapped_json module
- galaxy.tools.search package
- galaxy.tools.toolbox package
- galaxy.tools.util package
- Submodules
- galaxy.tools.cache module
- galaxy.tools.data_fetch module
- galaxy.tools.errors module
- galaxy.tools.evaluation module
- galaxy.tools.exception_handling module
- galaxy.tools.execute module
- galaxy.tools.recommendations module
- galaxy.tools.repositories module
- galaxy.tools.special_tools module
- galaxy.tools.test module
- galaxy.tools.wrappers module
- Subpackages
- galaxy.tours package
- galaxy.util package
- Subpackages
- Submodules
- galaxy.util.aliaspickler module
- galaxy.util.bunch module
- galaxy.util.bytesize module
- galaxy.util.checkers module
- galaxy.util.commands module
- galaxy.util.compression_utils module
- galaxy.util.dbkeys module
- galaxy.util.dictifiable module
- galaxy.util.expressions module
- galaxy.util.facts module
- galaxy.util.filelock module
- galaxy.util.form_builder module
- galaxy.util.getargspec module
- galaxy.util.hash_util module
- galaxy.util.heartbeat module
- galaxy.util.image_util module
- galaxy.util.inflection module
- galaxy.util.json module
- galaxy.util.jstree module
- galaxy.util.lazy_process module
- galaxy.util.monitors module
- galaxy.util.object_wrapper module
- galaxy.util.odict module
- galaxy.util.oset module
- galaxy.util.permutations module
- galaxy.util.plugin_config module
- galaxy.util.properties module
- galaxy.util.renamed_temporary_file module
- galaxy.util.rules_dsl module
- galaxy.util.sanitize_html module
- galaxy.util.script module
- galaxy.util.search module
- galaxy.util.simplegraph module
- galaxy.util.sleeper module
- galaxy.util.sockets module
- galaxy.util.specs module
- galaxy.util.sqlite module
- galaxy.util.submodules module
- galaxy.util.template module
- galaxy.util.tool_version module
- galaxy.util.topsort module
- galaxy.util.ucsc module
- galaxy.util.validation module
- galaxy.util.watcher module
- galaxy.util.web_compat module
- galaxy.util.xml_macros module
- galaxy.util.yaml_util module
- galaxy.util.zipstream module
- galaxy.visualization package
- Subpackages
- galaxy.visualization.data_providers package
- galaxy.visualization.genome package
- galaxy.visualization.plugins package
- Submodules
- galaxy.visualization.plugins.config_parser module
- galaxy.visualization.plugins.interactive_environments module
- galaxy.visualization.plugins.plugin module
- galaxy.visualization.plugins.registry module
- galaxy.visualization.plugins.resource_parser module
- galaxy.visualization.plugins.utils module
- galaxy.visualization.tracks package
- Submodules
- galaxy.visualization.genomes module
- Subpackages
- galaxy.web package
- galaxy.web_stack package
- galaxy.webapps package
- galaxy.webhooks package
- galaxy.work package
- galaxy.workflow package
Submodules¶
galaxy.app module¶
-
class
galaxy.app.
UniverseApplication
(**kwargs)[source]¶ Bases:
galaxy.config.ConfiguresGalaxyMixin
Encapsulates the state of a Universe application
-
property
is_job_handler
¶
-
property
-
class
galaxy.app.
StatsdStructuredExecutionTimer
(galaxy_statsd_client, *args, **kwds)[source]¶
galaxy.config_watchers module¶
galaxy.main module¶
Entry point for starting Galaxy without starting as part of a web server.
Example Usage: Start a job/workflow handler without a web server and with a given name using.
galaxy-main –server-name handler0
Start as a daemon with (requires daemonized - install with ‘pip install daemonize’):
galaxy-main -d –daemon-log-file=handler0-daemon.log –pid-file handler0.pid –server-name handler0
In daemon mode logging of Galaxy (as opposed to this script) is configured via a loggers section in Galaxy’s ini file - this can be overridden with sensible defaults logging to a single file with the following:
galaxy-main -d –server-name handler0 –daemon-log-file=handler0-daemon.log –pid-file handler0.pid –log-file handler0.log
This can also be used to start Galaxy as a uWSGI mule, e.g. for job handling:
uwsgi … –py-call-osafterfork –mule=lib/galaxy/main.py –mule=lib/galaxy/main.py –farm=job-handlers:1,2
The –py-call-osafterfork allows for proper shutdown on SIGTERM/SIGINT.
-
galaxy.main.
load_galaxy_app
(config_builder, config_env=False, log=None, attach_to_pools=None, **kwds)[source]¶
galaxy.queue_worker module¶
Galaxy control queue and worker. This is used to handle ‘app’ control like reloading the toolbox, etc., across multiple processes.
-
galaxy.queue_worker.
send_local_control_task
(app, task, get_response=False, kwargs=None)[source]¶ This sends a message to the process-local control worker, which is useful for one-time asynchronous tasks like recalculating user disk usage.
-
galaxy.queue_worker.
send_control_task
(app, task, noop_self=False, get_response=False, routing_key='control.*', kwargs=None)[source]¶ This sends a control task out to all processes, useful for things like reloading a data table, which needs to happen individually in all processes. Set noop_self to True to not run task for current process. Set get_response to True to wait for and return the task results as a list.
-
class
galaxy.queue_worker.
ControlTask
(queue_worker)[source]¶ Bases:
object
-
property
connection
¶
-
property
control_queues
¶
-
property
exchange
¶
-
property
declare_queues
¶
-
property
-
galaxy.queue_worker.
create_panel_section
(app, **kwargs)[source]¶ Updates in memory toolbox dictionary.
-
class
galaxy.queue_worker.
GalaxyQueueWorker
(app, task_mapping=None)[source]¶ Bases:
kombu.mixins.ConsumerProducerMixin
,threading.Thread
This is a flexible worker for galaxy’s queues. Each process, web or handler, will have one of these used for dispatching so called ‘control’ tasks.
-
__init__
(app, task_mapping=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
send_control_task
(task, noop_self=False, get_response=False, routing_key='control.*', kwargs=None)[source]¶
-
property
declare_queues
¶
-
galaxy.queues module¶
All message queues used by Galaxy
-
galaxy.queues.
all_control_queues_for_declare
(application_stack)[source]¶ For in-memory routing (used by sqlalchemy-based transports), we need to be able to build the entire routing table in producers.