Giter Club home page Giter Club logo

bwamapping's Introduction

bwa aln pipeline

  • bwa mapping + dedup
  • bwa hybrid mapping + dedup + split
    The pipeline works for single references such as GRCh37 and GRCh38, as well as hybrid genomes (e.g. mm9+dm3).

dependencies

  • bwa
  • python 2.7
  • SJM (simple job manager)
  • bgzip and tabix 1.2.1
  • LSF batch system (or other)

set up module

export MODULEPATH=$MODULEPATH:/dir/to/bwamapping/modulefiles module load bwamapping

run module

run_bwa_aln.py -r1 ../fq/_R1.fastq -r2 ../fq/_R2.fastq -o b37.bam -O pwd --id NA12878 --pl ILN --sm NA12878 --lb GIAB --tmp /scratch_space -j b37.sjm

understand ID and SM in RG tag

ID:

  • ID is taged for each read in teh BAM
  • ID do not need to carry any meaning as it is used as uniq key.
  • Can be used to distinguish the reads from different experiments. for example if your initial sequencing does not have enough coverage, and a topoff was done to get more reads. ID could be "NA12878" and "NA12878-topoff" to distinguish every reads.

SM:

  • Every BAM is encouraged to have one SM tag, unless in rare scenario you need to merge numtiple samples together.
  • SM is used by GATK as sample name in variant call step (write to VCF file). if there are multiple SM tag in a BAM GATK HC caller (gvcf mode) would be confused.
  • SM can be identical to ID for one sample, one experiemnts cases.

SJM

https://github.com/StanfordBioinformatics/SJM

bwamapping's People

Contributors

iiiir avatar

Stargazers

Beisi Xu avatar

Watchers

 avatar

Forkers

johnbrookedev

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.