Skip to main content

Status

efmcalculator is a Python package or web tool for detecting mutational hotspots. It predicts the mutation rates associated with each hotspot and combines them into a relative instability score. These hotspots include simple sequence repeats, repeat mediated deletions, and short repeat sequences. This code updates and improves upon the last version of the EFM calculator.

efmcalculator supports multifasta, genbank, or csv files as input and accepts parameters from the command line. It also supports the scanning of both linear and circular sequences. It defaults to a pairwise comparison strategy (all occurrences of a repeat are compared with all other occurrences), but it also contains an option for a linear comparison strategy (each occurrence of a repeat is only compared with the next occurrence in the sequence) to accelerate the analysis of large sequences.

Installation

The EFM Calculator can be accessed as a free web tool at efm2-beta.streamlit.app. It is limited to 50000 bases to ensure the app remains performant for other users. It can be installed and run locally below without such base restriction.

From pip:

pip install efmcalculator or clone this repository and pip install ./ from the root of the repository.

Command Line Usage

  • -h: help
  • -i: inpath
  • -o: outpath
  • -s: strategy. Either “linear” or “pairwise”
  • -c: circular inputs
  • -f: output filetype for tables, either csv or parquet
  • -j: threads
  • -t: tall. Parallelizes across inputs rather than within.
  • -v: verbose. 0 (silent), 1 (basic information), 2 (debug)
  • --summary: saves only aggrigate results, useful for very tall inputs

Print efmcalculator help:

efmcalculator -h

Run efmcalculator on all sequences in a FASTA file using the pairwise strategy and print output to csv files within an output folder:

efmcalculator -i “input.fasta” -o “output_folder”

Run efmcalculator on all sequences in a FASTA file, outputing to the folder output_folder, while treating the input as circular, searching with a linear pattern, and printing debug information:

efmcalculator -i “input.fasta” -o “output_folder” -c -s “linear” -v 2

Metadata

Release files for EFMCalculator 0.0.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for EFMCalculator 0.0.post1
File Size Uploaded Provenance Actions
efmcalculator-0.0.post1.tar.gz 1.2 MB With provenance Details for efmcalculator-0.0.post1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for EFMCalculator 0.0.post1
File Interpreter ABI Platform Actions
efmcalculator-0.0.post1-py3-none-any.whl Python 3 none any Details for efmcalculator-0.0.post1-py3-none-any.whl

Total release size: 2.4 MB

Release files / efmcalculator-0.0.post1.tar.gz

Download URL efmcalculator-0.0.post1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
73ee6f2142086423b8704b883d7c62692ab8cc0b191f212bcb72b12e9f18043a
BLAKE2b-256 checksum
How to use checksums
5289f0151979eb196bb5cf866231a6562deb679e715cdc8bd2ed7d6a95cf7700
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2025.

Transparency log

Release files / efmcalculator-0.0.post1-py3-none-any.whl

Download URL efmcalculator-0.0.post1-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
730febaab3b08a2e70e848eae984d0cffccd03f49a140cca6baea43840c57981
BLAKE2b-256 checksum
How to use checksums
828cd8d103d30d7a9e254c02f4ddaf5dc970d1bc44238a40c70ea2fc16634dbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2025.

Transparency log

Security for EFMCalculator 0.0.post1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for efmcalculator-0.0.post1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.post1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page