Coder Social home page Coder Social logo

Comments (7)

drpatelh avatar drpatelh commented on May 30, 2024 1

Hi @AlastairKerr ! Thanks for running the pipeline. The process shouldnt need to try and install markdown because it will already be in the singularity image.

Can you send me the command you are using please? Im assuming you have singularity installed?

from chipseq.

drpatelh avatar drpatelh commented on May 30, 2024 1

Hmmm...markdown is definitely in the container. I can load it in R once in the image:
singularity shell nfcore-chipseq-1.0.0.img

I wonder if its got something to do with an R environment variable lying around thats over-riding the version in the image.

from chipseq.

drpatelh avatar drpatelh commented on May 30, 2024 1

Do any of these commands give you the same path as #<local path># in the above error trace? If so, it probably means that it needs to be unset.

R RHOME
echo $R_HOME
echo $PATH

from chipseq.

drpatelh avatar drpatelh commented on May 30, 2024

Its always worth trying to get the test profile running if this is the first time you are using an nf-core pipeline.

So assuming you have Nextflow and Singularity on your path you could try and run:
nextflow run nf-core/chipseq -profile test,singularity

If you have already pulled and converted the container, and have it locally you could run:
nextflow run nf-core/chipseq -profile test,singularity -with-singularity /path/to/nfcore-chipseq-1.0.0.img

from chipseq.

AlastairKerr avatar AlastairKerr commented on May 30, 2024

command I used :
nohup nextflow run nf-core/chipseq --design design.tsv --genome R64-1-1 -profile singularity &

nf-core was working and the image downloaded to my cache with no issues.

I've used the rnaseq pipeline in nf-core before with no errors.

Output using
nohup nextflow run nf-core/chipseq -profile test,singularity -with-singularity //nfcore-chipseq-1.0.0.img --design design.tsv --genome R64-1-1 &

I get the same error

  • markdown built with a different version,
  • attempting to download
  • make error (not found in path)

from chipseq.

AlastairKerr avatar AlastairKerr commented on May 30, 2024

Thanks, this has helped me track down the error.
.libPaths() was being set in my .Rprofile and being imported into the container. The libs in the container had less priority than the environment.

I'm not sure what would be the easiest solution. Maybe remove this file and try and set an environmental variable instead that I can unset in my nextflow.config.

from chipseq.

ewels avatar ewels commented on May 30, 2024

I've had similar issues in the past with conda inheriting environment variables from outside the container. It's not great! It would be ideal if there was a way to totally isolate the running environment from the host env vars... 🤔

from chipseq.

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.