For this exercise you need to be logged in to Uppmax.
Setup the folder structure:
source ~/git/GAAS/profiles/activate_rackham_env
export data=/proj/g2019006/nobackup/$USER/data
export bacterial_annotation_path=/proj/g2019006/nobackup/$USER/bacterial_annotation
mkdir -p $bacterial_annotation_path
You will work on 3 different bacterial genomes (one E coli, one chlamydia and one streptococcus).
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.
module load BUSCO/3.0.2b
source $BUSCO_SETUP
run_BUSCO.py -i Chlamydia_trachomatis_genome.fa -o chlamydia_busco -m geno -c 8 -l /sw/apps/bioinfo/BUSCO/v2_lineage_sets/bacteria_odb9
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
module unload BUSCO
ln -s $data/raw_computes/uniprot-escherichia.fasta
ln -s $data/raw_computes/uniprot-chlamydia.fasta
ln -s $data/raw_computes/uniprot-streptococcus.fasta
module load prokka/1.12-12547ca
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)
prokka Chlamydia_trachomatis_genome.fa --outdir prokka_Chlamydia
prokka Chlamydia_trachomatis_genome.fa --rfam --outdir prokka_Chlamydia_rfam
prokka Chlamydia_trachomatis_genome.fa --proteins uniprot-chlamydia.fasta --outdir prokka_Chlamydia_prot
prokka Chlamydia_trachomatis_genome.fa --proteins uniprot-chlamydia.fasta --rfam --outdir prokka_Chlamydia_prot_rfam
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?
You could now also visualise all this information using a genome browser, such as IGV. IGV requires a genome fasta file and any number of annotation files in GTF or GFF3 format (note that GFF3 formatted file tend to look a bit weird in IGV sometimes).
Transfer the gff3 files to your computer using scp:
scp __YOURLOGIN__@rackham.uppmax.uu.se:/proj/g2019006/nobackup/__YOURLOGIN__/bacterial_annotation/YOURFILE .
Congratulations you have annotate bacterial genome!
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”
module load BUSCO/3.0.2b
run_BUSCO.py -i prokka_Chlamydia/PROKKA_XXXX.faa -o chlamydia_busco_prot -m prot -c 8 -l /sw/apps/bioinfo/BUSCO/v2_lineage_sets/bacteria_odb9
You can do it for the two other genomes.
Do you see a difference with the BUSCO of the genome?