-
Notifications
You must be signed in to change notification settings - Fork 53
/
paired_somaticseq_example.sh
executable file
·51 lines (46 loc) · 2.4 KB
/
paired_somaticseq_example.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
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
set -e
MYDIR="$( cd "$( dirname "$0" )" && pwd )"
VERSION=`head -n 1 ${MYDIR}/../../somaticseq/_version.py | awk -F "=" '{print $2}' | tr -d '[[:space:]]"'`
somaticseq \
--somaticseq-train \
--algorithm xgboost \
--extra-hyperparameters scale_pos_weight:0.1 seed:100 \
--output-directory paired_somaticseq/training \
--genome-reference ${MYDIR}/tiny.fa \
--dbsnp-vcf ${MYDIR}/tiny_dbsnp.vcf \
--truth-snv ${MYDIR}/Varsim.somatic.truth.vcf \
--truth-indel ${MYDIR}/Varsim.somatic.truth.vcf \
--threads 3 \
paired \
--tumor-bam-file ${MYDIR}/tumor.markdup.bam \
--normal-bam-file ${MYDIR}/normal.markdup.bam \
--mutect2-vcf ${MYDIR}/paired_example/MuTect2.vcf.gz \
--somaticsniper-vcf ${MYDIR}/paired_example/SomaticSniper.vcf.gz \
--vardict-vcf ${MYDIR}/paired_example/VarDict.vcf.gz \
--muse-vcf ${MYDIR}/paired_example/MuSE.vcf.gz \
--lofreq-snv ${MYDIR}/paired_example/LoFreq.snv.vcf.gz \
--lofreq-indel ${MYDIR}/paired_example/LoFreq.indel.vcf.gz \
--scalpel-vcf ${MYDIR}/paired_example/Scalpel.vcf.gz \
--strelka-snv ${MYDIR}/paired_example/Strelka.snv.vcf.gz \
--strelka-indel ${MYDIR}/paired_example/Strelka.indel.vcf.gz
somaticseq \
--algorithm xgboost \
--classifier-snv paired_somaticseq/training/Ensemble.sSNV.tsv.xgb.v${VERSION}.classifier \
--classifier-indel paired_somaticseq/training/Ensemble.sINDEL.tsv.xgb.v${VERSION}.classifier \
--output-directory paired_somaticseq/classification \
--genome-reference ${MYDIR}/tiny.fa \
--dbsnp-vcf ${MYDIR}/tiny_dbsnp.vcf \
--threads 3 \
paired \
--tumor-bam-file ${MYDIR}/tumor.markdup.bam \
--normal-bam-file ${MYDIR}/normal.markdup.bam \
--mutect2-vcf ${MYDIR}/paired_example/MuTect2.vcf.gz \
--somaticsniper-vcf ${MYDIR}/paired_example/SomaticSniper.vcf.gz \
--vardict-vcf ${MYDIR}/paired_example/VarDict.vcf.gz \
--muse-vcf ${MYDIR}/paired_example/MuSE.vcf.gz \
--lofreq-snv ${MYDIR}/paired_example/LoFreq.snv.vcf.gz \
--lofreq-indel ${MYDIR}/paired_example/LoFreq.indel.vcf.gz \
--scalpel-vcf ${MYDIR}/paired_example/Scalpel.vcf.gz \
--strelka-snv ${MYDIR}/paired_example/Strelka.snv.vcf.gz \
--strelka-indel ${MYDIR}/paired_example/Strelka.indel.vcf.gz