Skip to main content

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

Project description

PredDNAContam

PredDNAContam is a tool to Estimate Within-Species DNA Contamination.

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 input CSV file should be generated from a VCF (Variant Call Format) file that is produced using HaplotypeCaller from GATK. The following key features should be extracted from the VCF file for each variant to create the CSV.

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

Download and Installation

To install PredDNAContam, follow these steps:

  1. Download the package You can download the package from PyPI:

👉 PredDNAContam on PyPI

🔗 https://pypi.org/project/PredDNAContam/#files

Download the file: 📂 preddnacontam-0.0.4.tar.gz

  1. Extract the package

After downloading, unzip the file:

tar -xvzf preddnacontam-0.0.4.tar.gz
cd preddnacontam-0.0.4
  1. Install the package Inside the extracted directory, run:
pip install .

Running PredDNAContam

  1. Modify the configuration file

Navigate to the scripts directory and update config.txt to set the correct paths for your input files, and output directory.

  1. Run the tool After configuring the paths, execute PredDNAContam:
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.4.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.4-py3-none-any.whl (28.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: preddnacontam-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 d427c73c9fbc390c5859cb97e414c3ae114c6c2fc2510bd54c227bc02da76c66
MD5 9d665490a83fa2e188388c0722977842
BLAKE2b-256 8200b7b3419c863ab351fed3dfbc19d0ddadd68ceb31095218cd06cd73fb492e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PredDNAContam-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0e111d3003fd782f636bdaa6beb9206c7afa64618b745d8852dea8e4a448c3d8
MD5 e67f1b75543777a0c759ccddd744bf15
BLAKE2b-256 1c0d44815a3a775f3bd88bd4d2ce4af3cbd1e8fc6b90cffc99da04a4635a0e8c

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