Giter Site home page Giter Site logo

fastq2bam's Introduction

Snakemake workflow: fastq2bam

Snakemake

A Snakemake workflow for Processing Illumina raw short read data and mapping to a reference genome.

It trims the reads using fastp v0.23.2 (Chen, 2023) and checks the filtered reads with FastQC. Then, it independently maps the filtered reads (paired and colapsed) using BWA mem v0.7.17 (Li and Durbin, 2009). Next, it merges these BAM files (from the same sample and across multiple lanes), removes duplicates, and indexes them using Sambamba v0.6.6 (Tarasov et al., 2015). After that, it applies quality and region filtering using SAMtools v1.5 (Danecek et al., 2021). It checks the mapping status at each step using SAMtools flagstat, deepTools v2.5.7 (Ramírez et al., 2016), and Qualimap v2.2.2a (Okonechnikov et al., 2016).

Usage

1 - Modify the config.yaml file properlly with your files and parameters.

1a - You can use the script creatingYamlRawFastq.py to assist you in creating the config.yaml for several input samples.

2 - The simplest way of running is snakemake --snakefile workflow/Snakefile --use-conda --cores 8.

2a - For testing, you can use the example files by running snakemake -d example/ --snakefile workflow/Snakefile --use-conda --cores 8.

If you use this workflow in a paper, don't forget to give credits to the authors by citing the URL of this (original) repository.

fastq2bam's People

Contributors

ffertrindade avatar

Stargazers

 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.