-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathBamCoverageDeeptools.sh
More file actions
31 lines (19 loc) · 1.14 KB
/
BamCoverageDeeptools.sh
File metadata and controls
31 lines (19 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
#
#SBATCH -c 20
#SBATCH --mem-per-cpu=4000
#SBATCH --job-name=BamCov
#SBATCH --output=BamCovDeeptools.out
#SBATCH --time=10:00:00
#######################################################################################
#fastqc and then combine reports into one html and save to outputs folder
#effective genome size is set for mappable part of mm10
#bamCoverage --bam aligned/SRR6326792_dedup.bam -o BigWigs/SRR6326792.bw --ignoreDuplicates --binSize 10 --effectiveGenomeSize 2652783500 --ignoreForNormalization chrM chrX chrY --extendReads -p 20 --centerReads --minFragmentLength 0 --maxFragmentLength 150 --blackListFileName $BL/mm10.blacklist.bed
#######################################################################################
mkdir BigWigs
for sample in `cat SRR_Acc_List.txt`
do
echo ${sample} "starting"
bamCoverage --bam aligned/${sample}_dedup.bam -o BigWigs/${sample}.bw --ignoreDuplicates --binSize 10 --effectiveGenomeSize 2652783500 --ignoreForNormalization chrM chrX chrY --extendReads -p 20 --centerReads --minFragmentLength 0 --maxFragmentLength 150 --blackListFileName $BL/mm10.blacklist.bed
echo ${sample} "finished"
done