Code Monkey home page Code Monkey logo

readsimulationwrapper's Introduction

ReadSimulationWrapper

Wrapper for the simulation of reads

Usage

This generates a datavolume of 10000 base pairs in total.

python "readsimulationwrapper.py" 10000 \
-i abundance.tsv \
-l genome_locations.tsv \
-o dir_output/ \
-art art_illumina \
-epd dir_profile/ \
-ep "hi150" \
-sd 27 \
-m 270

More options available

Use "-seed myseed" for consitent results. Or "-p 10" to use 10 cores at the same time.

Formats

abundance.tsv

Tab separated.
Abundance reflects genome abundance, not data abundance!

  • column 1: genome id
  • column 2: relative abundance

genome_locations.tsv

Tab separated.

  • column 1: genome id
  • column 2: file path to fasta file

Adding new ART error profiles

Search in "readsimulationwrapper.py" for the class definition of "ReadSimulationArt" and find the lines:

_art_error_profiles = {
	"mi": "EmpMiSeq250R",
	"hi": "EmpHiSeq2kR",
	"hi150": "HiSeq2500L150R"}

If someone made new profile files like "HiSeq_5000_L250R_1.txt" and "HiSeq_5000_L250R_2.txt", one only needs to add them like this:

_art_error_profiles = {
	"mi": "EmpMiSeq250R",
	"hi": "EmpHiSeq2kR",
	"hi150": "HiSeq2500L150R",
	"hi250": "HiSeq_5000_L250R_"}

readsimulationwrapper's People

Contributors

p-hofmann avatar

Watchers

James Cloos avatar  avatar Johannes Dröge avatar  avatar

readsimulationwrapper's Issues

Defer ART profile file checks until used.

Newest ART ships with different profiles, e.g. EmpHiSeq2kR is missing. Instead of commenting out, checks should be done when actually using the profile. I would also give the profile path and name stem as an option, eliminating the need to keep the profile names in the source code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.