This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #421 from jlac/activeDev
reduced verbosity of VarDict and added MutSigCV for additional callers
- Loading branch information
Showing
4 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
num = sum(1 for line in open('pairs')) | ||
|
||
if num > 10: | ||
if config['project']['annotation'] == "hg19": | ||
rule mutsig_merged: | ||
input: config['project']['workpath']+"/merged_somatic_variants/oncotator_out/final_filtered.maf", | ||
output: genes=config['project']['workpath']+"/merged_somatic_variants/mutsigCV_out/somatic.sig_genes.txt", | ||
params: rname="pl:mutsig_merged" | ||
shell: "module load MutSig; MutSigCV {input} $MUTSIG_REF/exome_full192.coverage.txt $MUTSIG_REF/gene.covariates.txt merged_somatic_variants/mutsigCV_out/somatic $MUTSIG_REF/mutation_type_dictionary_file.txt $MUTSIG_REF/chr_files_hg19" | ||
|
||
if config['project']['annotation'] == "hg38": | ||
rule mutsig_merged: | ||
input: config['project']['workpath']+"/merged_somatic_variants/oncotator_out/final_filtered.maf", | ||
output: genes=config['project']['workpath']+"/merged_somatic_variants/mutsigCV_out/somatic.sig_genes.txt", | ||
params: rname="pl:mutsig_merged" | ||
shell: "echo \"null\" > {output.genes}" | ||
|
||
elif config['project']['annotation'] == "mm10": | ||
rule mutsig_merged: | ||
input: config['project']['workpath']+"/merged_somatic_variants/oncotator_out/final_filtered.maf", | ||
output: genes=config['project']['workpath']+"/merged_somatic_variants/mutsigCV_out/somatic.sig_genes.txt", | ||
params: rname="pl:mutsig_merged" | ||
shell: "echo \"null\" > {output.genes}" | ||
|
||
else: | ||
rule mutsig_merged: | ||
input: config['project']['workpath']+"/merged_somatic_variants/oncotator_out/final_filtered.maf", | ||
output: genes=config['project']['workpath']+"/merged_somatic_variants/mutsigCV_out/somatic.sig_genes.txt", | ||
params: rname="pl:mutsig_merged" | ||
shell: "echo \"null\" > {output.genes}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
num = sum(1 for line in open('pairs')) | ||
|
||
if num > 10: | ||
if config['project']['annotation'] == "hg19": | ||
rule mutsig_vardict: | ||
input: config['project']['workpath']+"/vardict_out/oncotator_out/final_filtered.maf", | ||
output: genes=config['project']['workpath']+"/vardict_out/mutsigCV_out/somatic.sig_genes.txt", | ||
params: rname="pl:mutsig_vardict" | ||
shell: "module load MutSig; MutSigCV {input} $MUTSIG_REF/exome_full192.coverage.txt $MUTSIG_REF/gene.covariates.txt vardict_out/mutsigCV_out/somatic $MUTSIG_REF/mutation_type_dictionary_file.txt $MUTSIG_REF/chr_files_hg19" | ||
|
||
if config['project']['annotation'] == "hg38": | ||
rule mutsig_vardict: | ||
input: config['project']['workpath']+"/vardict_out/oncotator_out/final_filtered.maf", | ||
output: genes=config['project']['workpath']+"/vardict_out/mutsigCV_out/somatic.sig_genes.txt", | ||
params: rname="pl:mutsig_vardict" | ||
shell: "echo \"null\" > {output.genes}" | ||
|
||
elif config['project']['annotation'] == "mm10": | ||
rule mutsig_vardict: | ||
input: config['project']['workpath']+"/vardict_out/oncotator_out/final_filtered.maf", | ||
output: genes=config['project']['workpath']+"/vardict_out/mutsigCV_out/somatic.sig_genes.txt", | ||
params: rname="pl:mutsig_vardict" | ||
shell: "echo \"null\" > {output.genes}" | ||
|
||
else: | ||
rule mutsig_vardict: | ||
input: config['project']['workpath']+"/vardict_out/oncotator_out/final_filtered.maf", | ||
output: genes=config['project']['workpath']+"/vardict_out/mutsigCV_out/somatic.sig_genes.txt", | ||
params: rname="pl:mutsig_vardict" | ||
shell: "echo \"null\" > {output.genes}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters