Changes between Version 22 and Version 23 of SOPs/miningSAMBAM


Ignore:
Timestamp:
12/12/14 16:29:44 (10 years ago)
Author:
gbell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SOPs/miningSAMBAM

    v22 v23  
    1 == Summarizing, processing and quality control(QC) of SAM/BAM files ==
     1== SAM/BAM summarizing, processing and quality control(QC) ==
    22
    3 Many of these involve [http://samtools.sourceforge.net/samtools.shtml | samtools]
     3Many of these involve [http://samtools.sourceforge.net/samtools.shtml samtools]
    44
    55=== Convert, sort, and/or index ===
     
    3030/nfs/BaRC_Public/BaRC_code/Perl/SAM_to_BAM_sort_index/SAM_to_BAM_sort_index.pl
    3131}}}
     32
     33=== Differences between SAM and BAM files ===
     34
     35  * A BAM file is a binary version of a SAM file.
     36  * Both contain identical information about reads and their mapping.
     37  * A BAM file requires a header but a SAM file may not have one.  (Use 'samtools view -h reads.bam' to print the header with the mapped reads.)
     38  * Many operations (such as sorting and indexing) work only on BAM files.
     39  * For almost any application that requires SAM input, this can be created on the fly from a BAM file (using 'samtools view reads.bam |').
     40  * BAM files take up much less space than SAM files.
     41  * For archiving purposes, keep only the BAM file.  The SAM file can easily be regenerated (if ever needed).
    3242
    3343=== Modify a BAM file into another BAM file ===