Giter VIP home page Giter VIP logo

nf-tb's Introduction

nf-tb

ABMicroBioinf/nf-tb is a bioinformatics pipeline designed to analyze Mycobacterium tuberculosis genomes. It takes quality controlled reads and kraken2 output report as input. The pipeline aligns filtered MTBC reads to the H37Rv reference using bowtie2, BWA or minimap2 and then calls variants using bcftools. These variants are then compared to a drug-resistance database. The drug resistance classes and calls were done using tb-profiler. The pipeline also uses Snippy to do rapid SNP calling over the Mycobacterium tuberculosis whole genome. Snippy finds both substitutions (snps) and insertions/deletions (indels) over the whole genome.The identified variants were furthur filtered to exclude 1) the snps in PE/PPE, UVP, and repeat / insertion sequence sites; 2) the minimum alternate allele percentage to accept < 90.0; 3) the minimum read depth (coverage) < 30. The filtered vcf format snps are used to build phylogenetic trees.

Third-party software

This pipeline are depending on a number of the third-party software. Please install the following 3rd party dependencies and make sure they are on your system path

  • nextflow
  • seqtk
  • bwa
  • samtools
  • bcftools
  • snippy
  • tb-profiler
  • tb_variant_filter
  • vcf2phylip
  • RaxML

Quick Start

 nextflow -bg run /data/deve/workflows/nf-tb/main.nf --input_seq_dir ../nf-qc/outdir/qc/seqs --input_kraken2_dir ../nf-qc/outdir/classifier --outdir outdir --min_samples_locus 1 

nf-tb's People

Contributors

xiaoli-dong 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.