git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@74113 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -2,7 +2,7 @@ test_GsnapParam_constructor <- function() { |
2 | 2 |
|
3 | 3 |
fa <- system.file("extdata/hg19.p53.fasta", package="gmapR", mustWork=TRUE) |
4 | 4 |
fastaFile <- rtracklayer::FastaFile(fa) |
5 |
- gmapGenome <- GmapGenome(fastaFile, create=TRUE) |
|
5 |
+ gmapGenome <- GmapGenome(fastaFile, create=TRUE, k = 12) |
|
6 | 6 |
|
7 | 7 |
gsnapParam <- GsnapParam(genome = gmapGenome, |
8 | 8 |
unique_only = FALSE, |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@68746 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,17 @@ |
1 |
+test_GsnapParam_constructor <- function() { |
|
2 |
+ |
|
3 |
+ fa <- system.file("extdata/hg19.p53.fasta", package="gmapR", mustWork=TRUE) |
|
4 |
+ fastaFile <- rtracklayer::FastaFile(fa) |
|
5 |
+ gmapGenome <- GmapGenome(fastaFile, create=TRUE) |
|
6 |
+ |
|
7 |
+ gsnapParam <- GsnapParam(genome = gmapGenome, |
|
8 |
+ unique_only = FALSE, |
|
9 |
+ max_mismatches = NULL, |
|
10 |
+ suboptimal_levels = 0L, mode = "standard", |
|
11 |
+ npaths = 10L, |
|
12 |
+ novelsplicing = FALSE, splicing = NULL, |
|
13 |
+ nthreads = 1L, |
|
14 |
+ batch = "2") |
|
15 |
+ |
|
16 |
+ checkTrue(is(gsnapParam, "GsnapParam")) |
|
17 |
+} |