File: parallelization-run.sh

package info (click to toggle)
vcfanno 0.3.7%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,112 kB
  • sloc: python: 335; sh: 259; makefile: 41
file content (15 lines) | stat: -rwxr-xr-x 605 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set -e
DATA=/data2/gemini_install/data/gemini/data/
echo -e "method\tprocs\ttime\tquery" > par-times.txt
for Q in /data2/gemini_install/data/gemini/data/ExAC.r0.3.sites.vep.tidy.vcf.gz /data2/gemini_install/data/gemini/data/ALL.wgs.phase3_shapeit2_mvncall_integrated_v5a.20130502.sites.tidy.vcf.gz; do
	f=$(basename $Q .tidy.vcf.gz)
	echo $f
	export GOGC=500
	for p in $(seq 20 -1 1); do
		e=paper.go1.4.err.fix$GOGC.$p
		vcfanno -p $p -base-path $DATA -lua custom.lua gem.conf $Q > /dev/null 2> $e
		runtime=$(grep -oP "[^ ]+ seconds" $e)
		echo -e "fixed\t$p\t$runtime\t$f" >> par-times.txt
	done
done