tsplit

Extract terminal repeats from retrotransposons (LTRs) or DNA transposons (TIRs). Compose synthetic MITES from complete DNA transposons.

https://github.com/adamtaranto/tsplit

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: ncbi.nlm.nih.gov
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.6%) to scientific vocabulary

Keywords

bioinformatics transposons
Last synced: 6 months ago · JSON representation ·

Repository

Extract terminal repeats from retrotransposons (LTRs) or DNA transposons (TIRs). Compose synthetic MITES from complete DNA transposons.

Basic Info
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • Open Issues: 3
  • Releases: 2
Topics
bioinformatics transposons
Created over 8 years ago · Last pushed 11 months ago
Metadata Files
Readme License Citation

README.md

License: MIT PyPI version codecov Downloads

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.

Table of contents

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:

  1. Exclude all diagonal/self-matches
  2. If tsplit LTR: Retain only alignment pairs on the same strand (tandem repeats)
  3. If tsplit TIR: Retain only alignment pairs on opposite strands (inverse repeats)
  4. 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
  5. If multiple candidates remain select alignment pair with largest internal segment (i.e. closest to element ends)

Options and usage

Installing tSplit

Requirements:

Installation options:

```bash

Install from PyPi:

pip install tsplit

Clone and install latest dev version from this repository:

git clone https://github.com/Adamtaranto/tSplit.git && cd tSplit && pip install -e '.[dev]' ```

Example usage

tSplit can be run in two modes: tsplit LTR and tsplit TIR, for extracting long terminal repeats or terminal inverted repeats, respectively.

Options are the same for each.

tsplit TIR

For each element in TIR_element.fa split into internal and external (TIR) segments.

Split segments will be written to TIRsplittsplit_output.fasta with suffix "I" for internal or "TIR" for external segments.

TIRs must be at least 10bp in length and share 80% identity and occur within 10bp of each end of the input element.

Additionally, synthetic MITEs will be constructed by concatenation of left and right TIRs, with internal segments excised.

```bash tsplit TIR -i tests/data/TIRelement.fa -p TIRsplit --makemites --keeptemp

Equivalet to defaults

tsplit TIR -i tests/data/TIRelement.fa -p TIRsplit --maxdist 10 --minid 80.0 --minterm 10 --method blastn --splitmode split --makemites --keeptemp ```

Output: TIR_split_tsplit_output.fasta

tsplit LTR

For each element in LTR_retrotransposon.fa split into internal and external segments.

Split segments will be written to LTRsplittsplit_output.fasta with suffix "I" for internal or "LTR" for external segments.

LTRs must be at least 10bp in length and share 80% identity and occur within 10bp of each end of the input element.

bash tsplit LTR -i tests/data/LTR_retrotransposon.fa -p LTR_split

Output: LTRsplittsplit_output.fasta

License

Software provided under MIT license.

Owner

  • Name: Adam Taranto
  • Login: Adamtaranto
  • Kind: user
  • Location: Melbourne, Australia
  • Company: The University of Melbourne

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "tSplit"
version: 0.1.4
date-released: 2025-04-05
authors:
  - family-names: Taranto
    given-names: Adam
    orcid: https://orcid.org/0000-0003-4759-3475
    affiliation: "The University of Melbourne"
repository-code: "https://github.com/Adamtaranto/tSplit"
license: MIT
abstract: >-
  Extract terminal repeats and internal segments from retrotransposons (LTRs) or DNA transposons (TIRs).
keywords:
  - genomics
  - transposons
  - bioinformatics
preferred-citation:
  type: software
  authors:
    - family-names: Taranto
      given-names: Adam
      orcid: https://orcid.org/0000-0003-4759-3475
      affiliation: "The University of Melbourne"
  title: "tSplit: A tool for terminal repeat and internal segment extraction from transposons"
  year: 2025
  url: "https://github.com/Adamtaranto/tSplit"
  repository-code: "https://github.com/Adamtaranto/tSplit"
  # doi: TBA

GitHub Events

Total
  • Create event: 3
  • Issues event: 2
  • Release event: 1
  • Delete event: 1
  • Push event: 4
  • Pull request event: 2
Last Year
  • Create event: 3
  • Issues event: 2
  • Release event: 1
  • Delete event: 1
  • Push event: 4
  • Pull request event: 2

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 25 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
pypi.org: tsplit

Extract terminal repeats from retrotransposons (LTRs) or DNA transposons (TIRs). Compose synthetic MITES from complete DNA transposons.

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 25 Last month
Rankings
Dependent packages count: 10.1%
Average: 33.4%
Dependent repos count: 56.8%
Maintainers (1)
Last synced: 7 months ago

Dependencies

.github/workflows/publish.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/pytest.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/ruff.yml actions
  • actions/checkout v4 composite
  • chartboost/ruff-action v1 composite
  • stefanzweifel/git-auto-commit-action v5 composite
environment.yml pypi
  • biopython >=1.70
  • hatch *
  • pymummer >=0.10.3
  • pytest *
pyproject.toml pypi
  • biopython >=1.70
  • pymummer >=0.10.3