For this exercise you need to be logged in to Uppmax.
Setup the folder structure:
cd ~/annotation/
export data=/home/data/data_annotation/
export bacterial_annotation_path=~/annotation/bacterial_annotation
mkdir -p $bacterial_annotation_path
export LC_ALL=C
We are providing you with 3 different bacterial genomes (one E coli, one chlamydia and one streptococcus). You should make a group of 3 persons and each of you should do the exercises for 1 species.
cd $bacterial_annotation_path
ln -s $data/raw_computes/Escherichia_coli_genome.fa
ln -s $data/raw_computes/Chlamydia_trachomatis_genome.fa
ln -s $data/raw_computes/Streptococcus_genome.fa
Before running Prokka on genomes assemblies, it is a good step to start with checking the gene content of the assembly
BUSCO provides measures for quantitative assessment of genome assembly, gene set, and transcriptome completeness. Genes that make up the BUSCO sets for each major lineage are selected from orthologous groups with genes present as single-copy orthologs in at least 90% of the species.
Run BUSCO on the 3 bacterial assemblies provided. We will select the lineage set of bacteria.
BUSCO is using augustus to run, as we have no administator rights on uppmax we need to source the $BUSCO_SETUP that will copy the augustus folder with the config files.
conda activate busco
busco -i Chlamydia_trachomatis_genome.fa -o chlamydia_busco -m geno -c 8 -l bacteria_odb10
Look at the results of busco in short_summary_chlamydia_busco.txt
what do you think about this assembly? Is it a good one? can you see any potential problem with continuing the annotation?
how do you expect the annotation will be?
Do the same for the two other assemblies and answer those questions again (you just need to change the input assembly and the name of the output folder).
Prokka is a really easy tool to use for bacterial annotation.
You are going to use the same assemblies you used previously for Busco and link protein sequence of the three species
ln -s $data/raw_computes/uniprot-escherichia.fasta
ln -s $data/raw_computes/uniprot-chlamydia.fasta
ln -s $data/raw_computes/uniprot-streptococcus.fasta
conda activate prokka
prokka --help
The goal of the exercise is for you to learn how to use prokka and to annotate the 3 assemblies and then visualize them in IGV.
Run prokka without any options and then with options of your choices (we encourage you to try at least the options –proteins and –rfam)
Running prokka with only the output option looks like this : prokka Chlamydia_trachomatis_genome.fa --outdir prokka_Chlamydia Running prokka with only --rfam looks like this : prokka Chlamydia_trachomatis_genome.fa --rfam --outdir prokka_Chlamydia_rfam Running prokka with only --proteins looks like this : prokka Chlamydia_trachomatis_genome.fa --proteins uniprot-chlamydia.fasta --outdir prokka_Chlamydia_prot Running prokka with --proteins and --rfam looks like this : prokka Chlamydia_trachomatis_genome.fa --proteins uniprot-chlamydia.fasta --rfam --outdir prokka_Chlamydia_prot_rfam You can try other options to see what you would need to modify in your own projects!
Look at the different results obtained :
Do you see any differences with the different options and no options you used? (like for instance with or without –proteins)
Did you get the annotation you expected after the busco results?
Congratulations you have annotated bacterial genomes!
BUSCO can also be used after the annotation to check if you found the genes you were expected or if something happened during the annotation and you lost genes. To do so you change the option “-m geno” by “-m prot” (you need to replace XXX by the proper name of the file).
conda activate busco
busco -i prokka_Chlamydia/PROKKA_XXXX.faa -o chlamydia_busco_prot -m prot -c 8 -l bacteria_odb10
You can do it for the two other genomes.
Do you see a difference with the BUSCO of the genome?