Giter VIP home page Giter VIP logo

ena_rnaseq_quantification's Introduction

ENA (European Nucleotide Archive) RNAseq Quantification Pipeline

Given a BioProject ID, download and quantify all FASTQ files using Salmon for analysis.

Background

I created this pipeline so that I could easily download and quantify transcriptomic data from the ENA. One of the annoying things I ran into when doing this manually was storage where for a given project you could have to download > 200Gb of files. To deal with this, I set up the logic so that it would download a pair of files at a time, process them, then delete the files before moving on, thereby reducing the overall amount of storage needed at any given time.

Requirements & Setup

Set up a conda environment and install dependencies

conda config --add channels conda-forge --add channels bioconda
conda create -n salmon python=3.10 salmon
conda activate salmon
pip install requests pandas tqdm

Download human transcriptome reference file

wget ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_39/gencode.v39.transcripts.fa.gz

Build index with salmon

salmon index -t gencode.v39.transcripts.fa.gz --gencode -i gencode_index

Usage

Given some BioProject IDs (ie: PRJNA494155, PRJNA494156, PRJNA494157), run the following python script while in the conda environment. Can handle any number of project IDs to queue up.

run_pipeline.py PRJNA494155 PRJNA494156 PRJNA494157

ena_rnaseq_quantification's People

Contributors

hansen-han 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.