# Variation-associated database construction
vcf <- system.file("extdata/sapFinder_test.vcf",
package="sapFinder")
annotation <- system.file("extdata/sapFinder_test_ensGene.txt",
package="sapFinder")
refseq <- system.file("extdata/sapFinder_test_ensGeneMrna.fa",
package="sapFinder")
xref <- system.file("extdata/sapFinder_test_BioMart.Xref.txt",
package="sapFinder")
outdir <- "db_dir"
prefix <- "sapFinder_test"
db.files <- dbCreator(vcf=vcf, annotation=annotation,
refseq=refseq, outdir=outdir,
prefix=prefix,xref=xref)
# MS/MS searching
mgf.path <- system.file("extdata/sapFinder_test.mgf",
package="sapFinder")
runTandem(spectra=mgf.path,fasta=db.files[1],
tol=10,tolu="ppm",itol=0.1,itolu="Daltons")
Run the code above in your browser using DataLab