| Function assignSource Assigns the source to a new value. assignSource(object, source_in [, begin_pos, end_pos]) Parameters
object | An object. Types: Gaps
source_in | An object that is assigned to the source of object.
begin_pos | Position of the first item in the source that is used in object. (optional)
end_pos | Position behind the last item in the source that is used in object. (optional)
Remarks Note: source_in is not the new source of object, but source_in is assigned (copied) to source(object). That means that the current source of object is modified by this function. If you want object to drop its current source and take another object as source, use setSource instead. If no begin_pos and end_pos are specified, the whole source will be used. This function does not change whether object is dependent or not. The source of object must not be empty for executing this function. See Also assign, dependentSource, emptySource, moveSource, setSource, source SeqAn - Sequence Analysis Library - www.seqan.de