Concat                 package:GeneR                 R Documentation

_C_o_n_c_a_t_e_n_a_t_e _t_w_o _s_e_q_u_e_n_c_e_s _i_n_t_o _a _t_h_i_r_d _o_n_e

_D_e_s_c_r_i_p_t_i_o_n:

     Concatenate part of a sequence with part of another one into a
     third one.

_U_s_a_g_e:

     concat(seq.one=0, seq.two=1, seq.dest=2, from1=1, to1=0, strand1=0,
     from2=1, to2=0, strand2=0)

_A_r_g_u_m_e_n_t_s:

 seq.one: Integer. First sequence number (bufseq)

 seq.two: Integer. Second sequence number (bufseq)

seq.dest: Integer. Output sequence number (bufseq)

 strand1: Strand for first  sequence 0 -> strand sens, 1 -> strand
          anti-sens.

from1,to1: Begining and ending of first sequence, can be vectors. 0
          represent the last nucleotide and 1 the first one. 

from2,to2: Begining and ending of second sequence, can be vectors. 0
          represent the last nucleotide and 1 the first one. 

 strand2: Strand for 2nd  sequence 0 -> strand sens, 1 -> strand
          anti-sens.

_V_a_l_u_e:

     seq.dest or -1 if error.

_A_u_t_h_o_r(_s):

     L.Cottret

_S_e_e _A_l_s_o:

     'assemble', 'multiExtract'

_E_x_a_m_p_l_e_s:

     s1<- "aaacgctagcgcg"
     placeString(s1)
     s2<-"ttttctatcag"
     placeString(s2,1)
     concat(seq.one=0,seq.two=1, from1=2,to1=3,from2=8,to2=0, strand1=1)
     getSeq(2)
     #[1] "TTTCAG"
       

