FSharpBio


FSharpBio

FSharpBio aims to be a user-friendly library for Bioinformatics written in F#. It contains the basic data structures for common biological objects like amino acids and nucleotides based on chemical formulas and chemical elements. It facilitates some basic machine learning task as well as statistical analysis of biological data set.

Example

This example demonstrates using a function defined in FSharpBio library.

1: 
2: 
3: 
4: 
#r "FSharpBio.dll"
open FSharpBio

BioSequences.ofAminoAcidString "PEPTIDE"

Samples & documentation

The library comes with comprehensible documentation. It can include tutorials automatically generated from *.fsx files in the content folder. The API reference is automatically generated from Markdown comments in the library implementation.

  • Tutorial contains a further explanation of this sample library.

  • API Reference contains automatically generated documentation for all types, modules and functions in the library. This includes additional brief samples on using most of the functions.

Contributing and copyright

The project is hosted on GitHub where you can report issues, fork the project and submit pull requests. If you're adding a new public API, please also consider adding samples that can be turned into a documentation. You might also want to read the library design notes to understand how it works.

The library is available under Public Domain license, which allows modification and redistribution for both commercial and non-commercial purposes. For more information see the License file in the GitHub repository.

namespace FSharpBio
module BioSequences

from FSharpBio
val ofAminoAcidString : s:string -> seq<AminoAcids.AminoAcid>

Full name: FSharpBio.BioSequences.ofAminoAcidString
Fork me on GitHub