bio.core.sequence

Undocumented in source.

Public Imports

std.array
public import std.array;

Members

Aliases

NucleotideSequence
alias NucleotideSequence = ReturnType!(nucleotideSequence!SliceableString)
SliceableString
alias SliceableString = ReturnType!sliceableString

Functions

identity
T identity(T t)

Identity function

nucleotideSequence
auto nucleotideSequence(R bases, bool reverse)

Create nucleotide sequence from bidirectional base range.

reversableRange
ReversableRange!(reverseTransform, R) reversableRange(R range, bool reverse)

Create reversable range from bidirectional one.

sliceableString
auto sliceableString(string s)

Returns an object very similar to string, but sliceable. Tricks std.traits.isNarrowString.

Structs

ReversableRange
struct ReversableRange(alias reverseTransform = identity, R)

Range that allows to unify operations in forward and reverse directions without virtual function call overhead introduced by inputRangeObject.

Templates

Sequence
template Sequence(R)

Sequence of bases. Element of reversed range will be complemented.

Meta