Skip to main content

A simulator for damaged DNA reads with base quality recalibration

Project description

reads_simulator

Simulates NGS sequenced reads

Installation

python3 -m venv readsim_env
source readsim_env/bin/activate

pip install fast_string_replace numpy

for prototyping with marimo:

pip install marimo matplotlib seaborn

Usage

python ../generate_reference_and_reads.py <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.

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.0.tar.gz (13.8 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.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: damaged_reads_simulator-0.1.0.tar.gz
  • Upload date:
  • Size: 13.8 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.0.tar.gz
Algorithm Hash digest
SHA256 2561997d32a2fabc671bf83748fb7a8aa54d34568c52089e02a326ee4f9770be
MD5 59629437a6b76c8bf85587ee13bbb00e
BLAKE2b-256 5e20aa8773487f2d29b1bcf27475aaf3949ae3e1f644781328db1c4ecbb73901

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for damaged_reads_simulator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56fee5281c2fed09cf2e807aa2bfc3465a9e057eef5354226fb77a10930bca9a
MD5 592be640776ea4ddba8b6a4b73dda471
BLAKE2b-256 545f4ea0ced25be1d7ac704f7dc05f0cc5959e11fdb0f98969b0a8f15989eac9

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