When running DEXSeqHTML, I got the following error:
Fatal error: An undefined error occured, please check your input carefully and contact your administrator.
converting counts to integer mode
Warning message:
In DESeqDataSet(rse, design, ignoreRank = TRUE) :
some variables in design formula are characters, converting to factors
using supplied model matrix
using supplied model matrix
using supplied model matrix
Error in getListElement(x, i, ...) :
GRanges objects don't support [[, as.list(), lapply(), or unlist() at
the moment
Calls: DEXSeqHTML ... tryCatch -> tryCatchList -> tryCatchOne ->
This was run using the Galaxy wrapper. However, the error appears to be coming from the DEXSeqHTML function and I can't quite tell where in that function it's failing. Another user on Biostars ran into the same error. Any help tracking down the source of the problme would be much appreciated.
Thanks for reporting this! I would need more information to track the source of the error. Could you include the complete code that you are using along with the output of sessionInfo()?
Not easily, as I said this is being run via the Galaxy wrapper. The command being executed is:
The
dexseq.R
script is part of the wrapper, but you can see the code on GitHub (linked). The portion of the script that runs theDEXSeqHTML
function is:It is using the Conda package
bioconductor-dexseq==1.24.0
for the dependencies, so creating a conda environment with that should reproduce the R environment. Let me know if that is helpful enough. If not, I can try to reproduce the error locally somehow.Lance, this "smells" like a version mismatch problem with the particular instance of R and Bioconductor packages (DEXSeq and its various dependencies) you are using. It's hard to say more or diagnose such things remotely. Can you do one (or both) of the following?
See also the posting guide.
I'm making progress in resolving the issue. It seems that moving to the bioconda package for 1.26.0 fixes the problem. However, I've realized that the python helper scripts aren't compatible with python3. It's a pretty minor change to fix them, and I'd be happy to submit a PR or patch. What is your preferred method for doing so? Is there a GitHub mirror?
Thanks Alejandro. I was able to work around the issue by updating the bioconductor package to
DEXSeq 1.26.0
. However, there are a couple of issues with the python scripts that I'd like to address.The biggest issue is on line 175 of
dexseq_count.py
there is a version test that fails for HTSEQ version0.11.0
. I suggest changing that toThe second issue is that the scripts aren't python3 compatible. That's not a showstopper, but does impose a requirement (python2) on the environment that DEXSeq is installed in.
I'd be more than happy to submit pull requests or patches for these, but I'm not sure how you would prefer that be done. Please let me know how you would prefer a patch/pr be submitted. Thanks!
Thanks for looking into this Lance!
Thanks for finding the fix for the python script. Could you submit a pull request with your for to this repo: https://github.com/areyesq89/DEXSeq ?