Dear all,
I have been running easyRNASeq to count reads for RNA-Seq samples. However I ran into an error with the latest easyRNASeq version. Here is the command I used:
fruMA_male_WCS_male_Unique.count.table <- easyRNASeq( filesDirectory = "./FruMA_Male_WCS_Male/tophat_BAM_files/", organism = "Dmelanogaster", readLength=100L, chr.sizes = "auto", annotationMethod = "gtf", annotationFile = "Drosophila_melanogaster.BDGP5.77.gtf", format = "bam", count = "genes", summarization = "geneModels", filenames = c( "accepted_hits_sorted_FruMA_M_1.bam", "accepted_hits_sorted_FruMA_M_2.bam", "accepted_hits_sorted_FruMA_M_3.bam", "accepted_hits_sorted_WCS_M_1.bam", "accepted_hits_sorted_WCS_M_2.bam", "accepted_hits_sorted_WCS_M_3.bam" ))
This read the annotation file properly, but ran into an issue with computing the gene models:
"
Checking arguments...
Fetching annotations...
Computing gene models...
Error in IRangesList(RL_list > 0) :
all elements in '...' must be IRanges objects"
The traceback() command retrieved the following messages:
5: stop("all elements in '...' must be IRanges objects")
4: IRangesList(RL_list > 0)
3: .geneModelAnnotation(genomicAnnotation(obj), nbCore)
2: easyRNASeq(filesDirectory = "./FruMA_Male_WCS_Male/tophat_BAM_files/",
organism = "Dmelanogaster", readLength = 100L, chr.sizes = "auto",
annotationMethod = "gtf", annotationFile = "Drosophila_melanogaster.BDGP5.77.gtf",
format = "bam", count = "genes", summarization = "geneModels",
filenames = c("accepted_hits_sorted_FruMA_M_1.bam", "accepted_hits_sorted_FruMA_M_2.bam",
"accepted_hits_sorted_FruMA_M_3.bam", "accepted_hits_sorted_WCS_M_1.bam",
"accepted_hits_sorted_WCS_M_2.bam", "accepted_hits_sorted_WCS_M_3.bam"))
1: easyRNASeq(filesDirectory = "./FruMA_Male_WCS_Male/tophat_BAM_files/",
organism = "Dmelanogaster", readLength = 100L, chr.sizes = "auto",
annotationMethod = "gtf", annotationFile = "Drosophila_melanogaster.BDGP5.77.gtf",
format = "bam", count = "genes", summarization = "geneModels",
filenames = c("accepted_hits_sorted_FruMA_M_1.bam", "accepted_hits_sorted_FruMA_M_2.bam",
"accepted_hits_sorted_FruMA_M_3.bam", "accepted_hits_sorted_WCS_M_1.bam",
"accepted_hits_sorted_WCS_M_2.bam", "accepted_hits_sorted_WCS_M_3.bam"))"
This very easyRNASeq command, though, runs on the older versions. Can you please help.
Thanking you.
Here is my R session info.
R version 3.2.0 (2015-04-16)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.2 LTS
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] stats graphics grDevices utils datasets methods base
other attached packages:
[1] easyRNASeq_2.4.0 locfit_1.5-9.1
loaded via a namespace (and not attached):
[1] genefilter_1.50.0 reshape2_1.4.1
[3] splines_3.2.0 lattice_0.20-31
[5] colorspace_1.2-6 stats4_3.2.0
[7] survival_2.38-1 XML_3.98-1.2
[9] foreign_0.8-63 DBI_0.3.1
[11] BiocParallel_1.2.2 BiocGenerics_0.14.0
[13] RColorBrewer_1.1-2 lambda.r_1.1.7
[15] plyr_1.8.2 stringr_1.0.0
[17] zlibbioc_1.14.0 Biostrings_2.36.1
[19] munsell_0.4.2 gtable_0.1.2
[21] futile.logger_1.4.1 hwriter_1.3.2
[23] DESeq2_1.8.1 latticeExtra_0.6-26
[25] Biobase_2.28.0 RcppArmadillo_0.5.200.1.0
[27] biomaRt_2.24.0 geneplotter_1.46.0
[29] IRanges_2.2.3 GenomeInfoDb_1.4.0
[31] parallel_3.2.0 AnnotationDbi_1.30.1
[33] proto_0.3-10 Rcpp_0.11.6
[35] edgeR_3.10.2 acepack_1.3-3.3
[37] xtable_1.7-4 scales_0.2.4
[39] limma_3.24.8 S4Vectors_0.6.0
[41] Hmisc_3.16-0 annotate_1.46.0
[43] XVector_0.8.0 ShortRead_1.26.0
[45] Rsamtools_1.20.4 gridExtra_0.9.1
[47] ggplot2_1.0.1 digest_0.6.8
[49] stringi_0.4-1 DESeq_1.20.0
[51] GenomicRanges_1.20.4 grid_3.2.0
[53] tools_3.2.0 bitops_1.0-6
[55] magrittr_1.5 RCurl_1.95-4.6
[57] LSD_3.0 RSQLite_1.0.0
[59] Formula_1.2-1 cluster_2.0.1
[61] futile.options_1.0.0 MASS_7.3-40
[63] rpart_4.1-9 intervals_0.15.0
[65] genomeIntervals_1.24.0 GenomicAlignments_1.4.1
[67] nnet_7.3-9