Giter VIP home page Giter VIP logo

cookiecutter-reproducible-ngs's Introduction

cookiecutter-reproducible-ngs

A cookiecutter template for reproducible research, tailored for use with next-generation sequencing projects

The template is loosely based on the project structure setup by drivendata.

Requirements to use the cookiecutter template:


  • Python 3.6, 3.7 or 3.8
  • Cookiecutter Python package >= 1.4.0: This can be installed with pip by or conda depending on how you manage your Python packages:
$ pip install cookiecutter

or

$ conda config --add channels conda-forge
$ conda install cookiecutter

To start a new project, run:


cookiecutter https://github.com/percyfal/cookiecutter-reproducible-ngs

The resulting directory structure


The directory structure of your new project looks like this:

project_name/                <- top-level project folder
│
├── AUTHORS.md               <- list of authors
├── Dockerfile               <- docker template
├── LICENSE
├── Makefile                 <- makefile with project management rules like `make clean` or `make docs`
├── README.md                <- Top-level README
├── Snakefile                <- Snakemake workflow manager top-level file. The `all` target should collect 
│                               all relevant output files and generate the final results and reports
│
├── config                   <- configuration directory for Snakemake and other things
│
├── data
│   ├── external             <- data from third party sources
│   ├── interim              <- Intermediate data that can be safely deleted
│   ├── metadata             <- metadata describing raw data files
│   ├── processed            <- Final processed data used for analyses
│   └── raw                  <- The original immutable data dump to be treated as read-only.
│
├── docs                     <- A default Sphinx project. See sphinx-doc.org for details.
│
├── environment.yml          <- Conda environment file
│
├── logs                     <- Collection of log outputs, e.g. from cluster managers
│
├── notebooks                <- Jupyter, Rmarkdown and other notebooks.
│
├── opt                      <- for installation of add-on application software packages
│                               via package managers such as conda or pip
│                               (see File System Hierarchy standard, http://www.pathname.com/fhs/pub/fhs-2.3.html)
│
├── references               <- Literature, manuals and other references
│
├── reports                  <- Generated analyses and articles as html, pdf and more.
│   └── figures              <- Graphics for use in reports.
│
├── results                  <- Final results for sharing with collaborators, typically derived 
│                               or copied from data/processed
│
└── src                      <- Project source code
    ├── R                    <- R sources
	├── scripts              <- shell scripts
    ├── snakemake            <- snakemake workflow files
    └── python_module        <- Python module directory, by default named by the project

Installing development requirements


pip install -r requirements.txt

cookiecutter-reproducible-ngs's People

Contributors

percyfal avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

fellen31

cookiecutter-reproducible-ngs's Issues

Add scripts directory

Add src/scripts for shell scripts. Ideally, this should be prepended to path via .envrc.

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.