FSharpBio: Documentation
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.
This example demonstrates using a function defined in FSharpBio library.
1: 2: 3: 4: 5: |
|
Read a fastA file
Converter reads character and returns it as either amino acid or nucleotide
depending on the OptionConverter
respectivly.
For a protein fastA use: OptionConverter.charToOptionStandardAminoAcid
and
for gene fastA use: OptionConverter.charToOptionStandardNucleotid
.
1: 2: 3: 4: 5: 6: 7: 8: |
|
Digest proteins
Digests the proteins from .fastA file to peptides. Trypsin is used as the protease
1: 2: 3: 4: |
|
Mass calculation
Calculates peptide masses (monoisotopic) of previous digestion.
1: 2: 3: 4: 5: 6: |
|
Mass histogram
Shows distribution of monoisotopic peptide masses
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: |
|
1: 2: |
|
Full name: FSharpBio.IO.converter
from FSharpBio
from FSharpBio.BioSequences
Full name: FSharpBio.BioSequences.OptionConverter.charToOptionStandardAminoAcid
Full name: FSharpBio.IO.fastaPath
Full name: FSharpBio.IO.chlamy3proteins
from FSharpBio.IO
Full name: FSharpBio.IO.FastA.fromFileWithOptional
from Microsoft.FSharp.Collections
Full name: Microsoft.FSharp.Collections.Seq.toArray
Full name: FSharpBio.IO.trypsinPeptides
Full name: Microsoft.FSharp.Collections.Seq.map
Full name: Microsoft.FSharp.Collections.Seq.collect
from FSharpBio
Full name: FSharpBio.Digestion.digest
Full name: FSharpBio.Digestion.trypsin
Full name: FSharpBio.IO.peptideMasses
Full name: FSharpBio.BioSequences.toFormula
from FSharpBio
Full name: FSharpBio.Formula.add
from FSharpBio.Formula
Full name: FSharpBio.Formula.Table.H2O
Full name: FSharpBio.Formula.monoisoMass
Full name: FSharpBio.IO.bw
Full name: FSharpBio.IO.histo
from FSharpStats.Descriptive
Full name: FSharpStats.Descriptive.Histogram.create
static member Area : data:seq<#value> * ?Name:string * ?Title:string * ?Labels:#seq<string> * ?Color:Color * ?XTitle:string * ?YTitle:string -> GenericChart
static member Area : data:seq<#key * #value> * ?Name:string * ?Title:string * ?Labels:#seq<string> * ?Color:Color * ?XTitle:string * ?YTitle:string -> GenericChart
static member Bar : data:seq<#value> * ?Name:string * ?Title:string * ?Labels:#seq<string> * ?Color:Color * ?XTitle:string * ?YTitle:string -> GenericChart
static member Bar : data:seq<#key * #value> * ?Name:string * ?Title:string * ?Labels:#seq<string> * ?Color:Color * ?XTitle:string * ?YTitle:string -> GenericChart
static member BoxPlotFromData : data:seq<#key * #seq<'a2>> * ?Name:string * ?Title:string * ?Color:Color * ?XTitle:string * ?YTitle:string * ?Percentile:int * ?ShowAverage:bool * ?ShowMedian:bool * ?ShowUnusualValues:bool * ?WhiskerPercentile:int -> GenericChart (requires 'a2 :> value)
static member BoxPlotFromStatistics : data:seq<#key * #value * #value * #value * #value * #value * #value> * ?Name:string * ?Title:string * ?Labels:#seq<string> * ?Color:Color * ?XTitle:string * ?YTitle:string * ?Percentile:int * ?ShowAverage:bool * ?ShowMedian:bool * ?ShowUnusualValues:bool * ?WhiskerPercentile:int -> GenericChart
static member Bubble : data:seq<#value * #value> * ?Name:string * ?Title:string * ?Labels:#seq<string> * ?Color:Color * ?XTitle:string * ?YTitle:string * ?BubbleMaxSize:int * ?BubbleMinSize:int * ?BubbleScaleMax:float * ?BubbleScaleMin:float * ?UseSizeForLabel:bool -> GenericChart
static member Bubble : data:seq<#key * #value * #value> * ?Name:string * ?Title:string * ?Labels:#seq<string> * ?Color:Color * ?XTitle:string * ?YTitle:string * ?BubbleMaxSize:int * ?BubbleMinSize:int * ?BubbleScaleMax:float * ?BubbleScaleMin:float * ?UseSizeForLabel:bool -> GenericChart
static member Candlestick : data:seq<#value * #value * #value * #value> * ?Name:string * ?Title:string * ?Labels:#seq<string> * ?Color:Color * ?XTitle:string * ?YTitle:string -> CandlestickChart
static member Candlestick : data:seq<#key * #value * #value * #value * #value> * ?Name:string * ?Title:string * ?Labels:#seq<string> * ?Color:Color * ?XTitle:string * ?YTitle:string -> CandlestickChart
...
Full name: FSharp.Charting.Chart
static member Chart.Column : data:seq<#key * #value> * ?Name:string * ?Title:string * ?Labels:#seq<string> * ?Color:System.Drawing.Color * ?XTitle:string * ?YTitle:string -> ChartTypes.GenericChart
Full name: FSharpStats.Descriptive.Histogram.getZip