Automatic curation steps¶
Each manual curation (MC) tab has the same layout:
- Sidebar panel (left, grey background) with the step parameters and buttons. Default values are suitable for most users.
- Main panel (right) with an interactive plot of the library composition: number of consensus sequences per TE classification in each of the libraries involved in the step.

- Manual inspection panel (bottom), shown once the step pipeline has finished. See Manual inspection.
Common controls:
- Instructions: opens this help.
- Number of cores: CPU cores used by the step pipeline. By default, half of the available cores, up to a maximum of 10.
- Reference TE database: TE database used as reference by MCHelper and the
80-80-80 BLASTn searches. By default it is the MCHelper database
(
MCHelper/db/allDatabases.clustered_rename.fa); if a file with the same name exists indata/db/it is used instead (see Add consensus to the reference TE DB). New families are added todata/db/when a curation is finished. - Run pipeline: if the pipeline of the step has already finished, it loads the manual inspection panel; otherwise it runs the pipeline described below.
- Restart pipeline: removes the results of the step pipeline, the manual
inspection done in it and every downstream step, so the step can be run again
from scratch (in the 1st MC, the assembly returns to
To curate). - Restart MC: removes only the manual inspection done in the step (and every downstream step), keeping the pipeline results.
Show more for 1st MC
Basic parameters
- BUSCO library: used by MCHelper to assess coding potential and completeness. There is no BUSCO library by default: download one with Add BUSCO library (see Add a BUSCO library), otherwise MCHelper cannot run.
- Number of cores: computational resources for the MCHelper run.
Advanced parameters
- % of max length SSR:
-sparameter in MCHelper, maximum length covered by single repetitions (in percentage between 0–100) allowed for a TE not to be removed.Default=60- # nucleotides (BEE):
-eparameter in MCHelper, number of nucleotides to extend each side of the element.Default=500- # iterations (BEE):
-xparameter in MCHelper, number of iterations to extend the elements.Default=16When clicking Run pipeline on an assembly in
To curate, a dialog asks whether to run MCHelper:
- Run MCHelper: recommended when the raw library contains many unclassified consensus sequences. It takes longer.
- Skip MCHelper: use the raw library as is, when it has already been curated by other tools. Only the complete/incomplete classification and the TE+Aid/MSA preparation are run.
Step 1: MCHelper automatic curation
MCHelper runs in fully automated mode (parameters:
-r A -a F): it discards the TE candidates with a bad structure and gives an automatic classification to each model. The automatically curated library isdata/<species>/<strain>/MCH_output/AutoCurated/curated_sequences_NR.fa.
Step 2: Complete / incomplete classification
The script
scripts/complete_incomplete.pysplits the models into complete and incomplete according to these structural criteria:
TE type A model is complete when… Any It has no tandem repeat longer than a third of its length TIR / MITE It has TIRs of at least 4 bp LTR It has LTRs of at least 150 bp and at least one ORF of at least 1,800 bp SINE It is 150–500 bp long and has no tandem repeat longer than 10 bp LINE It is 3,000–14,000 bp long and has at least one ORF of at least 1,200 bp Helitron It is at least 5,000 bp long and has at least one ORF of at least 4,000 bp DIRS It is 4,000–12,000 bp long, has at least one ORF of at least 2,000 bp and TIRs of at least 4 bp, and its tandem repeats are not longer than both its TIRs and LTRs Maverick It is at least 12,000 bp long and has at least one ORF of at least 1,200 bp Others Always complete (e.g. Crypton, PLE, Unknown/Unclassified) Outputs are stored in
data/<species>/<strain>/MCH_output/CompleteIncomplete/(curated_sequences_NR.complete.faandcurated_sequences_NR.incomplete.fa).
Step 3: TE+Aid and MSA of the complete models
TE+Aid is run through MCHelper (
-r T) on the complete models, and the genomic copies of each consensus are extended and aligned to build the extended MSA. Files are stored indata/<species>/<strain>/MCH_output/CompleteIncomplete/CompleteModels/MI_MCH/.
All complete models are manually inspected. Sequences saved with Save seq go to
data/<species>/<strain>/MCH_output/CompleteIncomplete/CompleteModels/KeptModels/complete_kept_models.fa. Incomplete models are left for the 3rd MC.
Show more for 2nd MC
The only parameter that user has to choose is number of CPU cores. When clicking on "Run pipeline" button, the app executes this workflow:
Step 1: 80-80 BLASTn Against the Reference Database
All complete consensus sequences kept in the 1st MC are aligned (BLASTn) against the database shown in the field
Reference TE database, evaluating:
- ≥ 80% sequence identity
- ≥ 80% alignment coverage
Step 2. Automatic Family Assignment (80-80-80)
Family assignment is performed using the 80-80-80 rule proposed by Wicker et al. (2007), based on BLASTn results.
Sequences that satisfy the 80-80-80 rule are automatically assigned to a family and saved to
data/<species>/<strain>/MCH_output/CompleteIncomplete/CompleteModels/KeptModels/complete_kept_808080.faSequences that do not meet the 80-80-80 criteria are extracted for further inspection and saved to
data/<species>/<strain>/MCH_output/CompleteIncomplete/CompleteModels/KeptModels/complete_kept_non808080.faThese non-808080 sequences are passed to a second round of manual inspection. These are potential new TE families.
Complete models without a family are manually inspected. Sequences saved with Save seq are added, together with the 80-80-80 models, to
.../CompleteModels/KeptModels/complete_kept_808080_recovered.fa.
Show more for 3rd MC
This is an optional step to curate incomplete models.
Skip step: skips the manual inspection of the incomplete models. The app still runs the 80-80-80 search: incomplete models with an 80-80-80 hit are added to the final library, and those without a hit are discarded.
If the user wants to execute the workflow, the only parameter needed is number of CPU cores. When clicking on "Run pipeline" button, the app executes this workflow:
Step 1: 80-80 BLASTn Against the Reference Database
Incomplete consensus sequences are aligned (BLASTn) against the reference database extended with the new families recovered in the 2nd MC, evaluating:
- ≥ 80% sequence identity
- ≥ 80% alignment coverage
Step 2. Automatic Family Assignment (80-80-80)
Family assignment is performed using the 80-80-80 rule proposed by Wicker et al. (2007), based on BLASTn results.
Sequences that satisfy the 80-80-80 rule are automatically assigned to a family and saved to
data/<species>/<strain>/MCH_output/CompleteIncomplete/IncompleteModels/incomplete_808080.faSequences that do not meet the 80-80-80 criteria are extracted for further inspection and saved to
data/<species>/<strain>/MCH_output/CompleteIncomplete/IncompleteModels/incomplete_non808080.faThese non-808080 sequences are passed to a second round of manual inspection. These are potential new TE families.
Incomplete models without a family are manually inspected. Sequences saved with Save seq are added, together with the 80-80-80 models, to
.../IncompleteModels/incomplete_808080_recovered.fa.