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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02148b6fc813b9dfe6e173fc1e897687a1177f0c11d2e6820e6008e3f7ddbed0
|
|
| MD5 |
3fca791f1a38e16e9fcdf87179a27831
|
|
| BLAKE2b-256 |
581ea9cb6086129518fc6713a5c199d16308e3e97b6088ffc31f8db1580840c1
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63e90084c4b9cfe9f05b76de873fd4dff9ac160336bb7e29844d03d794d561e8
|
|
| MD5 |
99594d9156a5bf8597d8478d38196715
|
|
| BLAKE2b-256 |
20f4526f2407c6bc9e1c4c40c00229238e32c0154fd70c10bdad6e843d2961fb
|