Skip to content

Sunbeam extension for assigning metagenomic reads to a full bacterial phylogeny

Notifications You must be signed in to change notification settings

sunbeam-labs/sbx_shotgun_unifrac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbx_shotgun_unifrac

Tests DockerHub

Introduction

sbx_shotgun_unifrac is a sunbeam extension for assigning shotgun reads to a bacterial tree of life and performing population statistics like UniFrac. This pipeline uses bwa for initial alignment steps and QIIME2 with the GreenGenes plugin for the reference phylogeny and performing the core methods.

Installation

Extension install is as simple as passing the extension's URL on GitHub to sunbeam extend:

sunbeam extend https://github.com/sunbeam-labs/sbx_shotgun_unifrac

Any user-modifiable parameters specified in config.yml are automatically added on sunbeam init. If you're installing an extension in a project where you already have a config file, run the following to add the options for your newly added extension to your config (the -i flag means in-place config file modification; remove the -i flag to see the new config in stdout):

sunbeam config update -i /path/to/project/sunbeam_config.yml

Installation instructions for older versions of Sunbeam are included at the end of this README.

Running

To run an extension, simply run Sunbeam as usual with your extension's target rule specified:

sunbeam run --profile /path/to/project/ all_shotgun_unifrac

Options for config.yml

  • threads: Number of threads to use with bwa
  • green_genes_fp: Directory with all GreenGenes reference files
  • green_genes_version: Version of the GreenGenes db (E.g. "2024.09")

Installing an extension (legacy instructions for sunbeam <3.0)

Installing an extension is as simple as cloning (or moving) your extension directory into the sunbeam/extensions/ folder, installing requirements through Conda, and adding the new options to your existing configuration file:

git clone https://github.com/sunbeam-labs/sbx_shotgun_unifrac/ sunbeam/extensions/sbx_shotgun_unifrac
cat sunbeam/extensions/sbx_shotgun_unifrac/config.yml >> sunbeam_config.yml

Issues with pipeline

Please post any issues with this extension here.

About

Sunbeam extension for assigning metagenomic reads to a full bacterial phylogeny

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published