git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@113044 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -9,12 +9,13 @@ Description: GSNAP and GMAP are a pair of tools to align short-read |
9 | 9 |
methods to work with GMAP and GSNAP from within R. In addition, |
10 | 10 |
it provides methods to tally alignment results on a |
11 | 11 |
per-nucleotide basis using the bam_tally tool. |
12 |
-Version: 1.13.8 |
|
12 |
+Version: 1.13.9 |
|
13 | 13 |
Depends: R (>= 2.15.0), methods, GenomeInfoDb (>= 1.1.3), |
14 | 14 |
GenomicRanges (>= 1.17.12) |
15 |
-Imports: S4Vectors, IRanges, Rsamtools (>= 1.17.8), rtracklayer (>= 1.31.2), |
|
16 |
- GenomicFeatures (>= 1.17.13), Biostrings, VariantAnnotation (>= 1.11.4), |
|
17 |
- tools, Biobase, BSgenome, GenomicAlignments (>= 1.1.9), BiocParallel |
|
15 |
+Imports: S4Vectors (>= 0.9.25), IRanges, Rsamtools (>= 1.17.8), |
|
16 |
+ rtracklayer (>= 1.31.2), GenomicFeatures (>= 1.17.13), Biostrings, |
|
17 |
+ VariantAnnotation (>= 1.11.4), tools, Biobase, BSgenome, |
|
18 |
+ GenomicAlignments (>= 1.1.9), BiocParallel |
|
18 | 19 |
Suggests: RUnit, BSgenome.Dmelanogaster.UCSC.dm3, |
19 | 20 |
BSgenome.Scerevisiae.UCSC.sacCer3, org.Hs.eg.db, |
20 | 21 |
TxDb.Hsapiens.UCSC.hg19.knownGene, BSgenome.Hsapiens.UCSC.hg19, |
... | ... |
@@ -31,7 +31,7 @@ setReplaceMethod("snps", c("GmapSnpDirectory", "character", "VCF"), |
31 | 31 |
iitFile <- file.path(iitPath, paste(name, "iit", sep = ".")) |
32 | 32 |
alt <- values(gr)$ALT |
33 | 33 |
if (is(alt, "List")) { |
34 |
- gr <- rep(gr, elementLengths(alt)) |
|
34 |
+ gr <- rep(gr, elementNROWS(alt)) |
|
35 | 35 |
alt <- unlist(alt) |
36 | 36 |
} |
37 | 37 |
ref <- values(gr)$REF |