| 51 | |
| 52 | '''[http://bio-bwa.sourceforge.net/ bwa - Burrows-Wheeler Alignment Tool ]''' |
| 53 | |
| 54 | Bwa is a software package containing several related algorithms using the Burrows-Wheeler Transform. It works well even with indels, but not with spliced (RNA) reads. |
| 55 | |
| 56 | Sample commands for sort (<70 nt) reads: |
| 57 | {{{ |
| 58 | # Align single reads |
| 59 | bsub "bwa aln /nfs/genomes/mouse_gp_jul_07_no_random/bwa/mm9 Reads.fq > Mapped_reads.sai" |
| 60 | bsub "bwa samse /nfs/genomes/mouse_gp_jul_07_no_random/bwa/mm9 Mapped_reads.sai Reads.fq > Reads.bwa.sam" |
| 61 | # Align paired-end reads |
| 62 | bsub "bwa aln /nfs/genomes/mouse_gp_jul_07_no_random/bwa/mm9 Reads.1.fq > Mapped_reads.1.sai" |
| 63 | bsub "bwa aln /nfs/genomes/mouse_gp_jul_07_no_random/bwa/mm9 Reads.2.fq > Mapped_reads.2.sai" |
| 64 | bsub "bwa sampe /nfs/genomes/mouse_gp_jul_07_no_random/bwa/mm9 Mapped_reads.1.sai Mapped_reads.2.sai Reads.1.fq Reads.2.fq > Reads.bwa.sam" |
| 65 | }}} |
| 66 | |
| 67 | Sample commands for long (70 nt - 1M nt) reads: |
| 68 | {{{ |
| 69 | # Align single reads |
| 70 | bsub "bwa mem /nfs/genomes/mouse_gp_jul_07_no_random/bwa/mm9 Reads.fq > Mapped_reads.bwa.sam" |
| 71 | # Align paired-end reads |
| 72 | bsub "bwa mem /nfs/genomes/mouse_gp_jul_07_no_random/bwa/mm9 Reads.1.fq Reads.1.fq > Mapped_reads.bwa.sam" |
| 73 | }}} |