## Not run:
# # Using FASTA files in this package.
# # We need to uncompress them first...
# extdata.path <- file.path(path.package("micropan"),"extdata")
# filenames <- c("Mpneumoniae_M129_GID1.fsa",
# "Mpneumoniae_309_GID2.fsa",
# "Mpneumoniae_FH_GID3.fsa")
# pth <- lapply( file.path( extdata.path, paste( filenames, ".xz", sep="" ) ), xzuncompress )
#
# #...blasting, assuming the BLAST+ software is properly installed
# # NB! This will take some minute(s)!
# blastAllAll(in.files=file.path(extdata.path,filenames),out.folder=".")
#
# # ...and compressing them again...
# pth <- lapply( file.path( extdata.path, filenames ), xzcompress )
# ## End(Not run)
Run the code above in your browser using DataLab