TE curation overview¶
The TE curation section is the core of TEamo. It turns a raw TE library (the output of de novo TE discovery tools or a library provided by the user) into a curated, non-redundant and classified TE library. Raw TE libraries can contain highly fragmented, redundant and unclassified consensus. In the 1st manual curation step (MC), the user can decide between performing an initial automatic curation with MCHelper or skip the automatic curation and curate manually based on the TE+Aid plots, multiple sequence alignments (MSA) and the ORFs detected. Users that upload a TE library curated by other tools can skip the MCHelper automatic curation. Remember that TEamo uses the Wicker nomenclature for TE classification.
When de novo TE discovery finishes, the raw library is created with the suffix
-rawLib.fa, prefixed with the tools that were run (e.g. RM2-Heliano-rawLib.fa
when RM2 and Heliano were run, RM2-rawLib.fa if only RM2 was run).
The body of the section is divided into five tabs:
| Tab | Purpose | Help |
|---|---|---|
| Select data | Choose the assembly to curate, or upload a genome and a raw library | This page |
| 1st MC | Automatic curation with MCHelper (optional). Manual inspection of the complete models | Automatic pipelines |
| 2nd MC | 80-80-80 homology search; manual inspection of complete models without a known family | Automatic pipelines |
| 3rd MC | Optional: 80-80-80 homology search and manual inspection of incomplete models | Automatic pipelines |
| Finalize curation | Join, de-duplicate and review the final library; name new families | Finalize curation |
The manual inspection panel shared by all MC steps is described in Manual inspection.
Long processes run in the background
The automatic steps (TE discovery and every Run pipeline button) are executed in the background. While they run you can keep using the app, for instance to run the automatic curation of one assembly while manually curating another one.
Select data¶
This tab shows the master table with every assembly available under
data/<species>/<strain>/ and its progress. When there are no assemblies the
table shows a message instead.
Clicking the play button of a row selects that assembly and takes you
directly to the curation tab that corresponds to its current progress (e.g. an
assembly in To curate opens the 1st MC tab).
Progress column¶
The progress of each assembly is derived from the files present on disk, so it is preserved when the app is restarted:
| Progress | Meaning |
|---|---|
No raw library |
Genome uploaded, no raw TE library yet (run TE discovery or upload a library) |
Running TE discovery |
RepeatModeler2 (and optionally Heliano) is running |
To curate |
Raw library ready; curation can start in 1st MC |
Running automatic curation |
MCHelper is running |
1st manual curation |
Manual inspection of complete models |
2nd manual curation |
Manual inspection of complete models without 80-80-80 hit |
Incomplete library step |
3rd MC (incomplete models) pending or in progress |
To create final library |
Ready to run the Finalize curation pipeline |
To review final library |
Final library built, pending final review / Finish curation |
Curation complete |
Curated library generated; annotation can start |
Annotation done |
TE annotation finished |
Upload a raw TE library¶
If you already have a raw TE library, you can start the curation directly:
- Use the two Browse buttons to select the genome file and the raw lib file.
- Enter a species and a strain name.
- Click Upload data.
The library file name is free: TEamo stores it as
data/<species>/<strain>/RM2_output/User-rawLib.fa and the assembly appears in
the master table with the progress To curate.
Library requirements
- Sequence IDs must follow the RepeatMasker format
name#classification(e.g.rnd-1_family-12#LTR/Gypsy, or#Unknownwhen unclassified). - Sequence IDs must be unique.
- New families are only named automatically at the end of the curation
if their IDs start with
rnd-,ltr-,HLE1_orHLE2_(see Finalize curation).
The upload is rejected otherwise.
Genome processing
The genome may be compressed (gzip, bzip or zip). TEamo writes a copy named
data/<species>/<strain>/0_raw/assembly_for_TEamo.fasta in which sequence
headers only contain alphanumeric characters, _ and - (any other
character is replaced by _) and are truncated to 20 characters, as
required by RepeatMasker. Characters other than letters, digits and . in
the species and strain names are replaced by ..