\name{assemble} \alias{assemble} %\alias{abi.sys.ass} \title{Concatenates parts of a sequence} \description{ concatenates parts of a sequence (in any strand) and puts resulting sequence in destination sequence buffer. } \usage{ assemble(seqno=0, from=1, to=0, strand=getStrand(), destSeqno=1) %abi.sys.ass(lst,seqno=0,bufdest = 1) } \arguments{ \item{seqno}{Integer/scalar, Sequence number (buffer number)} \item{from,to}{Integer/vector, Absolute addresses of the begin and the end of the fragments, (1 means the first nucleotide and 0 conventionally the last one; from must not be larger than to)} \item{strand}{Integer/vector, Strand (forward: 0, reverse: 1)} \item{destSeqno}{Output sequence number} } \value{ destSeqno or -1 if error. } \author{L.Cottret } \seealso{\code{\link{getSeq}}, \code{\link{concat}} ,\code{\link{appendSeq}}} \keyword{utilities} \examples{ s<-"aaaacgtagctagctagctacccccctagctacgtagattttt" placeString(s) x<-c(1,21,39) y<-c(4,28,0) assemble(from=x,to=y) assemble(from=x,to=y,strand=c(0,1,0),destSeqno=2) getSeq(1) getSeq(2) }