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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file muramasa_kyoto-0.7.0.tar.gz.
File metadata
- Download URL: muramasa_kyoto-0.7.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8ffdc04e3c355c3099501f030447152e806a51fe19599583558058aef18b42c
|
|
| MD5 |
5540330295ea27d9fb6377b87d3d1180
|
|
| BLAKE2b-256 |
e286406ce84b8a132b5cce4126cc250023a8c65d5f4aa0add07f8fe467b48880
|
File details
Details for the file muramasa_kyoto-0.7.0-py3-none-any.whl.
File metadata
- Download URL: muramasa_kyoto-0.7.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cffda93463f62f61701cba559f3a17ca8ff1cc5f01fdbd91a402b1a63f1e7fd1
|
|
| MD5 |
1bb47da319f166605ef2c4dd21afa633
|
|
| BLAKE2b-256 |
f0f8de24827ae5b01c210f209878281a202f55cf8e7c74ad189a14ebf6cfbe42
|