PELICAN is a Machine Learning based tool for automated genome consensus annotation. It runs four gene prediction tools:
- Phanotate
- Prokka-virus
- prodigalGV
- GeneMarkS
And from those find the best combination of genes predicted by each tool.
- Gene prediction using all annotation tools.
- Extracting gene coordinates from the output of each tool.
- Finding shared genes predicted by at least three of the four tools -- First consensus
- All genes from the First consensus are evaluated to calculate the mean codon usage
- The non-consensus genes are compared to the PHROGS and COGs databases to calculate a BLAST score.
- The same non-consensus genes are processed by an AutoEncoder (atCNN) to predict if they "look like" phage genes or not.
- The means score between BLAST and atCNN must exceed 0.66. Otherwise, if only atCNN, the score must exceed 0.95.
- Finally, all genes are evaluated to check for overlaps higher than 80% of the gene length. If the overlap is significant, both overlapping genes have their codon usage calculated and compared to the First conensus. The gene with the closer codon usage is then selected.
We recommend the installation via pip is done using conda environments, which will automatically handle dependencies and ensure a smooth setup.
git clone https://github.com/LaboratorioBioinformatica/PELICAN.git
cd PELICAN
conda env create -n pelican --file PELICAN.yml
#Before running PELICAN for the first time, please run
sudo apt install -y podman golang-github-containers-common uidmap slirp4netns fuse-overlayfsInstallation can be done by installing PELICAN from the cloned repository:
conda activate pelican #Conda env created above
#Make sure to be inside the PELICAN folder
pip install .
#Sometimes the annotation tools do not install automatically
pip install pyrodigal_gv phanotate hmmlearn
pip install torch --index-url https://download.pytorch.org/whl/cpu- Error: OCI runtime error: crun: unknown version specified run:
sudo apt install -y runc
mkdir -p ~/.config/containers
cat > ~/.config/containers/containers.conf << 'EOF'
[engine]
runtime = "runc"
EOFAfter installation, you can use PELICAN from anywhere:
pelican -i your_genome.fasta --output_path ./resultsNote: On the first run, PELICAN will automatically decompress the PHROG database files. This is a one-time process that may take a few moments.
-h, --help show this help message and exit
-i INPUT, --input INPUT
Phage genome in fasta format
--consensus CONSENSUS
Number of tools for initial consensus -- default: 3
--ident IDENT minimun identity for blast search (psiblast) -- default: 30
--cov COV minimun coverage for blast search (psiblast) -- default: 40
--output_path OUTPUT_PATH
Path fot output folder -- Default: uses current directory
--version Show version information
--create_gff Create GFF files from predictions
--create_blastdb Create BLAST database
--fill Force filling of missing genes empty coordinates
--threads THREADS Number of threads to use -- default: 4pelican -i example_genome.fasta --output_path ./resultsTest data is available on the folder test_results.
For the same test genomes, pre-runned results are available for analysis on the folder test_results.

