This archive contains the Docker backend pipeline for use with the BASys2-app-docker-single Docker image. It is a Perl script that automates the process of analyzing bacterial genomes, including gene prediction, annotation, and functional analysis. The script is designed to be run from the command line and takes several input parameters, including the type of input data, job ID or accession number, and annotation type. The script uses various bioinformatics tools and databases to perform the analysis and generate output files.
docker pull wishartlab/basys2-app-docker-single:latest
/basys2-app/DB folder of the repository./basys2-app/sub_programs folder of the repository./basys2-app/sub_programs folder is executable by running the following command:
chmod +x sub_programs/*
basys2.pl script is executable by running the following command:
chmod +x scripts/basys2.pl
To use the BASys2 Docker, you will use docker compose to run two containers: one for the BASys2 pipeline and one for the database. The docker-compose.yml file in the repository contains the configuration for these containers. From the root directory of the repository, run the following command to start the containers:
docker-compose up -d
The pipeline is designed to be run from the command line within the Docker container. You can enter the BASys2 docker container via this command:
docker exec -ti basys2-app-docker-single-main-1 bash
You can now run your analysis using the BASys2 pipeline, using the following command to run it:
perl /basys2-app/scripts/basys2.pl <input type> <filename or accession>
Input type may be GenBank accession number (-g), raw FASTA sequence (-s), metagenomic contig (-c), or FASTQ read files (-q).
For raw FASTA sequence and metagenomic contig inputs, you must ensure that input file is present within /basys2-app/JOBS/{job_name} directory. For example, /basys2-app/JOBS/{job_name}/{job_name}.fasta.
For FASTQ read file inputs, two input files must be present within /basys2-app/JOBS folders under desired job name, and their name must be provided as the basys2.pl script parameter. For example, perl basys2.pl -q -1=read1.fq -2=read2.fq {job_name}.
If GenBank accession is specified, BASys2 script will automatically corresponding folder in /basys2-app/JOBS directory and start running BASys2 pipeline.
Latest Docker (tested on Docker version 28.0.4, build b8034c0).
Content type
Image
Digest
sha256:755bb324b…
Size
7.7 GB
Last updated
over 1 year ago
docker pull wishartlab/basys2-app-docker-single