8000 GitHub - ilevantis/snakestart: Set up a basic conda env with snakemake and a sensible directory structure
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ilevantis/snakestart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snakestart

A template + script to set up a basic conda env with snakemake and a sensible directory structure.

Install

Projects based on this template require a working install of miniconda and conda-env.

  1. Download this repo andcd into it
  2. cp snakestart.bash ~/bin/snakestart
  3. cp snakestart $XDG_CONFIG_HOME/

Use

Snakestart takes 1 argument: the name of the project. e.g. snakestart my_project

It will create a directory with the name of the project and the current date and create a conda environment with the project name. This conda environment includes snakemake, python3 and the bioconda and r channels.

The Snakefile contains some useful rules for updating defined dependencies when pushing to a remote git repo.

Example:

snakestart my_project
cd my_project_2016-08-15
git init && git add -A && git commit -m "first"
git remote add origin...
snakemake push

About

Set up a basic conda env with snakemake and a sensible directory structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0