Welcome to the GitHub repository for the DIGS Tool!
Systematic, sequence similarity search-based genome screening is a powerful approach for identifying and characterising genome features in silico. This approach extends the basic sequence similarity search by:
- Performing multiple searches systematically, involving various query sequences and/or target databases.
- Classifying “hits” (matching sequences) via comparison to a reference sequence library curated by the investigator.
Database-integrated genome screening (DIGS) is a form of systematic genome screening in which a similarity search-based screening pipeline is linked to a relational database management system (RDBMS). This provides a robust foundation for implementing large-scale, automated screens, and enables a 'database querying' approach to investigating screening output.
The DIGS Tool is a software framework for implementing DIGS on UNIX/LINUX and Macintosh OSX platforms. The program is accessible through a text-based console interface. It uses the BLAST+ program suite to perform similarity search-based screening, and the MySQL RDBMS to capture screen output.
Please see the User Guide for more details.
To run the DIGS tool requires PERL, BLAST and MySQL (or a supported fork of MySQL such as MariaDB).
Steps involved in installing the DIGS tool and using it to perform DIGS are as follows:
-
Install and configure DIGS
- Download the DIGS tool
- Install PERL, BLAST and MySQL
- Install Perl
DBI
andDBD::MySQL
packages (if they are not already installed) - Set
$DIGS_HOME
and$DIGS_GENOMES
environment variables$DIGS_HOME
= path to DIGS tool directory$DIGS_GENOMES
= path to the top level of the target database (tDB) directory (see below)
- Create a MySQL user for DIGS
- Set
$DIGS_MYSQL_USER
and$DIGS_MYSQL_PASSWORD
environment variables
-
Set up the target database (tDB), create a reference sequence library (RSL) and select query (probe) sequences
-
Create a control file for a DIGS project
-
Run the DIGS screen based on the control file
-
Interrogate the output of DIGS
-
Update reference libraries and repeat steps 4+5 using updated information
Step 1 and its sub-components are one-offs associated with initial set-up of the DIGS tool.
Steps 2-3 refer to the set-up of individual DIGS projects, and will need to be repeated for each distinct screen.
Steps 4-6 encapsulate the actual DIGS process. Step 5 can entail analysis within the screening database (i.e. using SQL, but may also entail the analysis of DIGS output in external programs (e.g. phylogeny packages, statistical analysis programs). Iterating on a DIGS project (Step 6) is optional. However, it is anticipated that many DIGS projects will be heuristic in nature, and these will commonly require iteration.
Please see the User Guide for more details.
To see options for screening:
./digs_tool.pl -h
To run DIGS, the following input data components are required:
- Target Database (TDb): A collection of whole genome sequence or transcriptome assemblies serving as the target for similarity searches.
- Reference Sequence Library (RSL): Represents the genetic diversity associated with the genome feature(s) under investigation.
- Query Sequences (Probes): Input sequences for similarity searches of the Target Database.
- Control File: Defines parameters and paths for screening.
Before running a screen for the first time, you will need to index the TDb for BLAST searching:
./digs_tool.pl –m=1 –i=[path to control file]
Once the target database has been indexed, a screen can be executed as follows:
./digs_tool.pl –m=2 –i=[path to control file]
Progress is written to the terminal, and can also be monitored by issuing SQL queries against the relevant screening database. A screen can be stopped at any time. The next time the tool is restarted, it will initiate screening at the point it left off.
Please see the User Guide for more details.
A paper describing the DIGS tool has been published in the journal Genome Biology:
Blanco-Melo D, Campbell MA, Zhu H, Dennis TPW, Modha S, Lytras S, Hughes J, Gatseva A, and Gifford RJ (2024) A novel approach to exploring the dark genome and its application to mapping of the vertebrate virus fossil record. Genome Biology May 13;25(1):120
The DIGS tool team is very open to further development of this software by the open source bioinformatics community. It is probably worth raising any ideas you have with the team before embarking on development.
If contributing to the DIGS tool, please review our Contribution Guidelines.
For questions, issues, or feedback, please contact us at digstool@gmail.com or open an issue.
The DIGS tool was written by Robert J. Gifford.
The project is licensed under the GNU Affero General Public License v. 3.0