Skip to content

Commit a4a79c2

Browse files
author
Cao
committed
add rerun for mutect
1 parent eeebfd7 commit a4a79c2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

somaticwrapper.pl

+8
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,10 @@ sub bsub_mutect{
11991199
$DB_COSMIC_MUTECT=$DB_COSMIC;
12001200
}
12011201
print MUTECT "rawvcf=".$sample_full_path."/mutect1/mutect.raw.$chr.vcf\n";
1202+
print MUTECT "if [ $status_rerun -eq 1 ]\n";
1203+
print MUTECT " then\n";
1204+
print MUTECT "rm \${rawvcf}\n";
1205+
print MUTECT "fi\n";
12021206
print MUTECT ' if [ ! -s $rawvcf ]',"\n";
12031207
print MUTECT " then\n";
12041208
print MUTECT "java \${JAVA_OPTS} -jar "."$mutect1 -T MuTect -R $h38_REF -L $chr1 --dbsnp $DB_SNP_MUTECT --cosmic $DB_COSMIC_MUTECT -I:normal \${NBAM_rg} -I:tumor \${TBAM_rg} --artifact_detection_mode -vcf \${rawvcf}\n";
@@ -1224,6 +1228,10 @@ sub bsub_mutect{
12241228

12251229

12261230
print MUTECT "rawvcf=".$sample_full_path."/mutect1/mutect.raw.$chr.vcf\n";
1231+
print MUTECT "if [ $status_rerun -eq 1 ]\n";
1232+
print MUTECT " then\n";
1233+
print MUTECT "rm \${rawvcf}\n";
1234+
print MUTECT "fi\n";
12271235
print MUTECT ' if [ ! -s $rawvcf ]',"\n";
12281236
print MUTECT " then\n";
12291237
print MUTECT "java \${JAVA_OPTS} -jar "."$mutect1 -T MuTect -R $h38_REF -L $chr1 --dbsnp $DB_SNP_MUTECT --cosmic $DB_COSMIC_MUTECT -I:normal \${NBAM} -I:tumor \${TBAM} --artifact_detection_mode -vcf \${rawvcf}\n";

work_log_run_alchemist_b9

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
#perl somaticwrapper.pl --rdir /storage1/fs1/songcao/Active/Project/GDAN/Alchemist/somatic/b9 --log /storage1/fs1/songcao/Active/Project/GDAN/Alchemist/somatic/b9.log --ref /storage1/fs1/songcao/Active/Database/hg38_database/GRCh38.d1.vd1/GRCh38.d1.vd1.fa --q general --smg /storage1/fs1/songcao/Active/Database/smg_database/cancer_gene_list_cell_uniq.tsv --users songcao --groupname SomaticWXS --step 1
33

4-
perl somaticwrapper.pl --rdir /storage1/fs1/songcao/Active/Project/GDAN/Alchemist/somatic/b9 --log /storage1/fs1/songcao/Active/Project/GDAN/Alchemist/somatic/b9.log --ref /storage1/fs1/songcao/Active/Database/hg38_database/GRCh38.d1.vd1/GRCh38.d1.vd1.fa --q general --smg /storage1/fs1/songcao/Active/Database/smg_database/cancer_gene_list_cell_uniq.tsv --users songcao --groupname SomaticWXS --step 2 --sre 1
4+
perl somaticwrapper.pl --rdir /storage1/fs1/dinglab/Active/Projects/scao/alchemist/somatic/b9 --log /storage1/fs1/dinglab/Active/Projects/scao/alchemist/somatic/b9.log --ref /storage1/fs1/songcao/Active/Database/hg38_database/GRCh38.d1.vd1/GRCh38.d1.vd1.fa --q general --smg /storage1/fs1/songcao/Active/Database/smg_database/cancer_gene_list_cell_uniq.tsv --users songcao --groupname SomaticWXS --step 2 --sre 1
55

66
#perl somaticwrapper.pl --rdir /storage1/fs1/songcao/Active/Project/GDAN/Alchemist/somatic/b9 --log /storage1/fs1/songcao/Active/Project/GDAN/Alchemist/somatic/b9.log --ref /storage1/fs1/songcao/Active/Database/hg38_database/GRCh38.d1.vd1/GRCh38.d1.vd1.fa --q general --smg /storage1/fs1/songcao/Active/Database/smg_database/cancer_gene_list_cell_uniq.tsv --users songcao --groupname SomaticWXS --step 3
77

8-
#perl somaticwrapper.pl --rdir /storage1/fs1/songcao/Active/Project/GDAN/Alchemist/somatic/b9 --log /storage1/fs1/songcao/Active/Project/GDAN/Alchemist/somatic/b9.log --ref /storage1/fs1/songcao/Active/Database/hg38_database/GRCh38.d1.vd1/GRCh38.d1.vd1.fa --q general --smg /storage1/fs1/songcao/Active/Database/smg_database/cancer_gene_list_cell_uniq.tsv --users songcao --groupname SomaticWXS --step 4
8+
perl somaticwrapper.pl --rdir /storage1/fs1/dinglab/Active/Projects/scao/alchemist/somatic/b9 --log /storage1/fs1/dinglab/Active/Projects/scao/alchemist/somatic/b9.log --ref /storage1/fs1/songcao/Active/Database/hg38_database/GRCh38.d1.vd1/GRCh38.d1.vd1.fa --q general --smg /storage1/fs1/songcao/Active/Database/smg_database/cancer_gene_list_cell_uniq.tsv --users songcao --groupname SomaticWXS --step 4 --sre 1
99

1010
#perl somaticwrapper.pl --rdir /storage1/fs1/songcao/Active/Project/GDAN/Alchemist/somatic/b9 --log /storage1/fs1/songcao/Active/Project/GDAN/Alchemist/somatic/b9.log --ref /storage1/fs1/songcao/Active/Database/hg38_database/GRCh38.d1.vd1/GRCh38.d1.vd1.fa --q general --smg /storage1/fs1/songcao/Active/Database/smg_database/cancer_gene_list_cell_uniq.tsv --users songcao --groupname SomaticWXS --step 5
1111

0 commit comments

Comments
 (0)