VERSION file added
|3 years ago|
|bio||3 years ago|
|bio2||3 years ago|
|examples||4 years ago|
|src_ragel||4 years ago|
|test||4 years ago|
|.gitignore||6 years ago|
|.travis.yml||5 years ago|
|LICENSE||9 years ago|
|README.md||4 years ago|
|RELEASE-NOTES.md||3 years ago|
|VERSION||3 years ago|
|dub.json||5 years ago|
|meson.build||5 years ago|
BioD aims to:
- Provide a platform for writing high-performance bioinformatics applications in D. BioD achieves this by:
- automatic parallelization of tasks where possible for example reading and writing BAM files
- reducing the GC overhead by avoiding unnecessary memory allocations
- Offer support for manipulating common biological data formats
D is a language that suits parallel programming because of guarantees the compiler provides. D is both a low-level language and a high-level hybrid OOP/FP language. There is no other programming language that matches those features. Also, D templating/generics is far easier that that of C++ or, say, Scala.
That is not to say that D is an easy language. A powerful toolbox will be complicated. If you want to do everything with a hammer, maybe better choose Java instead ;).
For more information about D find Andrei Alexandrecu's D book. It is a classic. Ali Çehreli's book also is recommended.
Our current focus is to provide a bamreader and bamwriter that is really fast and easy to use. We believe the BAM format is here to stay for the foreseeable future in pipelines. With D we have an good way to write performance parsers, particularly with three typical scenarios:
- Go through a BAM file a read at a time
- Go through a BAM file a nucleotide at a time (pileup)
- Go through a BAM file with a sliding window
The sliding window is a derivation of the first - a read at a time or a nucleotide at a time.
At this point this functionality is mostly in BioD, but not in an intuitive way. We are building up this functionality and will give examples (WIP).
The current default is to provide the path to the checked out repo to the D-compiler. For example in sambamba we use
DFLAGS = -wi -I. -IBioD -g
See the examples directory for examples and usage.
BioD is also a crucial part of the sambamba tool.
Simply clone the repository on github and put in a pull request.
BioD contributors and support
BioD is licensed under the liberal MIT (expat) license.