This README provides instructions on how to run Freebayes, a genetic variant calling program, using Docker. Freebayes can be easily executed within a Docker container, ensuring a consistent and reproducible environment.
Before getting started, ensure that you have Docker installed on your system. You can download and install Docker from Docker's official website.
Replace <version>
with the desired version of Freebayes. Version 1.3.7 is recommended
To run Freebayes using Docker, follow these steps:
-
Create a directory Move your fasta file to the ref directory and your Bam file to the bam directory.
-
Run Freebayes Run Freebayes using
docker compose up
anddocker compose run
. -
Create VCF file Execute
freebayes -f ref/reference.fa bam/input.bam > var.vcf
.
- Ensure that the paths to your input files (
reference.fasta
andinput.bam
) are correct and exist in the mounted directory. - You can adjust the Docker run command to include additional Freebayes options as needed.
If you encounter any issues, verify the following:
- Docker is correctly installed and running on your system.
- The specified paths are correct and accessible.
- Check the Freebayes documentation for any specific command-line arguments that may need adjustment.
By using Docker, you can simplify the deployment and execution of Freebayes, ensuring a consistent computational environment for your genomic analyses.