Changes between Version 24 and Version 25 of SOPs/miningSAMBAM


Ignore:
Timestamp:
12/18/14 15:52:12 (10 years ago)
Author:
byuan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SOPs/miningSAMBAM

    v24 v25  
    200200=== Split reads by pair ===
    201201{{{
    202 # input:        accepted_hits_posStrand.bam or accepted_hits_negStrand.bam
    203 # output:       1st pair: *_1stPair.bam
    204 #               2nd pair: *_2ndPair.bam
    205 bsub "samtools view -b -f 0x0040 accepted_hits_posStrand.bam > accepted_hits_posStrand_1stPair.bam"
    206 bsub "samtools view -b -F 0x0040 accepted_hits_posStrand.bam > accepted_hits_posStrand_2ndPair.bam"
    207 bsub "samtools view -b -f 0x0040 accepted_hits_negStrand.bam > accepted_hits_negStrand_1stPair.bam"
    208 bsub "samtools view -b -F 0x0040 accepted_hits_negStrand.bam > accepted_hits_negStrand_2ndPair.bam"
    209 }}}
     202# input:        accepted_hits.bam
     203# output:       1st pair: accepted_hits_1stPair.bam
     204#               2nd pair: accepted_hits_2ndPair.bam
     205bsub "samtools view -b -f 0x0040 accepted_hits.bam > accepted_hits_1stPair.bam"
     206bsub "samtools view -b -F 0x0040 accepted_hits.bam > accepted_hits_2ndPair.bam"
     207}}}