ecl-logo Documentation

NumberOfFolds

NumberOfFolds[sequence,k]folds

this function takes a sequence and returns the total number of ovelapping subsequenes of length k from start to finish that could fold.

NumberOfFolds[sequence,k,Span[m,n]]folds

this function takes a sequence and returns the total number of ovelapping subsequenes of length k from position m to position n that could fold.

NumberOfFolds[sequence]folds

this function takes a sequence and returns the total number of ovelapping subsequenes of length provided by the MinLevel option to the largest length fold present from start to finish that could fold.

NumberOfFolds[sequence,Span[m,n]]folds

this function takes a sequence and returns the total number of ovelapping subsequenes of length provided by the MinLevel option to the largest length fold from position m to position n that could fold.

Details

  • When spans are provided returns any sequences of length k which inclusively contact the provided region.
  • Input
    Output
    General Options
    Attributes
  • Listable

Examples

Basic Examples  (4)

Find number of 2-mer folds:

Find number of 4-mer folds:

Find number of 4-mer folds in multiple sequences:

Count folds of different sizes in one sequence:

Options  (4)

Consolidate  (2)

Can turn on Condolidate while no length 'k' is provided:

Can turn off Condolidate while no length 'k' is provided:

MinLevel  (1)

Can specify MinLevel:

Polymer  (1)

Can specify polymer type:

Attributes  (1)

Listable  (1)

Function is listable: