modified: pixi.toml
[GalaxyCodeBases.git] / BioInfo / BS-Seq / bwa-meth / compare / plots.sh
blob3c4c425d6c61b946badc6cfcbe7ee62681ca585e
1 set -ex
2 <<DONE
3 python src/target-roc.py data/mm10.capture-regions.bed.gz \
4 --reads data/real_R1.fastq.gz \
5 results/*-real.bam \
6 results/bison-real/real_R1.bam \
7 results/bsmooth/bsmooth-real.bam \
8 > real-quals.txt
10 python src/target-roc.py data/mm10.capture-regions.bed.gz \
11 --reads data/real_R1.fastq.gz \
12 results/trim/*-real.bam \
13 results/trim/bison-real/real_R1.trim.bam \
14 results/trim/bsmooth/bsmooth-real.bam \
15 > real-trim-quals.txt
16 DONE
18 for sim in sim noerrorsim; do
20 python src/sim-roc.py \
21 --reads data/${sim}_R1.fastq.gz \
22 results/*-${sim}.bam \
23 results/bison-$sim/${sim}_R1.bam \
24 results/bsmooth/bsmooth-$sim.bam \
25 > ${sim}-quals.txt
27 python src/sim-roc.py \
28 --reads data/${sim}_R1.fastq.gz \
29 results/trim/*-${sim}.bam \
30 results/trim/bison-$sim/${sim}_R1.trim.bam \
31 results/trim/bsmooth/bsmooth-$sim.bam \
32 > ${sim-}trim-quals.txt
33 done
34 # make table of time and mem from logs
35 python src/parse-time-mem.py logs/*-{noerrorsim,sim,real}.out