GithubHelp home page GithubHelp logo

uc-cdis / gen3-ncov Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nextstrain/ncov

0.0 2.0 1.0 29.21 MB

Nextstrain build for novel coronavirus SARS-CoV-2

Home Page: https://nextstrain.org/ncov

License: MIT License

Python 94.98% Shell 2.29% Perl 1.59% Dockerfile 0.22% WDL 0.92%

gen3-ncov's Introduction

GitHub release (latest by date) See recent changes

gen3-ncov

This repository is a forked repository of Nextstrain ncov. This repository contains a collection of tools to perform customized phylogenomic analysis on Illinois covid19 viral sequences hosted at Chicago land Pandemic Response Commons (PRC). The visualization of this workflow output can be deployed at PRC data commons using gen3-auspice

About nextstrain/ncov workflow

Detailed instruction about workflow setup, data preparation, customizing analysis, as well as results interpretation can be found HERE

Running gen3-ncov worklfow

Setup conda env

For faster installation, update Conda to the latest version and install Mamba.

conda update -n base conda
conda install -n base -c conda-forge manba

Create a virtual conda environment. The command below installs all the nexstrain tools as well as gen3-augur query tools

# change directory under gen3-ncov folder
cd gen3-ncov
mamba env create -n {env_name} -f ./environment.yml

Confirm that installation works

conda activate {env_name}
nextstrain check-setup --set-default

Edit file of set_env_var.sh and add the path of PRC credentials to the variable GEN3_API_KEY. The PRC credentials (json format) can be downloaded from the profile page after Login to PRC data commons. After saving the file, run the command line below.

source set_env_var.sh
# To confirm env variable
echo $GEN3_API_KEY
echo $project_id

Run analysis workflow

To get the phylogenetic tree including all Illinois covid19 strains hosted at PRC data commons. Simply run

bash build_il_siu_tree.sh
  • This bash script uses the profile of IL_SIU_tree under ./my_profiles folder
  • This script uses the gen3-client command-line tool to download object file from PRC commons. The tool included in this repo is compatible with linux system. To get the gen3-client for windows and OSX, visit cdis-data-client
  • This workflow performs the analysis with all IL covid19 strains submitted to PRC data commons without subsampling scheme.
  • To run a quicker analysis with subsampling scheme, run the command below after downloading step is done.
nextstrain build . --configfile my_profiles/IL_SIU_tree_subsampling/builds.yaml

gen3-ncov's People

Contributors

moirazuber avatar emmahodcroft avatar eharkins avatar huddlej avatar rneher avatar trvrb avatar cassiawag avatar jameshadfield avatar lmoncla avatar tsibley avatar miparedes avatar fzhang12 avatar saleha74 avatar falnaji avatar lxy0107 avatar aniafijarczyk avatar tomoyuki-nezu avatar nicfel avatar corneliusroemer avatar andersonbrito avatar astridgall avatar sidneymbell avatar qiongl-ctds avatar victorlin avatar chjulian avatar frogtraveler avatar vpuller avatar erenada avatar alvinxhan avatar irina95511 avatar

Watchers

James Cloos avatar  avatar

Forkers

renepollard

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.