Skip to main content

Stantus

efmcalculator2 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.

efmcalculator2 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 efmcalculator2 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 efmcalculator2 help:

efmcalculator2 -h

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

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

Run efmcalculator2 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:

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

Metadata

Release files for EFMCalculator2 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 EFMCalculator2 0.0.post1
File Size Uploaded Provenance Actions
efmcalculator2-0.0.post1.tar.gz 1.2 MB With provenance Details for efmcalculator2-0.0.post1.tar.gz

Built distribution (wheel)

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

Total release size: 2.4 MB

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

Download URL efmcalculator2-0.0.post1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
425f738f14d6876059435f73a37ce536ef06b9c72fe05b0dfeee2ec6b02e744e
BLAKE2b-256 checksum
How to use checksums
f63f0e443c94be9f9f8a1c172e9d2c173406680a054a4490f4e4777d68f5de1f
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 / efmcalculator2-0.0.post1-py3-none-any.whl

Download URL efmcalculator2-0.0.post1-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f8f1e664915baf19561bae3303ec116b37a50919d3461fc758f8905cfc0a85b0
BLAKE2b-256 checksum
How to use checksums
0c797f05d6dff0d599c705c267e0e2baa5017300b3e86eff143f234619bbebfc
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 EFMCalculator2 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 efmcalculator2-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