Class
String
A sequence container with generic alphabet and many specializations.
String is at the heart of the SeqAn library (SeqAn is for SEQuence ANalaysis after all). There are various specializations with Alloc String being the default and most widely used one. Strings can be used to store arbitrary values and can be used for large biologicaly sequences as well as a generic, dynamic array and replace std::vector<>.
Concept Definition
Required Functions
endsWithCheck whether a sequence ends with a given suffix.
startsWithCheck whether a sequence starts with a given prefix.
String<TValue, TSpec>
Include Headers
seqan/sequence.h
Parameters
TValue
The value type, that is the type of the items/characters stored in the string.
Metafunctions: Value
TSpec
The specializing type.
Metafunctions: Spec
Default: Alloc<>, see Alloc String.
Specializations
Alloc StringExpandable string that is stored on heap.
Array StringFast, static-size string.
Block StringString optimized for push_back, top, and pop (Stack behaviour).
CStyle StringAllows adaption of strings to C-style strings.
External StringString that is stored in external memory.
File Reader StringRead sequence data from file.
Journaled StringJournaled versions of arbitrary underlying string.
MMap StringString that is stored in external memory. Uses memory mapping.
Packed StringA string that stores as many values in one machine word as possible.
Pizza & Chili StringString used by the Pizza & Chili indices.
Metafunctions
DefaultOverflowExplicitThe default overflow strategy for explicit resize.
DefaultOverflowImplicitThe default overflow strategy for implicit resize.
InfixInfix sequence type.
IsSequenceDetermines whether a container stores its elements in sequential order.
MotifThe string type of the finder.
PositionType of an object that represents a position in a container.
PrefixPrefix sequence type.
SAValueThe default alphabet type of a suffix array, i.e. the type to store a position of a string or string set.
SpecThe spec of a class.
SuffixSuffix sequence type.
ValueType of the items in the container or behind an iterator.
Functions
appendConcatenate two containers.
appendSeqsAppends all sequences stored in files of directory to a StringSet.
assignAssigns one object to another object.
assignCroppedSeqIdExtracts the sequence id up to the first whitespace of a sequence file fragment.
assignQualExtracts the quality values of a sequence file fragment.
assignQualIdExtracts the quality value id of a sequence file fragment.
assignSeqExtracts the sequence part of a sequence file fragment.
assignSeqIdExtracts the sequence id of a sequence file fragment.
assignValueAssigns value to item. (ContainerConcept)
backThe last item in container. (ContainerConcept)
bamRecordToAlignmentConvert BamAlignmentRecord to an Align object.
beginThe begin of a container.
beginPositionBegin position of object in host.
buildAlignmentGraphBuilds an Alignment Graph from a set of input alignments.
calculateCovarianceCalculates the covariance for the number of word occurrences for two words in a sequence of length n, given a background model.
calculateOverlapIndicatorCalculate word overlaps: epsilon(word1,word2)= 1 where word2[j]=word1[j+p] for all j=1...(k-p)
calculatePeriodicityCalculate word periodicity (indicator for overlaps)
calculateProbabilityCalculates the probability of a sequence given a Bernoulli model (String of background frequencies)
calculateVarianceCalculates the variance for the number of word occurrences of a word in a sequence of length n given a background model.
canParseStringTest whether an automaton can parse a string completely.
capacityThe maximal length.
clearResets an object.
collectLeavesReturns all leaves underneath a given vertex.
complementComplement a sequence or a StringSet in-place.
countKmersCounts kmers in a sequence. Optionally, a background model is returned.
createLfTableCreates the LF table
createOracleCreates a factor oracle.
createOracleOnReverseCreates a factor oracle for the reversed string.
createPrefixSumTableCreates the prefix sum table
createRankDictionaryThis functions creates the dictionary.
createRightArrayBinaryTreeComputes the wavelet tree structure of a text.
createSentinelRankDictionaryThis functions creates the dictionary structure.
createSuffixTrieCreates a trie of all suffixes of a text.
createTrieCreates a trie.
createTrieOnReverseCreates a trie for all reversed keywords.
determineConsensusSeqDetermines the consensus pattern of a given profile.
emptyTest a container for being empty.
endThe end of a container.
endPositionEnd position of object in host.
eraseErases a part of a container
eraseBackDeletes the last item of a container and reduces its size by 1. The container must have a size greater than or equal to 1.
extendSeedExtends a seed.
findIntervalsFind all intervals that contain the query point or overlap with the query interval.
findIntervalsExcludeTouchingFind all intervals that contain the query point, exclude intervals that touch the query, i.e. where the query point equals the start or end point.
findRepeatsSearch for repeats in a text.
frontThe first item in container. (ContainerConcept)
getDistanceMatrixComputes a pairwise distance matrix from an alignment graph.
getObjectIdA value that identifies the underlying sequence.
getSuccessorGets the successor for a given vertex and an edge label. For an automaton a single character is required whereas for a word graph getSuccessor takes a string.
getValueAccess to the value. (ContainerConcept)
globalAlignmentScoreComputes the best global pairwise alignment score.
goDownIterates down one edge or a path in a tree.
heaviestIncreasingSubsequenceComputes the heaviest increasing subsequence.
infixCreates infix object.
infixWithLengthCreates infix object.
integrateAlignIntegrates an alignment into another by copying the gaps.
iterIterator to item at given position.
lengthThe number of items/characters.
longestCommonSubsequenceComputes the longest common subsequence.
longestIncreasingSubsequenceComputes the longest increasing subsequence.
moveValueAssigns value to item. (ContainerConcept)
njTreeComputes a guide tree from a distance matrix.
parseStringParses a string one character at a time and moves accordingly in the automaton.
positionPosition of an iterator. (ContainerConcept)
prefixCreates prefix object.
readFastaRead first sequence from a FASTA file.
readRecordRead the next sequence record from SequenceStream.
readRegionLoad the infix of a sequence from a FaiIndex.
readSequenceLoad a whole sequence from an FaiIndex.
replaceReplaces a part of a container with another container.
reserveIncreases the capacity.
resizeResizes a container. If the new length exceeds the old length the new elements are filled with copies of value.
resizeSpaceMakes free space in container
reverseComplementReverse and complement a sequence or a StringSet in-place.
setHaystackSets the haystack of a Finder object.
setHostSets the host of an object.
setNeedleSets the needle of a Pattern object and optionally induces preprocessing.
shapeToStringConverts a given shape into a sequence of '1' (relevant position) and '0' (irrelevant position).
shareResourcesDetermines whether two sequences share the same resource.
stringSetLimitsRetrieves a string of delimiter positions of a StringSet which is needed for local<->global position conversions.
stringToShapeTakes a shape given as a string of '1' (relevant position) and '0' (irrelevant position) and converts it into a Shape object.
stringToStringSetTransform a String into a StringSet containing this String.
suffixCreates suffix object.
swapSwaps the contents of two values.
toCStringAccess sequence as c-style string.
toLowerConvert characters in sequence or StringSet to lower case in-place.
topologicalSortPerforms a topological sort on a directed acyclic graph (DAG).
toUpperConvert characters in sequence or StringSet to lower case in-place.
unhashInverse of the hash function; for ungapped shapes.
upgmaTreeComputes a guide tree from a distance matrix.
valueReference to the value.
writeRecordWrite one sequence record from to a SequenceStream object.
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2013/07/11 09:12:16