Functions
This section lists the functions implemented in SeqAn. Note that SeqAn uses global functions to access data types, e.g. the length of a string str is determined by calling length(str) and not by calling a member function str.length().
Functions
countOccurrencesMultipleReturns the number of occurences of a q-gram for every sequence of a StringSet .
expectationComputes the expectation for a set of patterns w.r.t. a set of text strings and a MarkovModel
findIntervalsFind all intervals that contain the query point or overlap with the query interval.
flattenApply the journal to the underlying string, destructively on the underlying string.
getProjectedPositionProjects a position of one sequence taking part in a pairwise match onto the other sequence.
isReversedReturns true if the segment match is in reverse orientation.
mtRandDoubleReturn a random number between 0 and 1 using mtRand.
prependValuePrepend a value to a container.
reAlignPerform realignment similar to Anson-Myers algorithm.
varianceComputes the variance for a set of patterns w.r.t. a set of text strings and a MarkovModel
zscoreComputes the z-score index for a set of patterns w.r.t. a set of text strings and a MarkovModel
Alignments
assignSourceAssigns the source to a new value.
clearGapsRemove blanks from a gapped sequence.
clippedBeginPositionBegin position of the source segment.
clippedEndPositionPosition of the end of the source segment.
colA column in an alignment.
colsThe container of columns in an alignment.
countCharactersCount characters at a specific position in a gapped sequence.
countGapsCount blanks at a specific position in a gapped sequence.
createSourceCreates a new source.
dependentSourceTest if object depends from it's source.
detachMakes an object independent from other objects.
emptySourceTest if there is a source.
gapValueReturns reference to a value that is used as gap character.
globalAlignmentComputes the best global alignment of the two sequences.
globalMsaAlignmentComputes a global multiple alignment.
heaviestIncreasingSubsequenceComputes the heaviest increasing subsequence.
insertGapInsert one blank into a gapped sequence.
insertGapsInsert blanks into a gapped sequence.
integrateAlignIntegrates an alignment into another by copying the gaps.
isGapTest a gapped sequence for gaps at a specific position.
localAlignmentComputes the best local alignment of two sequences.
localAlignmentComputes the best local alignment of two sequences.
longestCommonSubsequenceComputes the longest common subsequence.
longestIncreasingSubsequenceComputes the longest increasing subsequence.
matchRefinementRefines (i.e. cuts into smaller parts) a set of pairwise segment matches in such a way that none of the segments partly overlap. They are either identical (fully overlapping) or non-overlapping.
moveSourceMoves the source to a new value.
multiLocalAlignmentComputes multiple local alignments of two sequences.
removeGapRemoves one blank from a gapped sequence.
removeGapsRemoves blanks from a gapped sequence.
rowA row in an alignment.
rowsThe container of rows in an alignment.
scoreGapScore for gaps.
scoreGapExtendScore for extending gaps.
scoreGapOpenScore for opening a gap.
scoreMatchMatch score.
scoreMismatchMismatch score.
setScoreGapSet gap opening and extension score.
setScoreGapExtendSet gap extension score.
setScoreGapOpenSet gap opening score.
setScoreMatchSet match score.
setScoreMismatchSet mismatch score.
setSourceLet an external object be the source.
setStringsLoads the sequences of a stringset into an alignment.
sourceThe source of an object.
sourceBeginBegin of the source segment.
sourceEndEnd of the source segment.
sourceLengthLength of the source.
sourceSegmentThe used part of the source.
toSourcePositionTransforms view to source position, if the view position is a gap, the original position of the next non-gap entry is returned.
toViewPositionTransforms source to view position.
Alphabets
assignQualitiesAssign quality value between strings.
assignQualityValueAssign quality to a character from an alphabet with integrated quality.
convertConverts a value into another value.
gapValueReturns reference to a value that is used as gap character.
maxValueSupremum for a given type.
minValueInfimum for a given type.
ordValueMaps an alphabet 1-to-1 to the interval [0..ValueSize).
Array Handling
arrayClearSpaceDestroys the begin of an array and keeps the rest.
arrayConstructConstruct objects in a given memory buffer.
arrayConstructCopyCopy constructs an array of objects into in a given memory buffer.
arrayConstructMoveMove constructs an array of objects into in a given memory buffer.
arrayCopyCopies a range of objects into another range of objects.
arrayCopyBackwardCopies a range of objects into another range of objects starting from the last element.
arrayCopyForwardCopies a range of objects into another range of objects starting from the first element.
arrayDestructDestroys an array of objects.
arrayFillAssigns one object to each element of a range.
arrayMoveMoves a range of objects into another range of objects.
arrayMoveBackwardMoves a range of objects into another range of objects starting from the last element.
arrayMoveForwardMoves a range of objects into another range of objects starting from the first element.
Atomic Operations
atomicAddAtomically add an integer to another integer.
atomicCasCompare-and-Swap operation.
atomicDecAtomically decrement an integer.
atomicIncAtomically increment an integer.
atomicMaxLock-free implementation of x = max(x, y).
atomicMinLock-free implementation of x = min(x, y).
atomicOrAtomically combine two integers with OR operation.
atomicXorAtomically combine wto integers with XOR operation.
Blast
atBeginDetermines whether an iterator is at the beginning position.
atBeginDetermines whether an iterator is at the beginning position.
atEndDetermines whether an iterator is at the end position.
atEndDetermines whether an iterator is at the end position.
atEndDetermines whether an iterator is at the end position.
databaseNameReference to the name (identifier) of the database in a Blast report.
databaseOrientationPlusOrientation of the database sequence within a Blast HSP alignment.
getAlignmentTurns a HSP from a Blast search into an Alignment object.
getAlignmentTurns a HSP from a Blast search into an Alignment object.
getBitScoreThe bit score associated with a Blast HSP.
getBlastMatchScoreThe Smith-Waterman score associated with a Blast HSP.
getDatabaseBeginThe begin position of the HSP on the database sequence.
getDatabaseEndThe end position of the HSP on the database sequence.
getDatabaseNameThe name (identifier) of the database in a Blast report.
getEValueThe e-value associated with a Blast HSP.
getEValueCutoffThe Expect-Value cutoff parsed from a Blast report.
getGappedKappaThe gapped kappa value parsed from a Blast report.
getGappedLambdaThe lambda value parsed from a Blast report.
getGetExtensionThe gap extension penalty parsed from a Blast report.
getGetOpenThe gap open penalty parsed from a Blast report.
getKappaThe kappa value parsed from a Blast report.
getLambdaThe lambda value parsed from a Blast report.
getNextGet next Blast report from a file containing multiple Blast reports.
getNumGapsThe number of gaps within a Blast HSP alignment.
getQueryBeginThe begin position of the HSP on the query sequence.
getQueryEndThe end position of the HSP on the query sequence.
getQueryNameThe name (identifier) of the query in a Blast report.
getValueAccess to the value.
getValueAccess to the value.
goBeginIterates to the first position of a container.
goBeginIterates to the first position of a container.
goEndIterates to the last position of a container.
goNextIterates to next position.
goNextIterates to next position.
goPreviousIterates to pevious position.
hostHitThe BlastHit this iterator is working on.
hostReportThe BlastReport this iterator is working on.
lengthThe number of items/characters.
numHitsThe total number of hits in a Blast report.
numHspsThe number of HSPs for an entire Blast report or for one Blast hit.
queryNameReference to the name (identifier) of the query in a Blast report.
queryOrientationPlusOrientation of the query sequence within a Blast HSP alignment.
readLoads records from a file.
valueReference to the value.
valueReference to the value.
Chaining
globalChainingComputes the chain on a set of fragments.
Class: Align
integrateAlignIntegrates an alignment into another by copying the gaps.
localAlignmentComputes the best local alignment of two sequences.
Comparisons
compareCompares two objects.
hasPrefixTest whether a sequence is prefix of another sequence.
isEqualOperator "==".
isGreaterOperator ">".
isGreaterOrEqualOperator ">=".
isLessOperator "<".
isLessOrEqualOperator "<=".
isNotEqualOperator "!=".
isPrefixTest whether a sequence is prefix of another sequence.
lcpLengthLength of longest common prefix.
Containers
backThe last item in container.
beginThe begin of a container.
beginPositionBegin position of object in host.
capacityThe maximal length.
clearResets an object.
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.
frontThe first item in container.
getValueAccess to the value.
infixCreates infix object.
infixWithLengthCreates infix object.
iterIterator to item at given position.
lengthThe number of items/characters.
prefixCreates prefix object.
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
shrinkToFitResizes container to minimum capacity
suffixCreates suffix object.
toCStringAccess sequence as c-style string.
valueReference to the value.
Content Manipulation
appendConcatenate two containers.
appendValueAppends a value to a container.
assignAssigns one object to another object.
assignValueAssigns value to item.
getValueAccess to the value.
insertInserts a sequence into a container.
insertValueInserts a single value into a container.
moveHands over content from one container to another container.
moveValueAssigns value to item.
popDeletes item with the highest priority and adjusts the priority queue.
pushInserts a new item and adjusts the priority queue if necessary.
replaceReplaces a part of a container with another container.
setAssigns one object to another object avoiding to copy contents.
setValueMakes holder dependent.
swapSwaps the contents of two values.
topReference to the item with the highest priority.
valueConstructConstructs an object at specified position.
valueConstructMoveMove constructs an object at specified position.
valueDestructDestoys an object at specified position.
Dependent Objects
createMakes an object to owner of its content.
dependentTest whether object depends on other objects.
detachMakes an object independent from other objects.
hostThe object a given object depends on.
setBeginSets begin of object in host.
setBeginPositionSets begin position of object in host.
setEndSets end of object in host.
setEndPositionSets begin position of object in host.
setHostSets the host of an object.
Fragment Store
appendAlignedReadAppends an aligned read entry to a fragment store.
appendMatePairAppends two paired-end reads to a fragment store.
appendNameAppends a name to a name store.
appendReadAppends a read to a fragment store.
calculateInsertSizesCalculates a string with insert sizes for each pair match.
calculateMateIndicesCalculates a string that maps the readId of a read to the readId of its mate.
clearReadsRemoves all reads from a fragment store.
compactAlignedReadsRemoves invalid aligned reads and rename alignId sequentially beginning with 0.
compactPairMatchIdsRenames pairMatchId sequentially beginning with 0.
convertMatchesToGlobalAlignmentConverts all matches to a multiple global alignment in gap-space.
convertPairWiseToGlobalAlignmentConverts pair-wise alignments to a multiple global alignment.
getIdByNameAppends a name to a name store.
getMateNoReturns the mate number of read for a given readId.
getReadReturns the read with the given readId.
layoutAlignmentCalculates a visible layout of aligned reads.
loadContigManually loads a contig sequence.
loadContigsLoads contigs into fragment store.
loadReadsLoads reads into fragment store.
lockContigLocks a contig sequence from being removed.
lockContigsLocks all contig sequences from being removed.
lowerBoundAlignedReadsPerforms a binary lower bound search on the aligned reads.
printAlignmentPrints a window of the visible layout of reads into a outstream.
readLoads records from a file.
refreshRecreate a name store cache.
sortAlignedReadsStably sort aligned reads.
unlockAndFreeContigRemoves a previous contig lock and clears sequence no further lock exist.
unlockAndFreeContigsRemoves a previous lock for all contigs and clears sequences without lock.
unlockContigRemoves a previous contig lock.
unlockContigsRemoves a previous lock for all contigs.
upperBoundAlignedReadsPerforms a binary upper bound search on the aligned reads.
writeSaves records to a file.
writeContigsWrite contigs from fragment store into file.
Graph
addChildAdds a new child vertex to a parent vertex. Optionally a cargo can be attached to the parent-child edge.
addEdgeAdds a new edge to the graph, either with or without cargo.
addEdgesShortcut to add multiple edges at once. Creates vertices implicitly.
addVertexAdds a new vertex to the graph.
alignmentEvaluationGiven a multiple alignment, this function calculates all kinds of alignment statistics.
allPairsShortestPathFinds shortest paths between all pairs of vertices in a graph.
assignBeginStateAssigns a begin state.
assignCargoAssigns a new cargo to the edge.
assignEmissionProbabilityAssigns a new emission probability.
assignEndStateAssigns an end state.
assignNextSAssigns another EdgeStump to the next source pointer.
assignNextTAssigns another EdgeStump to the next target pointer.
assignPropertyAssigns a property to an item in the property map.
assignRootAssigns a new root vertex to the graph.
assignSilentStatusAssigns a silent status to a state.
assignSourceAssigns a source vertex to an edge.
assignStringSetAssigns a new string set to an alignment graph.
assignTargetAssigns a target vertex to an edge.
assignTransitionProbabilityAssigns a new transition probability.
atBeginDetermines whether an iterator is at the beginning position.
atEndDetermines whether an iterator is at the end position.
backwardAlgorithmImplements the backward algorithm.
beginStateReturns a reference to the begin state.
bellmanFordAlgorithmComputes shortest paths from a single source in a directed graph.
breadthFirstSearchImplements a breadth-first search on a graph.
canParseStringTest whether an automaton can parse a string completely.
cargoAccess to the cargo.
childVertexReturns the child vertex of an edge.
clearResets an object.
clearEdgesRemoves all edges in a graph.
clearVerticesRemoves all vertices in a graph.
collectLeavesReturns all leaves underneath a given vertex.
connectedComponentsDecomposes an undirected graph into its connected components.
convertAlignmentConverts an alignment graph into an alignment matrix.
createOracleCreates a factor oracle.
createOracleOnReverseCreates a factor oracle for the reversed string.
createRootCreates the root in a tree or an automaton.
createSuffixTrieCreates a trie of all suffixes of a text.
createTrieCreates a trie.
createTrieOnReverseCreates a trie for all reversed keywords.
dagShortestPathComputes shortest paths from a single source in a directed acyclic graph (DAG).
degreeNumber of incident edges for a given vertex.
depthFirstSearchImplements a depth-first search on a graph.
dijkstraComputes shortest paths from a single source in a graph.
emissionProbabilityReturns a reference to the emission probability.
emptyTest a container for being empty.
endStateReturns a reference to the end state.
findEdgeFinds an edge.
findVertexFinds a vertex given a sequence id and a position.
floydWarshallAlgorithmFinds shortest paths between all pairs of vertices in a graph.
fordFulkersonAlgorithmComputes a maximum flow in a directed graph.
forwardAlgorithmImplements the forward algorithm.
fragmentBeginGets the begin position for this fragment or this vertex descriptor in the sequence.
fragmentLengthGets the length of the label of a given vertex descriptor in the sequence.
generateSequenceGenerates random state and alphabet sequences of a given HMM.
getAdjacencyMatrixReturns an adjacency matrix representation of the graph.
getBeginStateReturns the begin state.
getCargoGet method for the edge cargo.
getDistanceMatrixComputes a pairwise distance matrix from an alignment graph.
getEmissionProbabilityReturns the emission probability.
getEndStateReturns the end state.
getFirstCoveredPositionFinds the first position in a sequence that is not assigned to a nil vertex.
getIdLowerBoundReturns the smallest distributed id. That is, the return value is guaranteed to be the smallest id obtained so far.
getIdUpperBoundReturns the largest distributed id plus 1. That is, the return value is guaranteed to be an upper bound on all distributed ids.
getLastCoveredPositionFinds the last position in a sequence that is not assigned to a nil vertex.
getNextSGet method for the next source pointer.
getNextTGet method for the next target pointer.
getNilUtility function returning a value that represents nil. Useful for various graph algorithms, e.g., missing predecessors, vertices that have not been visited, etc.
getPropertyGet method for an item's property.
getRootGet method for the root of a tree or an automaton.
getSourceGet method for the source.
getStringSetGets the string set of an alignment graph.
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.
getTargetGet method for the target.
getTransitionProbabilityReturns the transition probability.
getValueAccess to the value.
goBeginIterates to the first position of a container.
goEndIterates to the last position of a container.
goNextIterates to next position.
goPreviousIterates to pevious position.
hostGraphThe graph this iterator is working on.
idCountDetermines the number of ids that were obtained.
idInUseChecks whether the given id is in use or not.
inDegreeNumber of incoming edges for a given vertex.
isLeafTests whether a given vertex is a leaf or not.
isRootTests whether a given vertex is the root or not.
isSilentIndicates whether a state is silent or not.
kruskalsAlgorithmComputes a minimum spanning tree on a graph.
labelReturns the label of the out-edge this iterator points to (for automatons).
labelGets the label that is associated with this vertex descriptor or the sequence that is associated with a fragment.
nextSAccesses the next source pointer.
nextTAccesses the next target pointer.
numChildrenNumber of children of a given tree vertex.
numEdgesNumber of edges in a graph.
numTreeEdgesNumber of tree edges.
numVerticesNumber of vertices in a graph.
obtainIdObtains a new id from the id manager.
outDegreeNumber of outgoing edges for a given vertex.
parentVertexReturns the parent vertex of an edge.
parseStringParses a string one character at a time and moves accordingly in the automaton.
primsAlgorithmComputes a minimum spanning tree on a graph.
progressiveAlignmentPerforms a progressive alignment.
propertyAccesses the property of an item in the property map.
releaseAllReleases all ids handled by this id manager at once.
releaseIdReleases a given id so it can be redistributed later on.
removeAllChildrenRemoves all children from the tree given a parent.
removeChildRemoves a child from the tree given a parent.
removeEdgeRemoves an edge from the graph. For automatons a label is required.
removeInEdgesRemoves the incoming edges of a given vertex.
removeOutEdgesRemoves the outgoing edges of a given vertex.
removeVertexRemoves a vertex.
resizeEdgeMapInitializes an edge map
resizeVertexMapInitializes a vertex map.
rootGets a reference to the root of the tree.
sequenceIdGets the sequence id that is associated with this vertex descriptor or with a sequence of a fragment.
silentStatusReference to the silent status of a state.
slowNjTreeComputes a guide tree from a distance matrix.
sourceVertexReturns the source vertex of an edge.
stringSetGets the string set of an alignment graph.
stronglyConnectedComponentsDecomposes a directed graph into its strongly connected components.
sumOfPairsScoreGiven a multiple alignment, this function calculates the sum-of-pairs score.
targetAccesses the target of an EdgeStump.
targetVertexReturns the target vertex of an edge.
topologicalSortPerforms a topological sort on a directed acyclic graph (DAG).
transitionProbabilityReturns a reference to the transition probability.
transitiveClosureDetermines whether there is a path between any two given vertices or not.
transposeTransposes a graph, either in-place or from source to dest.
tripletLibraryExtensionPerforms a full or group-based consistency extension.
upgmaTreeComputes a guide tree from a distance matrix.
valueReference to the value.
viterbiAlgorithmImplements the viterbi algorithm.
Index
alignmentReturns an alignment of the occurences of the representative substring in the index text.
bwtAtShortcut for value(indexBwt(..), ..).
childAtShortcut for value(indexChildtab(..), ..).
childrenAreLeavesTest whether iterator points to a node with only leaf-children.
countChildrenCount the number of children of a tree node.
countOccurrencesReturns the number of occurences of representative substring or a q-gram in the index text.
createBWTableCreates a Burrows-Wheeler table from a given text and suffix array.
createChildtabCreates a child table from a given lcp table.
createCountArrayBuilds an index on a StringSet storing how often a q-gram occurs in each sequence.
createLcpTableCreates a lcp table from a given text and suffix array.
createQGramIndexBuilds a q-gram index on a sequence.
createQGramIndexDirOnlyBuilds the directory of a q-gram index on a sequence.
createQGramIndexSAOnlyBuilds the suffix array of a q-gram index on a sequence.
createSuffixArrayCreates a suffix array from a given text.
createWotdIndexBuilds a q-gram index on a sequence.
dirAtShortcut for value(indexDir(..), ..).
emptyParentEdgeReturns true iff the edge label from the iterator node to its parent is empty.
getFibreReturns a specific Fibre of an Index object.
getFrequencyReturns the number of sequences, which contain the representative as a substring.
getKmerSimilarityMatrixCreates a matrix storing the number of common q-grams between all pairs of sequences.
getOccurrenceReturns an occurence of the representative substring or a q-gram in the index text.
getOccurrencesReturns all occurences of the representative substring or a q-gram in the index text.
getOccurrencesBwtReturns the characters left beside all occurence of the representative substring in the index text.
getStepSizeReturn the q-gram step size used for index creation.
goDownIterates down one edge or a path in a tree.
goRightIterates to the next sibling in a tree.
goRootMove iterator to the root node.
goUpIterates up one edge to the parent in a tree.
hashComputes a (lower) hash value for a shape applied to a sequence.
hash2Computes an unique hash value of a shape applied to a sequence, even if the sequence is shorter than the shape span
hash2NextComputes a unique hash value for the adjacent shape, even if it is shorter than q.
hash2UpperComputes an upper unique hash value of a shape applied to a sequence, even if the sequence is shorter than the shape span.
hashNextComputes the hash value for the adjacent shape.
hashUpperComputes an upper hash value for a shape applied to a sequence.
indexBucketMapShortcut for getFibre(.., QGramBucketMap).
indexBwtShortcut for getFibre(.., EsaBwt).
indexChildtabShortcut for getFibre(.., EsaChildtab).
indexCountsShortcut for getFibre(.., QGramCounts).
indexCountsDirShortcut for getFibre(.., QGramCountsDir).
indexCreateCreates a specific Fibre.
indexDirShortcut for getFibre(.., QGramDir).
indexLcpShortcut for getFibre(.., EsaLcp).
indexLcpeShortcut for getFibre(.., EsaLcpe).
indexRawSAShortcut for getFibre(.., EsaRawSA).
indexRawTextShortcut for getFibre(.., EsaRawText).
indexRequireOn-demand creation of a specific Fibre.
indexSAShortcut for getFibre(.., EsaSA).
indexShapeShortcut for getFibre(.., QGramShape).
indexSuppliedReturns whether a specific Fibre is present.
indexTextShortcut for getFibre(.., EsaText).
isLeafTest whether iterator points to a leaf.
isLeftMaximalTest whether the occurences of an iterator's representative mutually differ in the character left of the hits.
isPartiallyLeftExtensibleTest whether the characters left of the two occurences of representative are equal.
isRightTerminalTest whether iterator points to a suffix.
isRootTest whether iterator points to the root node.
isUniqueTest whether the representative occurs only once in every sequence.
lcaReturns the last common ancestor of two tree nodes.
lcpReturns the length of the longest-common-prefix of two suffix tree nodes.
lcpAtShortcut for value(indexLcp(..), ..).
lcpeAtShortcut for value(indexLcpe(..), ..).
nodeDepthReturns the zero-based node depth of the iterator node.
nodeHullPredicateIf false this node and its subtree is concealed.
nodePredicateIf false this node will be skipped during the bottom-up traversal.
nodeUpReturns the vertex descriptor of the parent node.
orderOccurrencesSorts a string of occurrences.
parentEdgeFirstCharReturns the first character of the edge from an iterator node to its parent.
parentEdgeLabelReturns a substring representing the edge from an iterator node to its parent.
parentEdgeLengthReturns the length of the edge from the iterator node to its parent.
parentRepLengthReturns the length of the substring representing the path from root to iterator's parent node.
rangeReturns the suffix array interval borders of occurences of representative substring or a q-gram in the index text.
rawsaAtShortcut for value(indexRawSA(..), ..).
rawtextAtShortcut for value(indexRawText(..), ..).
repLengthReturns the length of the substring representing the path from root to iterator node.
representativeReturns a substring representing the path from root to iterator node.
resizeVertexMapInitializes a vertex map.
saAtShortcut for value(indexSA(..), ..).
setStepSizeChange the q-gram step size used for index creation.
shapeToStringConverts a given shape into a sequence of '1' (relevant position) and '0' (irrelevant position).
stringToShapeTakes a shape given as a string of '1' (relevant position) and '0' (irrelevant position) and converts it into a Shape object.
textAtShortcut for value(indexText(..), ..).
weightNumber of relevant positions in a shape.
Input/Output
appendSeqsAppends all sequences stored in files of directory to a StringSet.
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.
asyncReadAtAsynchronously loads records from a specific position in a file.
asyncWriteAtAsynchronously saves records to a specific position in a file.
cancelCancels an asynchronous request.
closeCloses a file.
flushWaits for all open requests to complete.
goNextIterates to next position.
guessFileFormatTries to determine the format of a file.
guessFormatGuesses a file format from the contents of a sequence file.
guessFormatFromFilenameGuesses a file format from a sequence file name.
lengthThe number of items/characters.
loadScoreMatrixLoad a score matrix from a file.
openOpens a file.
openTempOpens a temporary file.
readLoads a record from file.
readLoads records from a file.
readAtLoads records from a specific position in a file.
readFeatureFinds the first feature specified by 'key' starting from position 'start' in the feature table (the feature table can be obtained by calling readLineType with the two-character code "FT").
readLineTypeReads the information belonging to the two-character line code specified.
readMetaRead meta information from file.
resizeResizes a container. If the new length exceeds the old length the new elements are filled with copies of value.
rewindSets the current file pointer to the beginning.
seekChanges the current file pointer.
setEofSets the file end to the current pointer.
sizeGets the file size.
splitDivides the contents of a sequence file into sequence file fragments separated by a file format specific delimiter.
tellGets the current file pointer.
waitForWaits for an asynchronous request to complete.
writeWrites to stream.
writeSaves records to a file.
writeSaves records to a file.
writeSaves records to a file.
writeAtSaves records to a specific position in a file.
Iteration
assignValueAssigns value to item.
atBeginDetermines whether an iterator is at the beginning position.
atEndDetermines whether an iterator is at the end position.
atNilTests whether iterator is at nil position.
beginThe begin of a container.
containerContainer of an iterator.
differenceThe difference between two iterators.
endThe end of a container.
getValueAccess to the value.
goBeginIterates to the first position of a container.
goEndIterates to the last position of a container.
goFurtherIterates some steps further.
goNextIterates to next position.
goNilMoves iterator to nil position.
goPreviousIterates to pevious position.
moveValueAssigns value to item.
positionPosition of an iterator.
valueReference to the value.
Map
addInsert another value into a multi map.
cargoReturns a cargo given a key.
eraseRemoves a value from a map.
eraseAllRemoves a value from a map.
findFind a value in a map.
hasKeyDetermines whether a map contains a value given key.
insertInsert new value into map.
keyGet the the key of the element.
mapValueSubscript operator [ ] of maps.
valueReturns a value given a key.
Memory
allocateAllocates memory from heap.
clearDeallocates all memory blocks.
deallocateDeallocates memory.
Misc
cpuTimeReturns the cpu time in seconds.
mtRandReturn a Mersenne-Twister random number.
mtRandInitInitialize the Mersenne-Twister random number generator.
sysTimeReturns the system time in seconds.
Miscellaneous
addArgumentTextReturn a CommandLineOption object extended by an argument text.
addHelpLineAdds an extra line of text below the help text of an option.
addIntervalAdds an interval to an interval tree.
addLineAdds a line of text to the help output of the CommandLineParser.
addOptionAdds a CommandLineOption object to the CommandLineParser.
addSectionAdds a new section the help output of the CommandLineParser.
addTitleLineAdds a line of text to the title output of the CommandLineParser.
addUsageLineAdds a line of text to the usage output of the CommandLineParser.
addVersionLineAdds a line of text to the version output of the CommandLineParser.
adjustTopAdjusts the priority of the first item.
argumentCountReturns the count of passed arguments.
argumentTextReturns the argument text of a CommandLineOption object.
createIntervalTreeCreate an interval tree.
findIntervalsExcludeTouching:Find 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.
getArgumentValueReturns an argument set on the command line.
getArgumentValuesReturns all arguments set on the command line.
getLeftBoundaryGet method for the left boundary.
getOptionValueLongRetrieves the value of a long-name option given on the command line.
getOptionValueShortRetrieves the value of a short-name option given on the command line.
getOptionValuesLongReturns all values of a long-name option given on the command line.
getOptionValuesShortReturns all values of a short-name option given on the command line.
getRightBoundaryGet method for the right boundary.
hasOptionLongReturns whether a certain long-name option is registered in the parser.
hasOptionShortReturns whether a certain short-name option is registered in the parser.
helpPrints the complete help message for the parser to a stream.
helpTextReturns the help text associated with the CommandLineOption object.
idA value that identifies the underlying sequence.
isBooleanOptionReturns whether option is a switch.
isDoubleOptionReturns whether option argument can be a double.
isHiddenOptionReturns whether option is hidden on the help screen.
isIntOptionReturns whether option argument can be an integer.
isLabelOptionReturns whether an option label should be printed on the help screen.
isOptionListReturns whether the option can be given multiple times.
isOptionMandatoryReturns whether option is mandatory.
isSetLongReturns whether a long-name option was set on the parsed command line.
isSetShortReturns whether a short-name option was set on the parsed command line.
isStringOptionReturns whether option argument can be a string.
leftBoundaryAccess to the right boundary.
log2Computes logarithm of base 2 for integer types
longNameReturns the long-name of a CommandLineOption object.
parseParses the command line.
requiredArgumentsSets the number of arguments (non-parameterized options) are required by the program.
rightBoundaryAccess to the right boundary.
setHelpTextSets the help text associated with the CommandLineOption object.
setLongNameSets the long-name of a CommandLineOption object.
setOptionTypeSet the option type.
setShortNameSets the short-name of a CommandLineOption object.
shareResourcesDetermines whether two sequences share the same resource.
shortHelpPrints a short help message for the parser to a stream
shortNameReturns the short-name of a CommandLineOption object.
versionPrints a version text to a stream.
Miscellaneous:
printDebugLevelPrint the current SeqAn debug level and the compiler flags to the given stream.
Modifier
complementComplement a sequence or a StringSet in-place.
reverseComplementReverse and complement a sequence or a StringSet in-place.
toLowerConvert characters in sequence or StringSet to lower case in-place.
toUpperConvert characters in sequence or StringSet to lower case in-place.
Modifiers
reverseReverse an object/container in-place.
Motif Search
absFreqOfLettersInSeqCounts the number of times each residue of a fixed sequence alphabet occurs in a given sequence.
absFreqOfLettersInSetOfSeqsCounts the number of times each residue of a fixed sequence alphabet occurs in a given set of sequences.
addValueAdds a value of a specific type to each element of a given FrequencyDistribution object.
backgroundFrequencyDetermines the background letter frequencies in a given dataset
binomialCoefficientCalculates the binomial coefficient C(n,k).
completeProfileConcatenates the background frequency with the profile for the motif component.
convertPatternToProfileConverts a pattern into a profile which consists of a set of frequency distributions.
convertResidueToFrequencyDistCoverts a residue to a frequency distribution (profile).
convertSetOfPatternsToProfileConverts a set of sequence patterns into a profile.
determineConsensusSeqDetermines the consensus pattern of a given profile.
displayDisplays a given set of strings.
displayResultDisplays all found motif candidates. In the case of the Projection Motif Finder the function displays the consensus pattern of the found motif candidate.
emRepresents the EM algorithm as used by MEME.
factorialCalculates the factorial value of any integer number.
findMotifRepresents the main function which is used to start the search for noticeable motif patterns.
getMotifGets the motif out of a MotifFinder. If pos is given, the pos-th motif is returned, otherwise the first motif is returned.
hammingDistanceDetermines the Hamming distance between two sequences.
inverseHashDetermines the corresponding sequence pattern given the hash value.
logarithmizeLogarithmizes each element of a given FrequencyDistribution object.
motifCountGets number of motifs in the MotifFinder.
normalizeDetermines the normalized frequencies.
posOfMaxDetermines the residue position in a given FrequencyDistribution object with the maximum frequency.
sumDetermines the sum of all frequencies in a given FrequencyDistribution object.
Pipelining
beginReadInitiates a read process.
beginWriteInitiates a write process.
bundle2Returns a bundle of two objects.
bundle3Returns a bundle of three objects.
bundle5Returns a bundle of five objects.
endReadTerminates a read process.
endWriteTerminates a write process.
frontGets the first element of the remaining stream.
popPops the first element of the remaining stream.
pushAppends an item at the end of an input stream.
Random
pickRandomNumberPick a random number using a random number generator object, possibly following the given distribution.
shuffleShuffle the given container.
Scoring
scoreReturns the score for aligning the characters seq1[pos1] and seq2[pos2]. This function allows to define a position-dependent scoring scheme.
scoreReturns the score for aligning the characters seq1[pos1] and seq2[pos2]. This function allows to define a position-dependent scoring scheme.
scoreGapExtendHorizontalReturns the score for extending a horizontal gap after pos1 in seq1.
scoreGapExtendVerticalReturns the score for extending a vertical gap after pos2 in seq2.
scoreGapHorizontalReturns the score for a horizontal gap after pos1 in seq1.
scoreGapOpenHorizontalReturns the score for opening a horizontal gap after pos1 in seq1.
scoreGapOpenVerticalReturns the score for opening a vertical gap after pos2 in seq2.
scoreGapVerticalReturns the score for a vertical gap after pos2 in seq2.
setDefaultScoreMatrixSet the value of the given matrix to the default value.
setScoreSet the substitution score between two values.
Searching
findSearch for a Pattern in a Finder object.
findBeginSearch the begin of an approximate match.
getBeginScoreScore of the last match found by findBegin during approximate searching.
getScoreScore of the last found match in approximate searching.
getSwiftHitsGets the string of hits from the finder
haystackReturns the haystack of a Finder object.
needleReturns the needle of a Pattern object (not implemented for some online-algorithms).
positionRangeReturns a pair of the begin and end position in the haystack or needle for the last hit found.
positionRangeNoClipReturns a pair of the begin and end position in or beyond the haystack or needle for the last hit found.
scoreLimitThe minimal score a match must reach in approximate searching.
scoringSchemeThe scoring scheme used for finding or aligning.
setHaystackSets the haystack of a Finder object.
setNeedleSets the needle of a Pattern object and optionally induces preprocessing.
setPositionSets the position of a finder.
setScoreLimitSets the minimal score a match must reach in approximate searching.
setScoringSchemeSets the scoring scheme used for finding or aligning.
windowFindBeginInitializes the pattern. Sets the finder on the begin position. Gets the first non-repeat range and sets it in the finder. Used together with windowFindBegin and windowFindEnd.
windowFindEndFlushes the pattern. Used together with windowFindBegin and windowFindNext.
windowFindNextSearches over the next window with the finder. The found hits can be retrieved with getSwiftHits Used together with windowFindBegin and windowFindEnd.
Seed Handling
addSeedAdds a seed to an existing set.
addSeedsAdds several seeds to an existing set. If a merging or chaining algorithm is used seeds are added if the merging or chaining fails.
appendDiag Adds diagonal to the seed.
bandedAlignmentCalculates a banded alignment around a Seed.
bandedChainAlignment Calculates a banded alignment around a chain of seeds.
dimensionDimension of a seed.
endDiagonal Returns the diagonal of the end point.
extendSeedExtends a seed.
extendSeedScoreExtends a seed and increases the score.
extendSeeds Extension of seeds.
extendSeedsScore Extension of seeds with score calculation.
getAlignment Constructs a alignment from a ChainedSeed.
leftDiagonal Returns the most left diagonal of the seed (maximum diagonal value).
leftDim0 Returns the first position of the seed in the query.
leftDim1 Returns the first position of the seed in the database.
leftPositionThe begin position of segment in a seed.
maximumDistanceSets the maximal distance between two seed during a chaining process.
obtainID btains a new id from the id manager.
qualityValueSets the minimum length for a seed to be saved permanently.
releaseID Releases a given id so it can be redistributed later on.
rightDiagonal Returns the most right diagonal of the seed (minimum diagonal value).
rightDim0 Returns the last position of the seed in the query.
rightDim1 Returns the last position of the seed in the database.
rightPositionThe end position of segment in a seed.
scoreSeed Calculates the score of a seed.
seedScoreReturns the score of a seed.
setLeftDiagonal Sets a new value for the most left diagonal.
setLeftDim0 Updates the start point of the seed.
setLeftDim1 Updates the start point of the seed.
setLeftPositionSets begin position of segment in a seed.
setMaximumDistanceSets the maximal distance between two seed during a chaining process.
setQualityValueSets the minimum length for a seed to be saved permanently.
setRightDiagonal Sets a new value for the most right diagonal.
setRightDim0 Updates the end point of the seed.
setRightDim1 Updates the end point of the seed.
setRightPositionSets end position of segment in a seed.
startDiagonal Returns the diagonal of the start point.
Sequences
assignValueByIdAdds a new string to the StringSet and returns an id.
concatReturns the concatenation sequence of all sequences in a StringSet.
getSeqNoReturns the sequence number of a position.
getSeqOffsetReturns the local sequence offset of a position.
getValueByIdRetrieves a string from the StringSet given an id.
idToPositionRetrieves the position of a string in the StringSet given an id.
posGlobalizeConverts a local/global to a global position.
posLocalToXConverts a local to a local/global position.
posLocalizeConverts a local/global to a local position.
positionToIdRetrieves the id of a string in the StringSet given a position.
removeValueByIdRemoves a string from the StringSet given an id.
stringSetLimitsRetrieves a string of delimiter positions of a StringSet which is needed for local<->global position conversions.
valueByIdRetrieves a string from the StringSet given an id.
sequences
atEndOfSequenceReturns true if the iterator is at the end of a sequence.
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2011/02/08 21:36:58