tSplit the TE-splitter
Extract terminal repeats from retrotransposons (LTRs) or DNA transposons (TIRs). Returns compontent segments of the element for use with transposon mapping tools.
Optionally, tsplit TIR can also compose synthetic MITES from complete DNA transposons.
Installing tSplit
Requirements:
You can create a Conda environment with these dependencies using the YAML file in this repo.
After activating the tsplit environment you can use pip to install the latest version of tsplit.
Installation options:
- Install from PyPi. This will get you the latest stable release.
- Pip install directly from this git repository.
This is the best way to ensure you have the latest development version.
Algorithm overview
tSplit attempts to identify terminal repeats in transposable elements by
first aligning each element to itself using blastn or nucmer, and then applying a set of
tuneable heuristics to select an alignment pair most likely to represent an LTR or TIR, as follows:
- Exclude all diagonal/self-matches
- If
tsplit LTR: Retain only alignment pairs on the same strand (tandem repeats) - If
tsplit TIR: Retain only alignment pairs on opposite strands (inverse repeats) - Retain pairs for which the 5' match begins within x bases of element start and whose 3' match ends within x bases of element end
- If multiple candidates remain select alignment pair with largest internal segment (i.e. closest to element ends)