Hi All,
I'm wondering why the code below throws an error. I'm using R-devel (3.3.0) + BioC-devel. Is this a bug or did I miss something.
From the GenomicAlignments help:
## With a BamViews object:
fls <- system.file("extdata", "ex1.bam", package="Rsamtools",
mustWork=TRUE)
bv <- BamViews(fls,
bamSamples=DataFrame(info="test", row.names="ex1"),
auto.range=TRUE)
## Note that the "readGAlignments" method for BamViews objects
## requires the ShortRead package to be installed.
aln <- readGAlignments(bv)
Error in readGAlignments(bv) :
Assertion on 'more.args' failed: Vector must be named
> sessionInfo()
R Under development (unstable) (2015-07-07 r68639)
Platform: x86_64-unknown-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux Server release 6.6 (Santiago)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats4 parallel stats graphics grDevices utils datasets
[8] methods base
other attached packages:
[1] GenomicAlignments_1.5.11 Rsamtools_1.21.13
[3] Biostrings_2.37.2 XVector_0.9.1
[5] SummarizedExperiment_0.3.2 Biobase_2.29.1
[7] GenomicRanges_1.21.16 GenomeInfoDb_1.5.8
[9] IRanges_2.3.14 S4Vectors_0.7.10
[11] BiocGenerics_0.15.3 BatchJobs_1.6
[13] BiocParallel_1.3.34 BiocInstaller_1.19.8
loaded via a namespace (and not attached):
[1] magrittr_1.5 zlibbioc_1.15.0 brew_1.0-6
[4] sendmailR_1.2-1 stringr_1.0.0 tools_3.3.0
[7] fail_1.2 checkmate_1.6.0 DBI_0.3.1
[10] lambda.r_1.1.7 futile.logger_1.4.1 digest_0.6.8
[13] bitops_1.0-6 base64enc_0.1-2 futile.options_1.0.0
[16] RSQLite_1.0.0 stringi_0.5-5 BBmisc_1.9
regards,
Arne

Hmm, looks like you're using BatchJobsParam() ? Can you provide a little detail on what you've done before this?