Skip to content

Provides an user interface to BLAST on Tripal sites.

Notifications You must be signed in to change notification settings

tripal/tripal_blast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tripal Dependency Development Status

Developed by the University of Saskatchewan, Pulse Crop Bioinformatics team.

Introduction

This module provides a basic interface to allow your users to utilize your server's NCBI BLAST+.

Specifically it provides blast program-specific forms (blastn, blastp, tblastn, blastx are supported). In the future, there will be a single form where you will be able to select either a nucleotide or a protein database to BLAST against regardless of the type of query and it will decide which BLAST program to use based on the combination of query/database type (ie: if you selected a protein database on the nucleotide BLAST form then blastx would be used).

BLAST submissions result in the creation of Tripal jobs which then need to run from the command-line. This ensures that long running BLASTs will not cause page time-outs but does add some management overhead and might result in longer waits for users depending on how often you have cron set to run Tripal jobs.

The BLAST results page is an expandable summary table with each hit being listed as a row in the table with query/hit/e-value information. The row can then be expanded to include additional information including the alignment. Download formats are allow users to download these results in the familiar tabular, GFF3 or HTML NCBI formats.

Upgrade to Tripal4 and Drupal10

This module is currently being actively upgraded to Drupal 10. **It should not yet be installed on a production site and given to users ;-) but we're getting there! For the current progress, check in the upgrade release milestone to get an idea of the outstanding tasks needed to be fixed before release.

Automated Testing

This package is dedicated to a high standard of automated testing. We use PHPUnit for testing and CodeClimate to ensure good test coverage and maintainability. There are more details on our CodeClimate project page describing our specific maintainability issues and test coverage.

MaintainabilityBadge TestCoverageBadge

The following compatibility is proven via automated testing workflows.

Tripal Version for following tests

Drupal 10.0.x 10.1.x 10.2.x
PHP 8.1 Grid1A-Badge Grid1B-Badge Grid1C-Badge
PHP 8.2 Grid2A-Badge Grid2B-Badge Grid2C-Badge
PHP 8.3 Grid3C-Badge

Docker

git clone https://github.com/tripal/tripal_blast.git
cd tripal_blast
docker build --tag=tripal/tripal_blast:latest .
docker run --publish=80:80 -tid --volume=`pwd`:/var/www/drupal/web/modules/contrib/tripal_blast tripal/tripal_blast:latest