Giter VIP home page Giter VIP logo

varfish-wf-queries's Introduction

VarFish Workflow: Mass Queries

This Snakemake-based workflow allows mass queries that even works with large VarFish projects.

Installing

As a prerequisite, install conda and mamba package. Activate conda.

$ mamba env create -n varfish-wf-queries --file environment.yaml
$ conda activte varfish-wf-queries

Configuring

First of all, ensure that ~/.varfishrc.toml is properly configured, e.g.

[global]
varfish_server_url = "https://varfish.example.com"
varfish_api_token = "1234567890123456789012345678901234567890123456789012345678901234"

Then, copy config/main.yml.example to config/main.yml. Adjust the settings:

  • varfish_shortcuts
    • query_presets - the query presets, chose one of de_novo, dominant, recessive, mitochondrial
  • varfish_projects list of
    • name - name of the project for folders
    • uuid - UUID of project in VarFish
  • genes - optional; list of gene symbols (or entrez/ensembl IDs) to restrict the search for - null for no restriction
  • max_cases - opional; number of cases to limit query to - null for no restriction

Running

# snakemake --configfile=config/main.yml --cores 10 -d workflow

Tricks

If anything gets stuck, use the following to for re-running queries:

$ for x in $(find workflow/translate-namse -name query.json); do y=${x/.json/_result.json}; test -e $y || rm -f $x; done

varfish-wf-queries's People

Contributors

holtgrewe avatar

Stargazers

Max Xiaohang Zhao avatar

Watchers

 avatar James Cloos avatar Oliver Stolpe avatar Mathias Kuhring avatar  avatar  avatar

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.