Coder Social home page Coder Social logo

hivlab / ena-upload Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 219 KB

Snakemake workflow to upload Sars-Cov-2 reads to ENA

License: MIT License

Python 100.00%
snakemake-workflow sars-cov-2 korogeno-est covid-19-estonia snakemake snakefile upload ena

ena-upload's Introduction

DOI

ena-upload

Snakemake workflow to trim and upload Sars-Cov-2 reads to ENA. This workflow uses ena-upload-cli for upload and updated process_xlsx.py script for metadata table preparation from Galaxys ena_upload tool. Raw reads are adapter-trimmed using bbduk.sh tool and mapped to host/human reference genome using bbmap.sh.

Install

git clone https://github.com/avilab/ena-upload.git
cd ena-upload
conda env create -f workflow/envs/environment.yml

Running

Update files in config directory:

  • metadata.csv sample metadata (sample_name, collection_date, experiment id, runs/raw read file names)

  • pep.yaml peppy configuration file to provide full paths to raw reads.

  • config.yaml study wide configuration.

  • Check upload rule flags in Snakefile, by default, TEST submission (--dev flag in extra parameter) with 'add' action is performed.

  • Create .secret.yml file with Webin credentials.

  • Activate conda environment.

conda activate ena_upload
  • Test run:
snakemake -n --use-conda
  • Run:
snakemake -j --use-conda
  • Hold your breath.

Workflow graph

snakemake --dag -d .tests/ | dot -Tsvg > resources/rulegraph.svg

rulegraph

ena-upload's People

Contributors

tpall avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.