Browse code

resolved roxygen issue with function having a lowercase equivalent

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@61241 bc3139a8-67e5-0310-9ffc-ced21a209358

Cory Barr authored on 10/12/2011 01:00:07
Showing 6 changed files

... ...
@@ -1,24 +1,23 @@
1 1
 Package: gmapR
2
-Type: Package
2
+Imports: Rsamtools (>= 1.7.4)
3
+Maintainer: <barr.cory@gene.com>
4
+License: Artistic-2.0
3 5
 Title: Provides convenience methods to work with GMAP and GSNAP from
4 6
     within R
5
-Maintainer: <barr.cory@gene.com>
7
+Type: Package
6 8
 Author: Cory Barr, Michael Lawrence
7 9
 Description: GSNAP and GMAP are a pair of tools to align short-read
8 10
     data written by Tom Wu.  This package provides convenience methods
9 11
     to work with GMAP and GSNAP from within R
10 12
 Version: 0.12.1
11
-Depends: R (>= 2.14.0), tools, BiocGenerics (>= 0.1.3), IRanges (>= 1.13.8),
12
-    rtracklayer (>= 1.15.3)
13
-Imports: Rsamtools (>= 1.7.4)
13
+Depends: R (>= 2.14.0), tools, BiocGenerics (>= 0.1.3), IRanges (>=
14
+    1.13.8), rtracklayer (>= 1.15.3)
14 15
 Suggests: RUnit
15
-License: Artistic-2.0
16
-Collate: 'atoiindex.R' 'buildGmapDb.R'
17
-    'buildGmapDbSNPIndex.R'
16
+Collate: 'atoiindex.R' 'buildGmapDb.R' 'buildGmapDbSNPIndex.R'
18 17
     'buildGmapIITFromFasta.R' 'buildGmapIndex.R'
19 18
     'buildGmapSpliceSites.R' 'buildGsnapSNPIIT.R'
20 19
     'buildRefseqSpliceSites.R' 'consolidateBAMFiles.R'
21 20
     'consolidateGmapFiles.R' 'consolidateGsnapFiles.R'
22 21
     'consolidateSAMFiles.R' 'exonsToGmapSpliceSites.R'
23
-    'getGsnapFileCounts.R' 'globals.R' 'gsnap.R' 'installGmap.R'
24
-    'parallelized_gsnap.R' 'test_gmapR_package.R' 'GsnapOutput-class.R' 
22
+    'getGsnapFileCounts.R' 'globals.R' 'GsnapOutput-class.R' 'gsnap.R'
23
+    'installGmap.R' 'parallelized_gsnap.R' 'test_gmapR_package.R'
... ...
@@ -1,12 +1,3 @@
1
-importFrom(tools, list_files_with_exts)
2
-import(BiocGenerics)
3
-importFrom(IRanges, isSingleString)
4
-importFrom(Rsamtools, bamPaths, path)
5
-
6
-export(GsnapOutput)
7
-exportClasses(GsnapOutput)
8
-exportMethods(bamPaths, path)
9
-
10 1
 export(buildGmapDbSNPIndex)
11 2
 export(buildGmapIITFromFasta)
12 3
 export(buildGmapIndex)
... ...
@@ -29,8 +29,8 @@ buildGmapIITFromFasta <- function(genome, fasta, gmap_data_dir=NULL) {
29 29
                        "-d",
30 30
                        genome)
31 31
   if(!is.null(gmap_data_dir))
32
-    sys_command <- paste(sys_command, paste("-D",
33
-                                            file.path(gmap_data_dir, genome)))
32
+    sys_command <- paste(sys_command,
33
+                         paste("-D", file.path(gmap_data_dir, genome)))
34 34
   sys_command <- paste(sys_command, fasta)
35 35
   system(sys_command)
36 36
   
... ...
@@ -56,7 +56,6 @@ parallelized_gsnap <- function(num_machines,
56 56
 
57 57
     ##library calls needed so slaves have access
58 58
     library("multicore")
59
-    library("HTSeqGenieBase")
60 59
     
61 60
     gsnap_parts <-
62 61
       (i - 1) * procs_per_machine + (seq_len(procs_per_machine) - 1)
... ...
@@ -3,7 +3,7 @@
3 3
 \title{Download and Integrate dbSNP into GMAP/GSNAP}
4 4
 \usage{buildGmapDbSNPIndex(version)}
5 5
 \description{Downloads a version of dbSNP and integrates it into an installation of GMAP/GSNAP for SNP-tolerant alignment}
6
-\details{.. content for details ..}
6
+\details{.. content for \details{} ..}
7 7
 \value{0}
8 8
 \author{Cory Barr}
9 9
 \arguments{\item{version}{version of dbSNP to obtain}}
10 10
similarity index 76%
11 11
rename from man/gsnapBuildRefseqSplicesites.Rd
12 12
rename to man/buildRefseqSpliceSites.Rd
... ...
@@ -1,7 +1,7 @@
1
-\name{gsnapBuildRefseqSplicesites}
2
-\alias{gsnapBuildRefseqSplicesites}
1
+\name{buildRefseqSpliceSites}
2
+\alias{buildRefseqSpliceSites}
3 3
 \title{Build RefSeq Splice Site IIT for gsnap}
4
-\usage{gsnapBuildRefseqSplicesites(genome)}
4
+\usage{buildRefseqSpliceSites(genome)}
5 5
 \description{add refSeq splice sites to gsnap}
6 6
 \details{downloads refSeq table from UCSC, parses out splice site donors
7 7
 and acceptors, creates IIT for gsnap, then copies IIT to genome's