TE annotation

The TE annotation module annotates transposable elements (TEs) in the genome assembly with the curated TE library, using:

  1. RepeatMasker - Screens DNA sequences for interspersed repeats and low complexity DNA sequences
  2. OneCodeToFindThemAll - Parses the RepeatMasker output to reconstruct and annotate complete TE copies

The results are visualized in an interactive genome browser (JBrowse2 via JBrowseR).

Optional module

TE annotation is not part of the default (curator) installation. Install it with bash configure.sh --annotation; otherwise the sidebar shows the module as not configured.

Requirements

The TE curation of the assembly must be finished (progress Curation complete), i.e. the curated library data/<species>/<strain>/MCH_output/<species>_<strain>_curated-TE-library.fa must exist.

Select Data tab

Shows a table with the genome assemblies for which TE curation has been finished. Clicking the play button of a row selects the assembly and opens the Annotation Pipeline tab.

Annotation Pipeline tab

The sidebar shows the selected TE Library and the annotation parameters:

  • Search Engine: engine used by RepeatMasker, rmblast (default) or ncbi.
  • Number of cores: by default, half of the available cores (up to 10).
  • Curator ID: identifier of the curator (e.g. initials). It is written in the source column of the resulting GFF3 and is required.
  • Run Annotation: runs RepeatMasker first and then OneCodeToFindThemAll. The Annotation Status box reports the progress.
  • Reset: clears the annotation results (deletes all annotation output files) to start again.

Once the annotation is complete, the main panel displays the genome browser.

Outputs

Annotation results are stored in data/<species>/<strain>/Annotation/:

  • RepeatMasker outputs in RM/ subdirectory:
    • *.out - RepeatMasker output file
    • repeatmasker.log - RepeatMasker execution log
  • OneCodeToFindThemAll outputs in OCTFTA/ subdirectory:
    • element_sorted.gff - Final TE annotation in GFF3 format
    • octfta.log - OneCodeToFindThemAll execution log
    • RM-clean.out - Cleaned RepeatMasker output
    • octfta_dict.txt - LTR dictionary file

Genome Browser

The embedded JBrowse2 genome browser works as a regular JBrowse2 instance and allows you to:

  • Browse the genome and view annotated TE features
  • Zoom in/out to examine specific regions
  • View detailed information about individual TE elements
  • Navigate between chromosomes/contigs

The browser displays two default tracks:

  1. Reference Sequence Track: The genome assembly sequence
  2. TE Annotation Track: TE features identified by OneCodeToFindThemAll

The browser needs a FASTA index (.fai) of the genome; if it does not exist, it is created automatically with Rsamtools.

Troubleshooting

"Curation Not Finished" error: finish the curation in TE curation → Finalize curation by clicking Finish curation.

"No Assembly Selected" error: select an assembly in the Select Data tab of the TE annotation section.

Annotation fails: check the log files in the Annotation output directory for error messages.

Genome browser not loading:

  • Ensure the annotation module is installed (bash configure.sh --annotation, which provides JBrowseR and Rsamtools).
  • Verify that annotation output files exist:
    • RepeatMasker .out file in data/<species>/<strain>/Annotation/RM/
    • element_sorted.gff file in data/<species>/<strain>/Annotation/OCTFTA/

Notes

  • Annotation can take significant time depending on genome size and available CPU cores.
  • Ensure sufficient disk space for annotation outputs.