Skip to main content

A Machine Learning Model to Estimate Within-Species DNA Contamination.

Project description

PredDNAContam

PredDNAContam is a tool for DNA contamination prediction from biosample data.

Input File Format (CSV)

When using PredDNAContam, your input data should be in CSV format with the following columns:

Column Description
GQ Genotype quality
DP Total read depth
AF Allele frequency
VAF Variant allele frequency

Example CSV File

The CSV file is generated by extracting the following key features from a VCF (Variant Call Format) file for each variant.

Here’s an example of how the CSV should look after extracting these features:

GQ,DP,AF,VAF
20,47,0.5,0.23
60,25,0.5,0.24
23,55,0.5,0.78
...


### Example config.txt file:

Before running PredDNAContam, you need to configure the paths in the config.txt file. This file contains important directory paths and filenames, which should be set as follows: 

input_dir=/path/to/csv_files
output_dir=/path/to/output_directory/output_PredDNAcontam
model_filename=/path/to/PredDNAContam_model/Random_Forest_Contamination_Model.joblib
scaler_filename=/path/to/PredDNAContam_model_scaler/scaler.joblib


## Installation

You can install this package using:

```bash
pip install PredDNAContam

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

preddnacontam-0.0.1.tar.gz (28.2 MB view details)

Uploaded Source

Built Distribution

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

PredDNAContam-0.0.1-py3-none-any.whl (28.9 MB view details)

Uploaded Python 3

File details

Details for the file preddnacontam-0.0.1.tar.gz.

File metadata

  • Download URL: preddnacontam-0.0.1.tar.gz
  • Upload date:
  • Size: 28.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.15

File hashes

Hashes for preddnacontam-0.0.1.tar.gz
Algorithm Hash digest
SHA256 02148b6fc813b9dfe6e173fc1e897687a1177f0c11d2e6820e6008e3f7ddbed0
MD5 3fca791f1a38e16e9fcdf87179a27831
BLAKE2b-256 581ea9cb6086129518fc6713a5c199d16308e3e97b6088ffc31f8db1580840c1

See more details on using hashes here.

File details

Details for the file PredDNAContam-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: PredDNAContam-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.15

File hashes

Hashes for PredDNAContam-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63e90084c4b9cfe9f05b76de873fd4dff9ac160336bb7e29844d03d794d561e8
MD5 99594d9156a5bf8597d8478d38196715
BLAKE2b-256 20f4526f2407c6bc9e1c4c40c00229238e32c0154fd70c10bdad6e843d2961fb

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