Browse code

clip_overlaps should be clip_overlap

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

Michael Lawrence authored on 12/02/2014 17:13:58
Showing 3 changed files

... ...
@@ -10,7 +10,7 @@ Description: GSNAP and GMAP are a pair of tools to align short-read
10 10
     to work with GMAP and GSNAP from within R. In addition, it provides 
11 11
     methods to tally alignment results on a per-nucleotide basis using 
12 12
     the bam_tally tool.
13
-Version: 1.5.6
13
+Version: 1.5.7
14 14
 Depends: R (>= 2.15.0), methods, GenomicRanges
15 15
 Imports: IRanges, Rsamtools (>= 1.7.4), rtracklayer (>= 1.17.15),
16 16
          GenomicFeatures, Biostrings, VariantAnnotation (>= 1.9.4), tools,
... ...
@@ -28,7 +28,7 @@ setClass("GsnapParam",
28 28
                         split_output = "logical",
29 29
                         terminal_threshold = "integer",
30 30
                         gmap_mode = "character",
31
-                        clip_overlaps = "logical",
31
+                        clip_overlap = "logical",
32 32
                         extra = "list"))
33 33
 
34 34
 ### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
... ...
@@ -160,7 +160,7 @@ GsnapParam <- function(genome, unique_only = FALSE, molecule = c("RNA", "DNA"),
160 160
                        terminal_threshold = if (molecule == "DNA") 1000L else 2L,
161 161
                        gmap_mode = if (molecule == "DNA") "none" else
162 162
                        "pairsearch,terminal,improve",
163
-                       clip_overlaps = FALSE, ...)
163
+                       clip_overlap = FALSE, ...)
164 164
 {
165 165
   if (missing(genome))
166 166
     stop("The 'genome' must be specified (should be coercible to GmapGenome)")
... ...
@@ -215,7 +215,7 @@ gsnapParam <- GsnapParam(genome=gmapGenome,
215 215
                          splicing="knownGene",
216 216
                          indel_penalty=1L,
217 217
                          distant_splice_penalty=1L,
218
-                         clip_overlaps=TRUE)
218
+                         clip_overlap=TRUE)
219 219
 @ 
220 220
 
221 221
 Now we are ready to align.