Code Monkey home page Code Monkey logo

pandora_workflow's Introduction

Pandora workflow

Snakemake pipeline to run pandora with and without denovo enabled.

The version used in the pandora paper review has tag pandora_paper_update_31_03_2021.

The version used in the pandora paper submission has tag pandora_paper_tag1.

Running

Requirements

Dependencies

  • python 3.6+;
  • singularity 2.4.1+;

Setting up virtualenv

./setup.sh

Running on the sample example:

  1. Download sample data (TODO: add link);
  2. unzip sample_data.zip
  3. source venv/bin/activate
  4. bash scripts/run_pipeline_local.sh -j8

Running on the paper data:

  1. git checkout pandora_paper_tag1
  2. source venv/bin/activate

If you want to run local:

  1. bash scripts/run_pipeline_local.sh -j <NB_OF_THREADS> --configfile config.pandora_paper_tag1.yaml

If you want to run on an LSF cluster:

  1. bash scripts/submit_lsf.sh --configfile config.pandora_paper_tag1.yaml

Troubleshooting

If you get this error:

Building DAG of jobs...
Pulling singularity image docker://leandroishilima/subsampler:pandora_paper_tag1.
WorkflowError:
Failed to pull singularity image from docker://leandroishilima/subsampler:pandora_paper_tag1:
WARNING: pull for Docker Hub is not guaranteed to produce the
WARNING: same image on repeated pull. Use Singularity Registry
WARNING: (shub://) to pull exactly equivalent images.
ERROR: Image file exists, not overwriting.

  File "/hps/nobackup2/iqbal/leandro/pandora_paper_tag1/subsampler/venv/lib/python3.7/site-packages/snakemake/deployment/singularity.py", line 88, in pull

pass to the running script the default location where singularity images are store. For example, in the EBI cluster, it would be --singularity-prefix /nfs/leia/singularity/leandro/.

pandora_workflow's People

Contributors

dependabot[bot] avatar leoisl avatar mbhall88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pandora_workflow's Issues

Original PRG and new PRG dont have the same number of entries

Hello,

Thank you for your wonderful tool. I have been testing it out and I am getting an error at this step:

assert prgs_in_original == prgs_in_new, f"Original PRG ({prgs_in_original}) and new PRG ({prgs_in_new}) dont have the same number of entries!"

I looked the prgs_run_status folder and don't see any issues. I am not sure why I have fewer PRGs in the new (2454) compared to the original (3804). I would appreciate your guidance on this matter.

Best wishes,
Sara

Will sample data be added?

It says in the README Download sample data (TODO: add link);
Is there a link to the sample data?
Thank you,

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.