Code Monkey home page Code Monkey logo

Comments (5)

vyepez88 avatar vyepez88 commented on July 18, 2024

Hi, not sure, did the demo run through?
Also, it seems that 7 (either RNA-seq BAM or DNA VCF) files mentioned in your sample annotation do not exist.

from drop.

gaynora7 avatar gaynora7 commented on July 18, 2024

Demo ran fine! No issues there

Yes, I updated my sample annotation file to fix the "files missing in sample annotation" error. I still get the same error involving requirementsR.txt I gave in the original post.

I think it is related to this post: #510 (comment)

Someone proposed an ammendment to the installRPackages.R script. I tried changing the script with the proposed fix, but then I got this error:

check for missing R packages OSError in file /vcu_gpfs2/home/gaynora/DROP/udx_1015/Snakefile, line 13: [Errno 8] Exec format error: PosixPath('/vcu_gpfs2/home/gaynora/mambaforge/envs/drop_env_133/lib/python3.8/site-packages/drop/installRPackages.R') File "/vcu_gpfs2/home/gaynora/DROP/udx_1015/Snakefile", line 13, in File "/vcu_gpfs2/home/gaynora/mambaforge/envs/drop_env_133/lib/python3.8/site-packages/drop/setupDrop.py", line 40, in installRPackages File "/vcu_gpfs2/home/gaynora/mambaforge/envs/drop_env_133/lib/python3.8/subprocess.py", line 493, in run File "/vcu_gpfs2/home/gaynora/mambaforge/envs/drop_env_133/lib/python3.8/subprocess.py", line 858, in init File "/vcu_gpfs2/home/gaynora/mambaforge/envs/drop_env_133/lib/python3.8/subprocess.py", line 1720, in _execute_child

from drop.

AtaJadidAhari avatar AtaJadidAhari commented on July 18, 2024

Hi, can you please share your config file?
it seems like it passes the requirements.txt installation part and gets an error in packages related to your config at line 40 of setupDrop.py:

39: pkg_assembly_name = config.genome.getBSGenomeName()
40: response = subprocess.run(["Rscript", script, pkg_assembly_name], stderr=subprocess.STDOUT)

where it tries to install BSgenome based on your genome version, which I would assume it's hg38 since the demo ran through for you. Can you please install this package before running the pipeline using BiocManager::install("BSgenome.Hsapiens.UCSC.hg38") in your environment and rerun the pipeline?

from drop.

gaynora7 avatar gaynora7 commented on July 18, 2024

Hi,
Attached is my config file!
I installed BSgenome.Hsapiens.UCSC.hg38 in the environment, but I am still getting the same error.

Also of note- I get this error in my output file when I execute the snakemake job:
Error: unexpected ',' in:
"
if (!pckg_name %in% installed$Package || (!is.na(version) && compareVersion(installed[Package == pckg_name, Version]),"
Execution halted

Perhaps something is wrong with the syntax in the installRPackages.R script?

config_file.txt

from drop.

vyepez88 avatar vyepez88 commented on July 18, 2024

Hi @gaynora7 , can you please try with the latest version of DROP (1.4.0)?
We updated the installRpackages script.

from drop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.