Giter Club home page Giter Club logo

Comments (5)

GunzIvan28 avatar GunzIvan28 commented on August 22, 2024

@c5creative,

Thanks for using the rMAP tool. We would suggest the following tips as workarounds for the issues you are experiencing:

  1. Since you are using a HPC, we assume most of the softwares were already pre-installed by the systems admin and may have varying versions from the packages that are used by rMAP. In that case, we advise you follow the installation instructions and compile the rMAP toolbox within its own environment with its own packages and dependencies to avoid conflicts with the snpeff tool present on your resident HPC.

  2. The "CONDA_PREFIX" is the right way to go and if you can find where to insert it within the file, it would be great. We had a user who had suggested that before sometime back within the issues as a way of catering for people who maybe running anaconda but we as the developers have not yet tested and found time to incorporate it yet as we are still fixed sorting some other issues. But we are going to put this into consideration and resolve it with the utmost urgency as soon as possible.

  3. At the moment, there is no way of skipping already finished computations within the pipeline except if I walk you through specific lines to hash/comment out. On the brighter side, we are implementing the pipeline within the nextflow engine which we will launch as version 2 to cater for the resume option and compatibility with HPC clusters.

Try this out and let me know how it goes. In case you need to run specific steps without resuming the whole run, I could share my mail and we possibly have a zoom where I can walk you through which parts to shut off in the main script.

Cheers,
Ivan

from rmap.

jpcartailler avatar jpcartailler commented on August 22, 2024

Hi Ivan,

Thanks for the very fast response!

  1. I installed rMAP on our HPC within our group environment in its own conda environment and was done so according to the installation procedure (rMAP-1.0-Linux-installer.yml, then setup.sh...). The rMAP installer installed: /private/conda/envs/rMAP-1.0/share/snpeff-5.0-1, not share/snpeff-4.5covid19-1/. Our cluster does not have any version of snpeff on path.

    And the rMAP-1.0-Linux-installer.yml requires snpeff=5.0... so I'm really unclear as to how the "Annotation of Variants" step is looking for share/snpeff-4.5covid19-1/. After another look, it appears that snpeff-4.5covid19-1 is a requirement for the rMAP-1.0-MacOs-installer.yml version.

  2. Thank you, happy to help beta-test...

  3. Great! Would welcome a Nextflow version!
    `

from rmap.

jpcartailler avatar jpcartailler commented on August 22, 2024

Found the issue- the rMAP shell script directly references the snpeff-4.5covid19-1:

rMAP/bin/rMAP

Lines 524 to 526 in b22bbd2

chmod 777 $HOME/miniconda3/envs/rMAP-1.0/share/snpeff-4.5covid19-1/snpEff.jar
chmod 777 $HOME/miniconda3/envs/rMAP-1.0/share/snpeff-4.5covid19-1/*
SNPEFF="$HOME/miniconda3/envs/rMAP-1.0/share/snpeff-4.5covid19-1"

from rmap.

GunzIvan28 avatar GunzIvan28 commented on August 22, 2024

@c5creative,
I have updated the main script with the version for snpeff-5.0-1 as picked by the .yml installer file. I have tested it and the annotation ran successfully.

Just for reference, update the lines in the main script as follows:

562 chmod 777 $HOME/miniconda3/envs/rMAP-1.0/share/snpeff-5.0-1/snpEff.jar
563 chmod 777 $HOME/miniconda3/envs/rMAP-1.0/share/snpeff-5.0-1/*
564  SNPEFF="$HOME/miniconda3/envs/rMAP-1.0/share/snpeff-5.0-1"

from rmap.

GunzIvan28 avatar GunzIvan28 commented on August 22, 2024

Thanks @c5creative for this input. We are implementing the changes as advised

from rmap.

Related Issues (12)

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.