indexFasta               package:GeneR               R Documentation

_I_n_d_e_x _f_i_l_e _c_r_e_a_t_i_o_n _f_o_r _a _s_e_q_u_e_n_c_e_s _b_a_n_k

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

     These functions create an index file for retrieving quickly a
     sequence into a fasta,  genbank or embl sequence bank file.

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

     indexFasta(file)
     indexEmbl(file,index="ix")
     indexGbk(file)

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

    file: String/scalar, File path and name of the sequences file

   index: String/scalar, Suffix for the index file

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

       1: Indexfile has been created

      -1: Error

_N_o_t_e:

     These functions create an index file even if it already exists.

     Access number larger than 40 characters are skipped (a warning is
     returned). This can be increasing with variable 'MAX_LEN_ACCNO' in
     file GeneR_globals.h (and rebuild GeneR library).

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

     Antoine Lucas

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

     'makeIndex'

