man/GmapSnps-class.Rd
b22faf0d
 \name{GmapSnps-class}
 \Rdversion{1.1}
 \docType{class}
 \alias{GmapSnps-class}
 \alias{directory,GmapSnps-method}
0a4b811e
 \alias{GmapSnps}
b22faf0d
 
 \title{Class \code{"GmapSnps"}}
 \description{
   This class represents a set of SNPs (single nucleotide polymorphisms)
   for use with GMAP and GSNAP (typically for SNP-tolerant alignment.)
 }
 \section{Objects from the Class}{
   ##TODO: doc these args
 Objects can be created by calls of the form \code{GmapSnps(snps,
   directory, name, create)}.
 }
0a4b811e
 
 \usage{GmapSnps(snps, directory, name = snps, create = FALSE, ...)}
 
 \arguments{
   \item{snps}{A path to a VCF file}
   \item{directory}{The directory to create the IIT files used by GMAP
   and GSNAP}
   \item{name}{If provided, the name to give the database of SNPs. If not
   provided, defauts to the \code{snps} argument.}
   \item{create}{If the directory provided in the \code{directory}
15766c62
     argument does not exist, create it.}
   \item{...}{Additional arguments to be passed to the SNPs
     replacement method.}
 }
0a4b811e
   
 \section{Accessors}{
     \describe{
       \item{}{\code{name(x)}: returns the name of the \code{GmapSnps} object}
       \item{}{\code{directory(x)}: returns the \code{GmapGenomeDirectory}
 	that is the parent of the directory containing the index files for
 	this \code{GmapSnps} object.}
     }
 }
15766c62
  
b22faf0d
 \section{Methods}{
   \describe{
     \item{directory}{\code{signature(x = "GmapSnps")}: ... }
   }
 }
 \author{
   Michael Lawrence
 }
 \keyword{classes}