Skip to main content

A simulator for damaged DNA reads with base quality recalibration

Project description

Damaged reads_simulator

Simulates NGS sequenced reads

Installation

python3 -m venv readsim_env
source readsim_env/bin/activate

pip install damaged-reads-simulator

for prototyping with marimo:

pip install marimo matplotlib seaborn

Usage

simulate-reads <parameters.info>

as a default, if no path was provided, it will use ./parameters.info

where parameters.info file should be as follows.

# SYNTAX IS IMPORTANT
# LInes starting with # are comments
# name of the parameter: value
# : not = | where True/False first letter is uppercase.
random seed: 402

# GENOME SIMULATION PARAMETERS
reference file path: None
generate reference: True
GC percentage: 40
length of contigs: 1000000,10000,50000,200000 

# READS SIMULATION PARAMETERS
number of reads: 100000
read_length: 76
insert length: 100
insert length variations: 35
type of library: FFPE

# METHYLATION PARAMETERS
methylation library: False
percent methylation: 96

# PREFIX TO BE USED IN LOG AND OUTPUT FILES
prefix: ffpe_nometh

The above should be modified to your needs.

Important considerations

Some systematic artifacts have a very low frequency and simulating few reads might not be enough to include even traces of it. In such case, use a higher number of reads (try one or more ordens of magnitude).

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

damaged_reads_simulator-0.1.1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

damaged_reads_simulator-0.1.1-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file damaged_reads_simulator-0.1.1.tar.gz.

File metadata

  • Download URL: damaged_reads_simulator-0.1.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for damaged_reads_simulator-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1a6ad6bd3bfb722306ddaa42f4760674b06e2e4d4f8d2323d12e792abbfae545
MD5 bd91c08769c3affcea54ad0390027709
BLAKE2b-256 2b9b737744a474e990131bb85a396767f8d352ef7dbf52a1b008a76048d11824

See more details on using hashes here.

File details

Details for the file damaged_reads_simulator-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for damaged_reads_simulator-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39774320dfe07f2454a5c26a0d143a731c8ff8ac1cdd563a88d479cc2b12fe8a
MD5 e69f2289e6c2aea8520296d1d2b737bf
BLAKE2b-256 96a200cb8bb72b89b5db2da957e99b20b4ee81fb99964f616dcaa0b937901d52

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