Changes between Version 43 and Version 44 of SOPs/atac_Seq


Ignore:
Timestamp:
06/01/21 13:18:59 (4 years ago)
Author:
byuan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SOPs/atac_Seq

    v43 v44  
    129129
    130130MACS v2 is applicable for ATAC-Seq using the appropriate options/parameters.
    131 {{{
    132   # Convert alignment bam file to bed
    133 
    134   # Shift reads: reads aligning to the + strand offset by +4 bp; reads aligning to the – strand offset −5 bp
    135 
    136   # Call peaks
    137   macs2 callpeak -t pe.bed -n foo.narrow -f BED -g ${species} -q 0.01 --nomodel --shift -75 --extsize 150 --call-summits --keep-dup all
    138 
    139 
    140 }}}
     131ENCODE pipeline macs2 code:
     132{{{
     133
     134  # Create virtual SE file containing both read pairs
     135  bedtools bamtobed -i filtered.bam | awk 'BEGIN{OFS="\t"}{$4="N";$5="1000";print $0}'| gzip -c > tagAlign.gz
     136
     137  # Call peaks: ENCODE using very small p-value, so it could get enough peaks for IDR
     138  macs2 callpeak -t tagAlign.gz -n foo.narrow -f BED -g ${species} -p 0.01 --nomodel --shift -75 --extsize 150 --call-summits --keep-dup all -B --SPMR --call-summits
     139
     140}}}
     141
     142MACS2 Commands used in ATAC-seq review paper:
     143{{{
     144    # convert bam to bed
     145    bedtools bamtobed -i $bam > ${name}_pe.bed
     146    macs2 callpeak -t ${name}_pe.bed -n ${name}_narrow -f BED -g ${species} -q 0.01 --nomodel --shift -75 --extsize 150 --call-summits --keep-dup all
     147 
     148}}}
     149
     150
     151
    141152
    142153