matchingSites             package:BCRANK             R Documentation

_R_e_p_o_r_t _I_U_P_A_C _c_o_n_s_e_n_s_u_s _o_c_c_u_r_r_e_n_c_e_s _i_n _a _f_a_s_t_a _f_i_l_e

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

     This function reports all occurrences of a consensus sequence in a
     fasta file. It can be used to extract transcription factor binding
     sites predicted by BCRANK or other motif search methods.

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

     matchingSites(fafile, motifSequence, revComp=TRUE, strip.desc=TRUE)

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

  fafile: a ranked fasta file containing DNA sequences.

motifSequence: a character vector in IUPAC coding representing a DNA
          sequence.

 revComp: set to TRUE if the reverse complement also be matched.

strip.desc: An argument used by the function 'readFASTA()'. It
          specifies whether or not the ">" marking at the beginning of
          description lines should be removed.

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

     Returns a data frame with positions, strand and DNA sequence for
     the matching sites.

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

     Adam Ameur, adam.ameur@lcb.uu.se

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

     Ameur, A., Rada-Iglesias, A., Komorowski, J., Wadelius, C. Novel
     algorithm and ChIP-analysis identifies candidate functional SNPs.
     Submitted

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

     'bcrank'

