Skip to content

Instantly share code, notes, and snippets.

@kkapuria3
Created June 29, 2018 15:01
Show Gist options
  • Save kkapuria3/7da716c545ea3d97ec7c5e8e9bf113de to your computer and use it in GitHub Desktop.
Save kkapuria3/7da716c545ea3d97ec7c5e8e9bf113de to your computer and use it in GitHub Desktop.
Run BWA mem to output BAM files
bwa mem -t 8 genome.fa reads.fastq | samtools sort -@ 8 -o output.bam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment