Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sandyjmacdonald/fake_reads

Creates a .fasta/q formatted file of nonsense reads with a specified number of reads and mean read length.
https://github.com/sandyjmacdonald/fake_reads

Last synced: about 2 months ago
JSON representation

Creates a .fasta/q formatted file of nonsense reads with a specified number of reads and mean read length.

Awesome Lists containing this project

README

        

fake_reads.py
==========

Creates a .fasta formatted file of nonsense reads with a specified number of reads and
mean read length. Read lengths are randomly sampled from a normal distribution with a
standard deviation of a fifth of the mean read length. The output is a file named
fakereads.fasta containing your fake reads.

### Dependencies

Requires [Numpy](http://www.numpy.org) to sample from a normal distribution.

### Usage

python fake_reads.py -n -l

> ##### Arguments

> `-n` The number of reads that you want in your fasta file.

> `-l` The mean read length that you want.

> `-h` Displays help.