Skip to content

Commit

Permalink
Allow skipping of susie full output
Browse files Browse the repository at this point in the history
  • Loading branch information
kauralasoo committed Oct 27, 2021
1 parent 4ab0889 commit 0f2eea1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def helpMessage() {
Fine mapping (SuSiE)
--run_susie Perform eQTL fine mapping with SuSiE
--vcf_genotype_field Field in the VCF file that is used to construct the dosage matrix. Valid options are GT and DS (default: GT).
--susie_skip_full Avoid writing full SuSiE output to disk. (default: false).
Format results:
--reformat_sumstats Add rsid and median TPM columns to the nominal summary statistics files and perform additional formatting to make the files compatible with the eQTL Catalogue (default: true)
Expand Down Expand Up @@ -142,8 +143,8 @@ summary['Pipeline Name'] = 'eQTL-Catalogue/qtlmap'
summary['Pipeline Version'] = workflow.manifest.version
summary['Run Name'] = custom_runName ?: workflow.runName
summary['Study file'] = params.studyFile
summary['Cis window'] = params.cis_window
summary['Minimum Cis variants'] = params.mincisvariant
summary['cis window'] = params.cis_window
summary['Min # cis variants'] = params.mincisvariant
summary['VCF has R2 field'] = params.vcf_has_R2_field
summary['Permutation run'] = params.run_permutation
summary['# of permutations'] = params.n_permutations
Expand All @@ -152,6 +153,9 @@ summary['# of batches'] = params.n_batches
summary['# of phenotype PCs'] = params.n_pheno_pcs
summary['# of genotype PCs'] = params.n_geno_pcs
summary['Additonal covariates'] = params.covariates
summary["Run SuSiE"] = params.run_susie
summary["Skip SuSiE full"] = params.susie_skip_full
summary["VCF genotype field"] = params.vcf_genotype_field
summary['Max Memory'] = params.max_memory
summary['Max CPUs'] = params.max_cpus
summary['Max Time'] = params.max_time
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ params {
//SuSiE
run_susie = false
vcf_genotype_field = 'GT'
save_susie_full = false
susie_skip_full = false

readPaths = false
// Boilerplate options
Expand Down

0 comments on commit 0f2eea1

Please sign in to comment.