Skip to content

A simple generator of pair-end reads build with java

License

Notifications You must be signed in to change notification settings

zroger49/PeReadGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PeReadGenerator

A simple generator of pair-end reads built with java

Usage

java -jar PeReadGenerator.jar -i input_file -o output_file_prefix -n numberofReads -s readSize -f fragmentSize -e ErrorRate

Note on error rate model:

The error rate model implemented is very simple. Currently, the substitution matrix for each nucleotide is the same (meaning there is an equal probabilty of A -> G and A -> T).

To improve computation speed, instead of testing each nucleotide, the number expected erros is computed (x = numberOfReads * 2 * readsSize * errorRate), and a loop is performed x times, where the strand, reads and position of the error are radomly picked

About

A simple generator of pair-end reads build with java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages