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.4.tar.gz (3.3 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.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file simulate_damage-0.1.4.tar.gz.

File metadata

  • Download URL: simulate_damage-0.1.4.tar.gz
  • Upload date:
  • Size: 3.3 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.4.tar.gz
Algorithm Hash digest
SHA256 fb1b9b19912fc9d7376f79afeb5d5e37538ac74970b0decba86e156857c7b816
MD5 06c94d0227f825b768707462f2d056f3
BLAKE2b-256 241418d7d64f63d9f0e5aaec94e6e52c9185e77a583b8a6dd4647e7b54e7ae99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simulate_damage-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2a56669b3fd6fc45a552643c99c668c76981d8100c2b5e294f1eadfea4617e82
MD5 f3b8783140166bacb7b19460f57c9aba
BLAKE2b-256 3d9d24c87da4bbb041229fb8292545ee63a77803cd3ed00b0bc9101df9d101d9

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