Skip to content

Commit

Permalink
Merge pull request #6 from wassermanlab/SGP-376
Browse files Browse the repository at this point in the history
SGP-376 - small updates
  • Loading branch information
scorreard authored Jun 18, 2022
2 parents b292cc4 + 0033052 commit 2bf8144
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/Hail_variant_QC.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ process Hail_variant_QC {

publishDir "$params.outdir_ind/${assembly}/${batch}/${run}/QC/Aggregated/Hail/Variants/", mode: 'copy', pattern : '*.html'
publishDir "$params.outdir_ind/${assembly}/${batch}/${run}/vcf_post_hail/", mode: 'copy', pattern : '*filtered_samples_variants.vcf.bgz*'
publishDir "$params.outdir_pop/${assembly}/${run}/${var_type}/Vcf_pre_annotation/", mode: 'copy', pattern : 'SNV_filtered_frequ_*'
publishDir "$params.outdir_pop/${assembly}/${run}/SNV/Vcf_pre_annotation/", mode: 'copy', pattern : 'SNV_filtered_frequ_*'

input :
file vcf_sample_filtered
Expand Down
2 changes: 1 addition & 1 deletion modules/Hail_variant_QC.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def report_stats():
# Calculate the variants frequency per sex
#

SNV_mt_var_filtered_sex = SNV_mt_var_filteredi_tot.annotate_cols(**sex_table[SNV_mt_var_filtered_tot.s])
SNV_mt_var_filtered_sex = SNV_mt_var_filtered_tot.annotate_cols(**sex_table[SNV_mt_var_filtered_tot.s])
SNV_mt_var_filtered_XX = SNV_mt_var_filtered_sex.filter_cols(SNV_mt_var_filtered_sex.sex == 'XX')
SNV_mt_var_filtered_XX = hl.variant_qc(SNV_mt_var_filtered_XX)
SNV_mt_var_filtered_XX = SNV_mt_var_filtered_XX.annotate_rows(
Expand Down
2 changes: 1 addition & 1 deletion modules/annotation_table_merged.nf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
process annotation_table_merged {
tag "${chr}"

publishDir "$params.outdir_pop/${assembly}/${run}/${var_type}/VEP_annotation/", mode: 'copy', pattern : '*_annotation_table_merged.*'
publishDir "$params.outdir_pop/${assembly}/${run}/${var_type}/VEP_annotation/", mode: 'copy', pattern : '*_annotation_table_merged*'
publishDir "$params.outdir_pop/${assembly}/${run}/QC/${var_type}/${vcf.simpleName}/", mode: 'copy', pattern : '*_VEP_stats*'

input :
Expand Down
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ process {

// 32GB, 4 cpus
withName: 'annotation_table_merged' {
memory = 60.GB
cpus = 12
memory = 120.GB
cpus = 20
}

// 20GB, 8 cpus
Expand Down

0 comments on commit 2bf8144

Please sign in to comment.