Changes between Version 68 and Version 69 of SOPs/mapping
- Timestamp:
- 08/25/20 15:27:52 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SOPs/mapping
v68 v69 19 19 The [[http://bio-bwa.sourceforge.net/ | Burrows-Wheeler Alignment (BWA) tool]] 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. 20 20 21 ''Sample commands for short (up to 100 bp) reads:''21 ''Sample commands for short (up to 100 nt) reads:'' 22 22 {{{ 23 23 # Align single-end reads … … 32 32 Use "-n" option to change the maximum number of mismatches in the alignment. 33 33 34 ''Sample commands for long (70 bpor longer) reads:''34 ''Sample commands for long (70 nt or longer) reads:'' 35 35 {{{ 36 36 # Align single-end reads … … 38 38 # Align paired-end reads 39 39 bsub "bwa mem /nfs/genomes/sgd_2010/bwa/sacCer3.fa Reads.1.fq Reads.2.fq > Mapped_reads.bwa.sam" 40 }}} 41 42 And then convert the SAM to BAM, sort, and index. This BaRC script can to all three with one command. (Then the original SAM can be deleted.) 43 44 {{{ 45 /nfs/BaRC_Public/BaRC_code/Perl/SAM_to_BAM_sort_index/SAM_to_BAM_sort_index.pl input.sam 40 46 }}} 41 47