Skip to main content

Trim circular overlaps, find dnaA/oriC, rotate sequences, and report.

Project description

Origami

Command-line tool that:

  • Trims duplicated terminal overlaps in circular assemblies (half2 → DB(half1) via BLAST).
  • Runs one BLAST per DB (dnaA and oriC) on the concatenated FASTA.
  • Keeps top 3 dnaA and top 7 oriC per record (dedup by sseqid, ordered by evalue→identity→coverage→bitscore).
  • Pairs dnaA–oriC via midpoint proximity (1% then 5% of record length, else closest), computes AT/GC on the oriC segment, and chooses the pair with highest AT/GC ratio (tie → higher AT%).
  • Rotates so the earlier of dnaA/oriC starts the sequence (or the single site if only one found).
  • Writes exactly two outputs: origami_<prefix>.fna and origami_<prefix>_report.txt.

Install

pip install -e .

Usage

Full pipeline

origami run -i genome.fna --dnaA-db /path/new_dnaA_DB --oric-db /path/DoriC_DB

Trim only

origami trim -i genome.fna

OriC only (no trim)

origami oric -i genome.fna --dnaA-db /path/new_dnaA_DB --oric-db /path/DoriC_DB

Outputs

  1. origami_.fna
  2. origami__report.txt
  3. Temps in ./temp//, cleaned unless --keep-temp.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

origenomi-0.1.1.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

origenomi-0.1.1-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file origenomi-0.1.1.tar.gz.

File metadata

  • Download URL: origenomi-0.1.1.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for origenomi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 447e70da09482e60d696b90fec1d29c4d9508255bf539e99042d09947311684a
MD5 0acaaa02022a243bc08979d2b85b8a9d
BLAKE2b-256 aed1dfa851fdc5374f22a093d54323f9e2726b496106ced681afbda56907b650

See more details on using hashes here.

Provenance

The following attestation bundles were made for origenomi-0.1.1.tar.gz:

Publisher: publish.yml on Anant1709-hub/origenomi-tool-cli-new

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file origenomi-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: origenomi-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for origenomi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 327de8a1aab526e58341fe3edce6f78da220f45f757859e3b4e293bcec93ef7f
MD5 2fd900e642ea03a0d4fd4665674b1f33
BLAKE2b-256 2b8c053e9d4cbf94efd904fe7623706684077d8708c1edb05c53600ee3328e69

See more details on using hashes here.

Provenance

The following attestation bundles were made for origenomi-0.1.1-py3-none-any.whl:

Publisher: publish.yml on Anant1709-hub/origenomi-tool-cli-new

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page