Giter Club home page Giter Club logo

wf-vsnp's Introduction

vSNP3 Workflow

This Nextflow workflow is an implementation of vSNP3. See their GitHub repository for other uses that may not be implemented here.

workflow

A schematic of the steps in the workflow.


Requirements

  • Nextflow
  • Docker or Singularity

Install

git clone https://github.com/gregorysprenger/wf-vsnp.git

Run Workflow

Example data and dependencies are included in assets/test_data directory.

nextflow run \
-profile singularity main.nf \
--inpath assets/test_data \
--refpath assests/test_data/refs \
--vcfpath assets/test_data/vcf \
--outpath results

Test data is from USDA-VS / vsnp3_test_dataset.

# Obtain test data
git clone https://github.com/USDA-VS/vsnp3_test_dataset.git

# Move reference datafiles to assets/test_data/refs
mv vsnp3_test_dataset/vsnp_dependencies/Mycobacterium_AF2122/* wf-vsnp/assets/test_data/refs

# Move test files to assets/test_data
mv vsnp3_test_dataset/vsnp_dependencies/AF2122_test_files/step1/* wf-vsnp/assets/test_data

# Move VCF files to assets/test_data/vcf
mv vsnp3_test_dataset/vsnp_dependencies/AF2122_test_files/step2/* wf-vsnp/assets/test_data/vcf

For Aspen Cluster - Set up Singularity PATH

# Add to $HOME/.bashrc
SINGULARITY_BASE=/scicomp/scratch/$USER
export SINGULARITY_TMPDIR=$SINGULARITY_BASE/singularity.tmp
export SINGULARITY_CACHEDIR=$SINGULARITY_BASE/singularity.cache
export NXF_SINGULARITY_CACHEDIR=$SINGULARITY_BASE/singularity.cache
mkdir -pv $SINGULARITY_TMPDIR $SINGULARITY_CACHEDIR

Reload .bashrc

source ~/.bashrc

Load nextflow

module load nextflow

wf-vsnp's People

Contributors

gregorysprenger avatar

Watchers

 avatar

wf-vsnp's Issues

Identifying SNP groups

Current behavior

vSNP3 is not identifying the files in assets/test_data/refs and results in the following:

Defining SNPs: None
Metadata: None
Remove From Analysis: None
gbks: No gbk

Expected behavior

The following are identified (simplified format below):

Defining SNPs: assets/test_data/refs/*filter.xlsx
Metadata: assets/test_data/refs/*metadata.xlsx
Remove From Analysis: None
gbks: assets/test_data/refs/*.gbk

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.