Final Library Assembly and Naming¶
The last step of the curation is to build the final library, do a final manual inspection to correct misclassified TEs and give names to the new families. There is no possibility to further trim the TEs.
Tip
Show
curator only needs to check TE classification. Rarely discard a sequence that migth have been included by mistake.
The only parameter that user has to choose is number of CPU cores. When clicking on "Run pipeline" button, the app will follow this workflow:
1 Unification of Curated TE Models
All the kept transposable element (TE) models, both complete and incomplete, are joined into a single library:
- complete models with an 80-80-80 hit;
- complete models recovered in the 2nd MC (potential new families);
- incomplete models with an 80-80-80 hit;
- incomplete models recovered in the 3rd MC (only if the step was not skipped).
2 Rename sequences with duplicated IDs
To ensure uniqueness.
3 Run CD-HIT
To remove redundancy and generate a non-redundant library:
data/<species>/<strain>/MCH_output/FinalLib/final_curated_NR.fa.
4 Prepare the manual inspection
TE+Aid is run through MCHelper on the final consensus sequences, and their genomic copies are extended and aligned for the extended MSA. Files are stored in
data/<species>/<strain>/MCH_output/FinalLib/MI_MCH/.
Final manual inspection¶
The goal of this inspection is a final check of the TE classification and to remove models that might have been included by mistake. The panel is the same as in the other steps (Manual inspection), without trimming controls and with these extra buttons:
- Previous seq / Next seq: navigate through the consensus sequences of the final library.
- Re-classify: changes only the TE classification of the sequence to the one selected in TE annotation (e.g. a TE without enough evidence to be called a Gypsy, but whose assigned family is a Gypsy).
- Discard seq: removes the sequence from the final library.
Finishing the Curation and Naming New Families¶
In the top panel, the “Finish curation” button completes the workflow. It can be used once the pipeline above has finished (whether or not the final inspection has been done). When clicked, a dialog prompts the user to introduce two identifiers (Lib ID 1 and Lib ID 2), e.g. the species and the strain name.
These identifiers are used to assign final names to new TE families, defined as sequences that did not have an 80-80-80 hit against the reference database. Sequences with a hit were already renamed after their reference family, while new families still carry the cryptic names given by the TE discovery tools. TEamo recognises them by their prefix:
rnd-*(RepeatModeler2)ltr-*(LTR_retriever, run by RepeatModeler2 with-LTRStruct)HLE1_*/HLE2_*(Heliano)
Libraries from other tools
Consensus sequences with other names (e.g. user-uploaded libraries built
with other tools) keep their original names and are not tagged as
newFamily. Rename them with one of the prefixes above before uploading
if you want TEamo to name them.
These names will be replaced following this convention:
<ID1>_<ID2>_<superfamily>_<n>--newFamily#<CLASSIFICATION>, where <n> is a counter of
the sequences of each classification in the final library (e.g.
HLE1_0_1#CLASSII/HELITRON → Dmel_ISO1_HELITRON_1--newFamily#CLASSII/HELITRON).
Sequences that already belong to a known family keep their names.
After renaming, the new families are added to the reference TE database
(data/db/allDatabases.clustered_rename.fa, the previous database is backed up)
to help with the incoming curations.
When finished, the app returns to the Select data tab, where the progress
of the assembly is now Curation complete.
Output Files¶
This module generates two key output files:
-
Final curated TE library with assigned family names:
data/<species>/<strain>/MCH_output/<species>_<strain>_curated-TE-library.fa. -
TE name correspondence table
A tab-separated file mapping original cryptic names to the final assigned names:data/<species>/<strain>/MCH_output/FinalLib/<species>_<strain>_TE-names-relation.tsv