Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simulate_damage-0.1.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

simulate_damage-0.1.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

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

Hashes for simulate_damage-0.1.3.tar.gz
Algorithm Hash digest
SHA256 383def4a2522d6b438db24cbf12c3e73e4b4ebb456f87ec23a6ab0da327954d6
MD5 1bf6a6a3888e201134405e5eb5160397
BLAKE2b-256 63a0e9091e6e0bdff6086a0ff0ee2c225cf7fbf59e77651751301c5ae1c77703

See more details on using hashes here.

File details

Details for the file simulate_damage-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for simulate_damage-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d243132868ce8110608fe857e916e10c92dd1cdaeb04fec460f48537a69c48d5
MD5 48d244748f7f52fb9404e25b315e90c7
BLAKE2b-256 082a0b9a8892fae8ecf753c2d5580722f090a05e941df8a024598f6788535916

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