Btaurus    package:BSgenome.Btaurus.UCSC.bosTau3    R Documentation

_B_o_s _t_a_u_r_u_s (_C_o_w) _f_u_l_l _g_e_n_o_m_e (_U_C_S_C _v_e_r_s_i_o_n _b_o_s_T_a_u_3)

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

     Bos taurus (Cow) full genome as provided by UCSC (bosTau3, Aug.
     2006) and stored in Biostrings objects.

_N_o_t_e:

     This BSgenome data package was made from the following source data
     files:


     sequences: all the *.fa.gz files from
     http://hgdownload.cse.ucsc.edu/goldenPath/bosTau3/chromosomes/
     AGAPS masks:
     http://hgdownload.cse.ucsc.edu/goldenPath/bosTau3/database/gap.txt.gz
     RM masks:
     http://hgdownload.cse.ucsc.edu/goldenPath/bosTau3/bigZips/bosTau3.fa.out.gz
     TRF masks:
     http://hgdownload.cse.ucsc.edu/goldenPath/bosTau3/bigZips/bosTau3.trf.bed.gz

     See '?BSgenomeForge' and the BSgenomeForge vignette
     ('vignette("BSgenomeForge")') in the BSgenome software package for
     how to make a BSgenome data package.

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

     H. Pages

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

     BSgenome-class, DNAString-class, 'available.genomes',
     BSgenomeForge

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

     Btaurus
     seqlengths(Btaurus)
     Btaurus$chr1  # same as Btaurus[["chr1"]]

     if ("AGAPS" %in% masknames(Btaurus)) {

       ## Check that the assembly gaps contain only Ns:
       checkOnlyNsInGaps <- function(seq)
       {
         ## Replace all masks by the inverted AGAPS mask
         masks(seq) <- gaps(masks(seq)["AGAPS"])
         unique_letters <- uniqueLetters(seq)
         if (any(unique_letters != "N"))
             stop("assembly gaps contain more than just Ns")
       }

       ## A message will be printed each time a sequence is removed
       ## from the cache:
       options(verbose=TRUE)

       for (seqname in seqnames(Btaurus)) {
         cat("Checking sequence", seqname, "... ")
         seq <- Btaurus[[seqname]]
         checkOnlyNsInGaps(seq)
         cat("OK\n")
       }
     }

     ## See the GenomeSearching vignette in the BSgenome software
     ## package for some examples of genome-wide motif searching using
     ## Biostrings and the BSgenome data packages:
     if (interactive())
         vignette("GenomeSearching", package="BSgenome")

