Here is how the data files contained in this package were produced:

1) Download all files from

    ftp://ftp.arabidopsis.org/home/tair/Sequences/whole_chromosomes/

          size filename
      -------- --------
        157066 ATH1_chloroplast.1con.01072002
      30939788 ATH1_chr1.1con.01222004
      20033797 ATH1_chr2.1con.01222004
      23862001 ATH1_chr3.1con.01222004
      18894808 ATH1_chr4.1con.01222004
      27442622 ATH1_chr5.1con.01222004
        373154 mitochondrial_genomic_sequence

   to a DOWNLOAD dir.
   They are all FASTA files with a single record and the following headers:
     ATH1_chloroplast.1con.01072002:
       >chloroplast
     ATH1_chr1.1con.01222004:
       >CHR1v01212004
     ATH1_chr2.1con.01222004:
       >CHR2v01212004
     ATH1_chr3.1con.01222004:
       >CHR3v01212004
     ATH1_chr4.1con.01222004:
       >CHR4v01212004
     ATH1_chr5.1con.01222004:
       >CHR5v01212004
     mitochondrial_genomic_sequence:
       >mitochondria366924 mitochondria CHROMOSOME dumped from ADB: Apr/22/05 13:31; last updated: 2005-04-05 366924 bp 

2) Rename the files:

     ATH1_chloroplast.1con.01072002 -> chloroplast.fa
     ATH1_chr1.1con.01222004 -> chr1.fa
     ATH1_chr2.1con.01222004 -> chr2.fa
     ATH1_chr3.1con.01222004 -> chr3.fa
     ATH1_chr4.1con.01222004 -> chr4.fa
     ATH1_chr5.1con.01222004 -> chr5.fa
     mitochondrial_genomic_sequence -> mitochondria.fa
     
3) Shell commands:

   R CMD INSTALL BSgenome.Athaliana.TAIR.01222004

4) R commands:

   library(BSgenome.Athaliana.TAIR.01222004)
   download_dir <- "<DOWNLOAD_DIR>"
   extdata_dir <- "<EXTDATA_DIR>"
   system.time({
       buildDataFiles(download_dir, extdata_dir, seqnames(Athaliana), "", ".fa")
   })

