GithubHelp home page GithubHelp logo

christopherbarrington / distiller-nf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open2c/distiller-nf

0.0 0.0 0.0 1.28 MB

A modular Hi-C mapping pipeline

License: MIT License

Shell 5.03% Python 21.36% Groovy 67.19% Dockerfile 2.69% Nextflow 3.73%

distiller-nf's Introduction

distiller-nf

Build Status Join the chat at https://gitter.im/mirnylab/distiller DOI

A modular Hi-C mapping pipeline for reproducible data analysis.

The distiller pipeline aims to provide the following functionality:

  • Align the sequences of Hi-C molecules to the reference genome
  • Parse .sam alignment and form files with Hi-C pairs
  • Filter PCR duplicates
  • Aggregate pairs into binned matrices of Hi-C interactions

Installation

Requirements:

  • java 8
  • nextflow version 22.10.x or earlier
  • singularity or docker (the latter should be able to run w/o root privileges, tutorial)

To setup a new project, execute the following line in the project folder:

$ nextflow clone open2c/distiller-nf ./

This will download the distiller pipeline and the configuration files.

Then:

  • configure the location of the input files and other project details in project.yml
  • configure additional parameters in nextflow.config
  • use provided hardware configurations using local and cluster profiles, or provide your own using custom profile

Launch distiller depending on your usage scenario:

  1. default hardware settings ./configs/local.config with your project.yml:
$ nextflow run distiller.nf -params-file project.yml
  1. cluster hardware profile ./configs/cluster.config with your project.yml:
$ nextflow run distiller.nf -params-file project.yml -profile cluster
  1. custom hardware profile with your own configuration file and your project.yml:
$ nextflow run distiller.nf -params-file project.yml -profile custom --custom_config /full/path/to/your.config

Test example

In a new project folder, execute:

$ nextflow clone mirnylab/distiller-nf  ./
$ bash ./test/setup_test.sh
$ nextflow distiller.nf -params-file ./test/test_project.yml 

Nextflow and DSL version note

Distiller was originally designed for DSL1 syntax of nextflow. Nextflow stopped supporting DSL1 with 23.X.X update.

We recommend fixing the nextflow version:

conda install -c bioconda "nextflow==22.10"

Distiller has been recently re-implemented in DSL2: https://github.com/open2c/distiller-nf/tree/distiller_dsl2.

DSL2 version is still the beta version under testing.

distiller-nf's People

Contributors

golobor avatar sergpolly avatar gspracklin avatar nvictus avatar agalitsyna avatar molsim avatar phlya avatar pditommaso avatar azkalot1 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.