Warning
This document is for an in-development version 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.tools.imp_exp package¶
-
class
galaxy.tools.imp_exp.
JobImportHistoryArchiveWrapper
(app, job_id)[source]¶ Class provides support for performing jobs that import a history from an archive.
-
class
galaxy.tools.imp_exp.
JobExportHistoryArchiveWrapper
(app, job_id)[source]¶ Class provides support for performing jobs that export a history to an archive.
-
setup_job
(jeha, include_hidden=False, include_deleted=False)[source]¶ Perform setup for job to export a history into an archive. Method generates attribute files for export, sets the corresponding attributes in the jeha object, and returns a command line for running the job. The command line includes the command, inputs, and options; it does not include the output file because it must be set at runtime.
-
Submodules¶
galaxy.tools.imp_exp.export_history module¶
Export a history to an archive file using attribute files.
- usage: %prog history_attrs dataset_attrs job_attrs out_file
- -G, –gzip: gzip archive file
galaxy.tools.imp_exp.unpack_tar_gz_archive module¶
Unpack a tar or tar.gz archive into a directory.
- usage: %prog archive_source dest_dir
- –[url|file] source type, either a URL or a file.
-
galaxy.tools.imp_exp.unpack_tar_gz_archive.
check_archive
(archive_file, dest_dir)[source]¶ Ensure that a tar archive has no absolute paths or relative paths outside the archive.