Giter VIP home page Giter VIP logo

an_wgs_script's Introduction

AN_WGS: The Anthony Nichols Snakemake Pipelines for Next Generation Sequencing Data

The Anthony Nichols Lab pipeline, including scripts to run WGS, WES, RNASeq, scRNAseq, and more

To run Compute Canada Niagara cluster, snakemake -s AN_WGS/Snakefile --cores 1 -j 40 --cluster "sbatch -N 1 -t 20:00:00 --ntasks 80 --output=logs/%x_%j.log" --ri

To Set Up Snakemake on ComputeCanada Niagara Cluster

First, get access to the Niagara cluster and also BBUFFER

Next, set up snakemake

module load python/3.8.5
cd ~
virtualenv create -n snakemake7.20.0
source ~/snakemake7.20.0/bin/activate
pip install pulp==2.7.0 snakemake==7.20.0 pandas

Copy the profile config files to your ~/.config/snakemake/ and make them executable with chmod +x

Set the following paths in your ~/.bashrc

export NXF_SINGULARITY_CACHEDIR=/path/to/singularity/cache
export AN_WGS_temp=$BBUFFER
export SNAKEMAKE_OUTPUT_CACHE=$SCRATCH/temp
export REF_DIR=/path/to/reference/directory 

Commands for individual pipelines could be found in commands.txt

using mergerfs to create pooled disk space

''' sudo mergerfs -o defaults,allow_other,use_ino,category.create=mfs,moveonenospc=true,minfreespace=1G /media/ionadmin/lab1:/media/ionadmin/lab2:/media/ionadmin/lab3:/media/ionadmin/lab4:/media/ionadmin/lab5:/media/ionadmin/lab6:/media/ionadmin/lab8:/media/ionadmin/lab9:/media/ionadmin/lab11:/media/ionadmin/lab13:/media/ionadmin/lab14:/media/ionadmin/lab15 /media/pool '''

an_wgs_script's People

Contributors

peter-yufan-zeng avatar

Stargazers

 avatar

Watchers

 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.