-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMosaicHunter_paired.sh
38 lines (32 loc) · 1.22 KB
/
MosaicHunter_paired.sh
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
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
#SBATCH -J MosaicHunter
#SBATCH -o /fast/users/a1742674/outputs/SomaticVcalling/slurm-%j.out
#SBATCH -A robinson
#SBATCH -p batch
#SBATCH -N 1
#SBATCH -n 2
#SBATCH --time=25:00:00
#SBATCH --mem=8GB
# Notification configuration
#SBATCH --mail-type=END
#SBATCH --mail-type=FAIL
#SBATCH [email protected]
MHDIR=/fast/users/a1742674/outputs/SomaticVcalling/MosaicHunter
BAMDIR=/data/neurogenetics/alignments/Illumina/genomes/CPtwins
OUTDIR=$MHDIR/outputs
if [ ! -d $OUTDIR ]; then
mkdir -p $OUTDIR
fi
cd $MHDIR/MosaicHunter
module load Java/1.8.0_121
module load BLAT
java -jar build/mosaichunter.jar -C conf/genome.properties \
-P reference_file=/data/biohub/Refs/human/gatk_bundle/2.8/b37/human_g1k_v37_decoy.fasta \
-P input_file=$BAMDIR/V3726-1.dedup.realigned.recalibrated.bam \
-P mosaic_filter.control_bam_file=$BAMDIR/V3726-4.dedup.realigned.recalibrated.bam \
-P mosaic_filter.sex=M \
-P mosaic_filter.mode=paired_naive \
-P mosaic_filter.dbsnp_file=/data/neurogenetics/RefSeq/GATK/b37/dbsnp_138.b37.vcf \
-P repetitive_region_filter.bed_file=$MHDIR/MosaicHunter/resources/all_repeats.b37.bed \
-P common_site_filter.bed_file=$MHDIR/MosaicHunter/resources/WGS.error_prone.b37.bed \
-P ouput_dir=$OUTDIR