-
Notifications
You must be signed in to change notification settings - Fork 2
Invoking GLUE as a Unix Command
GLUE is designed to integrate seamlessly into diverse bioinformatics workflows, providing flexible and powerful command-line capabilities. By invoking GLUE as a Unix command, users can execute GLUE commands interactively, in batch mode, or inline within broader computational pipelines. This versatility makes it a valuable tool for various computational contexts, from interactive analysis to programmatic execution within larger software systems.
-
Cross-Platform Support
GLUE relies on a minimal set of mature, high-quality, cross-platform components, ensuring compatibility with Unix, Linux, macOS, and other operating systems. -
Integration and Automation
GLUE's command-line interface allows easy integration into bioinformatics workflows. It supports importing/exporting data in multiple formats and includes scripting capabilities, enabling automation and customization. -
Web Service Deployment
GLUE can be deployed within a standard web server, exposing its functionality via standard web service protocols. This makes it suitable for developing interactive public websites, programmatic services, or integrating into organizational microservices. -
Batch and Inline Execution
GLUE supports batch mode for running predefined command sequences from files and inline execution for single commands, enabling rapid experimentation and task-specific automation.
To invoke GLUE, use the gluetools.sh
script with appropriate options. Below is an example of the help command:
MacDesktop:framework robertgifford$ gluetools.sh -h
Usage:
gluetools [-c <c-file>] -v
gluetools [-c <c-file>] -h
gluetools [-c <c-file>] [-p <c-opt>]... [-mECO] [-i <word>...]
gluetools [-c <c-file>] [-p <c-opt>]... [-nmECO] -f <b-file>
Option | Description |
---|---|
-h, --help |
Display usage and options, then exit. |
-v, --version |
Display version information and exit. |
-n, --non-interactive |
Prevent interactive mode after executing commands in batch or inline mode. |
-f <b-file>, --batch-file <b-file> |
Execute a batch of commands from the specified file. |
-i <word>..., --inline-cmd |
Run a single command inline and exit. |
-c <c-file>, --config-file <c-file> |
Configure GLUE using the specified configuration file. |
-p <c-opt>, --console-option <c-opt> |
Apply inline console options in name:value format. |
-E, --no-cmd-echo |
Suppress echoing of batch/inline commands during execution. |
-C, --no-comment-echo |
Suppress echoing of comments in batch/inline commands. |
-O, --no-output |
Suppress output of batch/inline command results. |
-m, --migrate-schema |
Automatically migrate the database schema if necessary. |
- Run Commands Interactively To start GLUE in interactive mode:
gluetools.sh
- Execute Commands Inline To run a single command inline:
gluetools.sh -i "project example list sequence"
- Batch Mode Execution To run commands from a batch file:
gluetools.sh -f commands.glue
- Suppress Command Echo and Output To run commands silently without echoing or showing output:
gluetools.sh -f commands.glue -ECO
- Apply Console Options To customize console behavior:
gluetools.sh -p cmd-result-format:json -i "project lentivirus list sequence"
GLUE by Robert J. Gifford Lab.
For questions, issues, or feedback, please open an issue on the GitHub repository.
- Project Data Model
- Schema Extensions
- Modules
- Alignments
- Variations
- Scripting Layer
- Freemarker Templates
- Example GLUE Project
- Command Line Interpreter
- Build Your Own Project
- Querying the GLUE Database
- Working With Deep Sequencing Data
- Invoking GLUE as a Unix Command
- Known Issues and Fixes
- Overview
- Hepatitis Viruses
- Arboviruses
- Respiratory Viruses
- Animal Viruses
- Spillover Viruses
- Virus Diversity
- Retroviruses
- Paleovirology
- Transposons
- Host Genes