Skip to content

Commit

Permalink
Merge pull request #357 from moka-guys/mokapipe_v2.13
Browse files Browse the repository at this point in the history
Mokapipe v2.13
  • Loading branch information
natashapinto authored Oct 12, 2021
2 parents 5c73003 + fbdddb6 commit 82fad9e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions automate_demultiplex_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@
# =====Moka settings=====
# Moka IDs for generating SQLs to update the Mokadatabase
# audit trail ID for Mokapipe & congenica
mokapipe_congenica_pipeline_ID = "4316"
mokapipe_congenica_pipeline_ID = "4854"
# Current MokaWES ID
mokawes_pipeline_ID = "4318"
# MokaAMP ID
mokaamp_pipeline_ID = "4816"
mokaamp_pipeline_ID = "4851"
# Archer ID
archerDx_pipeline_ID = "4562"
# SNP Genotyping ID
Expand All @@ -141,20 +141,20 @@
app_project = "project-ByfFPz00jy1fk6PjpZ95F27J:/"
# path to the workflow in the app project

mokapipe_path = "Workflows/GATK3.5_v2.12"
mokapipe_path = "Workflows/GATK3.5_v2.13"
# path to the WES workflow in the app project
mokawes_path = "Workflows/MokaWES_v1.8"

# path to mokaamp
mokaamp_path = "Workflows/MokaAMP_v2.1"
mokaamp_path = "Workflows/MokaAMP_v2.2"
# path to mokacan
mokacan_path = "Workflows/MokaCAN_v1.0"
#path to snp_genotyping
snp_genotyping_path = "Workflows/SNP_Genotyping_v1.0.0"
# path to paddy app
peddy_path = "Apps/peddy_v1.5"
# path to multiqc app
multiqc_path = "Apps/multiqc_v1.13.0"
multiqc_path = "Apps/multiqc_v1.14.0"
# path to congenica upload app
congenica_app_path = "Apps/congenica_upload_v1.2"
# placeholder for IVA - will be changed to QCI when available
Expand All @@ -178,7 +178,7 @@
live_tag = "live"

# =====istages=====
mokapipe_variant_annotator_stage = "stage-F2gPqFQ025p601qgGq0QVvX2"
mokapipe_filter_vcf_with_bedfile_stage = "stage-G5Kpgv80zB02Q64zFf94G05F"
mokapipe_gatk_human_exome_stage = "stage-F28y4qQ0jy1fkqfy5v2b8byx"
# Mokapipe workflow inputs
mokapipe_fastqc1 = " -istage-Bz3YpP80jy1Y1pZKbZ35Bp0x.reads=" # FastQC Read 1
Expand All @@ -189,8 +189,8 @@
" -istage-F9GK4QQ0jy1qj14PPZxxq3VG.vendor_exome_bedfile=" # HSMetrics Bed file
)
mokapipe_haplotype_padding_input = " -i" +mokapipe_gatk_human_exome_stage + ".padding="
mokapipe_haplotype_bedfile_input = " -i" +mokapipe_gatk_human_exome_stage + ".bedfile="
mokapipe_vcf_output_name = "vcf"
mokapipe_filter_vcf_with_bedfile_bed_input = " -i" +mokapipe_filter_vcf_with_bedfile_stage + ".bedfile="
mokapipe_vcf_output_name = "filtered_vcf"
mokapipe_bam_output_name = "bam"


Expand Down
4 changes: 2 additions & 2 deletions decision_support_tool_inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ def _parse_mokapipe_json(self, json_ob):
"""
Parse the dx describe output from the mokapipe analysis id
use the stage id to identify the job id of the required stage (see config file)
return the job id for the variant annotator app for vcf and return the gatk human exome
return the job id for the bed filtering app for vcf and return the gatk human exome
pipeline for BAM
"""
jobid = None
bamjobid = None
for stage in json_ob["stages"]:
if stage["id"] == config.mokapipe_variant_annotator_stage:
if stage["id"] == config.mokapipe_filter_vcf_with_bedfile_stage:
jobid = stage["execution"]["id"]
elif stage["id"] == config.mokapipe_gatk_human_exome_stage:
bamjobid = stage["execution"]["id"]
Expand Down
2 changes: 1 addition & 1 deletion upload_and_setoff_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ def create_mokapipe_command(self, fastq, pannumber):

if bedfiles["variant_calling_bedfile"]:
bedfiles_string = (
config.mokapipe_haplotype_bedfile_input + bedfiles["variant_calling_bedfile"]
config.mokapipe_filter_vcf_with_bedfile_bed_input + bedfiles["variant_calling_bedfile"]
)
else:
bedfiles_string = ""
Expand Down

0 comments on commit 82fad9e

Please sign in to comment.