Simulate ancient DNA deamination damage on paired-end FASTQ files
Project description
simulate_damage
simulate_damage is a command-line tool that simulates ancient DNA (aDNA) deamination damage in paired-end FASTQ files. It introduces realistic C→T and G→A transitions at read ends and internally, allowing researchers to test pipelines under damage conditions typical of ancient samples.
Features
- Supports .fastq and .fastq.gz
- Handles paired-end reads automatically
- Allows custom damage rates for 5′ and internal C→T (R1) and G→A (R2)
- Keeps original read qualities and structure
- Fully scriptable or callable via CLI
Installation
pip install simulate_damage
## Example usage
simulate_damage \
--r1 sample_R1.fastq.gz \
--r2 sample_R2.fastq.gz \
--out_r1 damaged_R1.fastq.gz \
--out_r2 damaged_R2.fastq.gz \
--ct5 0.03 --ctint 0.4 --ga3 0.01 --gaint 0.7 --overhang 10
Project details
Release history Release notifications | RSS feed
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 simulate_damage-0.1.3.tar.gz.
File metadata
- Download URL: simulate_damage-0.1.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
383def4a2522d6b438db24cbf12c3e73e4b4ebb456f87ec23a6ab0da327954d6
|
|
| MD5 |
1bf6a6a3888e201134405e5eb5160397
|
|
| BLAKE2b-256 |
63a0e9091e6e0bdff6086a0ff0ee2c225cf7fbf59e77651751301c5ae1c77703
|
File details
Details for the file simulate_damage-0.1.3-py3-none-any.whl.
File metadata
- Download URL: simulate_damage-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d243132868ce8110608fe857e916e10c92dd1cdaeb04fec460f48537a69c48d5
|
|
| MD5 |
48d244748f7f52fb9404e25b315e90c7
|
|
| BLAKE2b-256 |
082a0b9a8892fae8ecf753c2d5580722f090a05e941df8a024598f6788535916
|