needwunsQS            package:Biostrings            R Documentation

_q_u_a_d_r_a_t_i_c-_s_p_a_c_e, _s_i_m_p_l_e _g_a_p _i_m_p_l_e_m_e_n_t_a_t_i_o_n _o_f _N_e_e_d_l_e_m_a_n-_W_u_n_s_c_h
_g_l_o_b_a_l _a_l_i_g_n_m_e_n_t _a_l_g_o_r_i_t_h_m

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

     quadratic-space, simple gap implementation of Needleman-Wunsch
     global alignment algorithm

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

     needwunsQS(s1, s2, substmat, gappen=8)

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

      s1: s1: first string, an R character vector of length 1 or a
          BString instance

      s2: s2: second string, same data type as 's1'

substmat: substmat: matrix of alignment score values

  gappen: gappen: penalty for introducing a gap in the alignment

_D_e_t_a_i_l_s:

     follows specification of Durbin, Eddy, Krogh, Mitchison (1998).

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

     an instance of the S3 class ``needwunsQS'', for which there are
     print and alignScore methods.

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

     Vince Carey <stvjc@channing.harvard.edu>

_R_e_f_e_r_e_n_c_e_s:

     R. Durbin, S. Eddy, A. Krogh, G. Mitchison,  Biological Sequence
     Analysis, Cambridge UP 1998, sec 2.3.

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

     data(blosum50)
     needwunsQS( "PAWHEAE", "HEAGAWGHEE", blosum50 )

