Mercurial > repos > galaxyp > custom_pro_db
comparison customProDB.R @ 17:c429c2baecb8 draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 2174137cf8a15deefed5910ffa152c4ce9c81af6
author | galaxyp |
---|---|
date | Thu, 08 Jun 2017 11:05:47 -0400 |
parents | 87274e4ef662 |
children | 88e4cea5171e |
comparison
equal
deleted
inserted
replaced
16:7ec9a7cc4e64 | 17:c429c2baecb8 |
---|---|
98 bamLink = "input.bam" | 98 bamLink = "input.bam" |
99 file.symlink(bam_file, bamLink) | 99 file.symlink(bam_file, bamLink) |
100 file.symlink(bai_file, paste(bamLink, ".bai", sep="")) | 100 file.symlink(bai_file, paste(bamLink, ".bai", sep="")) |
101 | 101 |
102 # load customProDB from GitHub (NOTE: downloading the zip is faster than cloning the repo with git2r or devtools::install_github) | 102 # load customProDB from GitHub (NOTE: downloading the zip is faster than cloning the repo with git2r or devtools::install_github) |
103 download.file("https://github.com/chambm/customProDB/archive/master.zip", "customProDB.zip", quiet=TRUE) | 103 download.file("https://github.com/chambm/customProDB/archive/c57e5498392197bc598a18c26acb70d7530a921c.zip", "customProDB.zip", quiet=TRUE) |
104 unzip("customProDB.zip") | 104 unzip("customProDB.zip") |
105 devtools::load_all("customProDB-master") | 105 devtools::load_all("customProDB-c57e5498392197bc598a18c26acb70d7530a921c") |
106 | 106 |
107 easyRun(bamFile=bamLink, vcfFile=vcf_file, annotation_path=getwd(), | 107 easyRun(bamFile=bamLink, vcfFile=vcf_file, annotation_path=getwd(), |
108 rpkm_cutoff=rpkmCutoff, outfile_path=".", outfile_name="output", | 108 rpkm_cutoff=rpkmCutoff, outfile_path=".", outfile_name="output", |
109 nov_junction=FALSE, INDEL=outputIndels, | 109 nov_junction=FALSE, INDEL=outputIndels, |
110 lablersid=labelrsid, COSMIC=use_cosmic) | 110 lablersid=labelrsid, COSMIC=use_cosmic) |