Skip to main content

A package for plasmid DNA sequence anomaly detection

Project description

Muramasa Kyoto

Muramasa Kyoto is a Python package for detecting anomalies in plasmid DNA sequences using K-means clustering and Mahalanobis distance.

Installation

You can install Muramasa Kyoto using pip:pip install muramasa_kyoto

Usage

Here's a basic example of how to use Muramasa Kyoto:

from muramasa_kyoto import feature_extraction, anomaly_detection

# Extract features from your plasmid sequences
feature_extraction.create_feature_file('input.csv', 'features.csv')

# Load the features
import pandas as pd
features = pd.read_csv('features.csv')

# Create and train the anomaly detector
detector = anomaly_detection.AnomalyDetector()
detector.fit(features)

# Predict anomalies
predictions = detector.predict(features)

# Get feature contributions for anomalies
contributions = detector.get_feature_contributions(features[predictions['is_anomaly']])

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

muramasa_kyoto-0.6.0.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

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

muramasa_kyoto-0.6.0-py3-none-any.whl (3.9 MB view details)

Uploaded Python 3

File details

Details for the file muramasa_kyoto-0.6.0.tar.gz.

File metadata

  • Download URL: muramasa_kyoto-0.6.0.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for muramasa_kyoto-0.6.0.tar.gz
Algorithm Hash digest
SHA256 ff13e8a1a82a661ebe897f0947e6ebb29cc90d9d07c3373bdaa40ab732cb724e
MD5 3d0e83e3f53d9e97913c9be0612313dc
BLAKE2b-256 5e05df8bf2f22f8c23165236771dada2a34eb81fde338a026d778a326fa2b1f2

See more details on using hashes here.

File details

Details for the file muramasa_kyoto-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: muramasa_kyoto-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for muramasa_kyoto-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6550dda61ecf07f2976329c72b241c71db465209ba834d4113e65c94d5f405f9
MD5 f33e132d6740a33a2e5bfed007e4a2b5
BLAKE2b-256 0430f9e192dafccef4b8ea142a6d79c913fc6544e0d2c37ca7c6dd3d9714607e

See more details on using hashes here.

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