Skip to content

Commit

Permalink
Update prereqs and dockers
Browse files Browse the repository at this point in the history
  • Loading branch information
aofarrel committed Nov 21, 2024
1 parent 20dd0ab commit d9c20a7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
1 change: 1 addition & 0 deletions doc/reference_genomes.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Ref.download.tar
└── remove_contam.tsv
```
### ClockworkRefPrepTB.bluepeter__tar_indexd_dcontm_ref
--> Note: Starting with v0.12.0, clockwork changed their decontamination reference and now use CHM13 instead of hg38 for human
```
Ref.remove_contam.tar
├── ref.fa
Expand Down
10 changes: 4 additions & 6 deletions myco_raw.wdl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version 1.0

import "https://raw.githubusercontent.com/aofarrel/clockwork-wdl/2.12.2/tasks/combined_decontamination.wdl" as clckwrk_combonation
import "https://raw.githubusercontent.com/aofarrel/clockwork-wdl/2.12.2/tasks/variant_call_one_sample.wdl" as clckwrk_var_call
import "https://raw.githubusercontent.com/aofarrel/clockwork-wdl/update-dockers-0.12.5.2/tasks/combined_decontamination.wdl" as clckwrk_combonation
import "https://raw.githubusercontent.com/aofarrel/clockwork-wdl/update-dockers-0.12.5.2/tasks/variant_call_one_sample.wdl" as clckwrk_var_call
import "https://raw.githubusercontent.com/aofarrel/SRANWRP/v1.1.24/tasks/processing_tasks.wdl" as sranwrp_processing
import "https://raw.githubusercontent.com/aofarrel/tree_nine/0.0.16/tree_nine.wdl" as build_treesWF
import "https://raw.githubusercontent.com/aofarrel/vcf_to_diff_wdl/0.0.3/vcf_to_diff.wdl" as diff
Expand All @@ -21,7 +21,7 @@ workflow myco {
Int clean_average_q_score = 29
Boolean clean_before_decontam = true
Boolean covstatsQC_skip_entirely = false
Boolean decontam_use_CDC_varpipe_ref = true
Boolean decontam_use_CDC_varpipe_ref = false # changed in myco 6.3.0!!
File? mask_bedfile
Int QC_max_pct_low_coverage_sites = 20
Int QC_max_pct_unmapped = 2
Expand Down Expand Up @@ -65,7 +65,7 @@ workflow myco {
scatter(paired_fastqs in paired_fastq_sets) {
call clckwrk_combonation.clean_and_decontam_and_check as decontam_each_sample {
input:
docker_image = if decontam_use_CDC_varpipe_ref then "ashedpotatoes/clockwork-plus:v0.11.3.11-CDC" else "ashedpotatoes/clockwork-plus:v0.11.3.11-CRyPTIC",
docker_image = if decontam_use_CDC_varpipe_ref then "ashedpotatoes/clockwork-plus:v0.12.5.2-CDC" else "ashedpotatoes/clockwork-plus:v0.12.5.2-CRyPTIC",
unsorted_sam = true,
force_rename_out = output_sample_name,
reads_files = paired_fastqs,
Expand Down Expand Up @@ -479,8 +479,6 @@ workflow myco {
Array[String]? debug_vcfdiff_errorcode_if_covstats = vcfdiff_errorcode_if_covstats
Array[String]? debug_vcfdiff_errorcode_if_no_covstats = vcfdiff_errorcode_if_no_covstats
Array[String]? debug_vcfdiff_errorcode_array = vcfdiff_errorcode_array
Int seconds_to_map_reads = decontam_each_sample.timer_5_mapFQ[0]
Int seconds_to_rm_contam = decontam_each_sample.timer_7_dcnFQ[0]
String docker_used = decontam_each_sample.docker_used[0]
}
}
Expand Down
4 changes: 2 additions & 2 deletions myco_simple.wdl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version 1.0
import "https://raw.githubusercontent.com/aofarrel/clockwork-wdl/2.12.1/tasks/variant_call_one_sample.wdl" as clckwrk_var_call
import "https://raw.githubusercontent.com/aofarrel/clockwork-wdl/update-dockers-0.12.5.2/tasks/variant_call_one_sample.wdl" as clckwrk_var_call
import "https://raw.githubusercontent.com/aofarrel/fastp-wdl/0.0.4/fastp_tasks.wdl" as fastp
import "https://raw.githubusercontent.com/aofarrel/parsevcf/1.2.0/vcf_to_diff.wdl" as diff
import "https://raw.githubusercontent.com/aofarrel/vcf_to_diff_wdl/0.0.3/vcf_to_diff.wdl" as diff

# This is a stripped-down version of myco which only runs the variant caller, vcf-to-diff, and (optionally) fastp.
# There is NO decontamination, TB-Profiler, covstats, or QC beyond "does the variant caller crash/time out or not."
Expand Down
6 changes: 3 additions & 3 deletions myco_sra.wdl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version 1.0

import "https://raw.githubusercontent.com/aofarrel/clockwork-wdl/2.13.0/tasks/combined_decontamination.wdl" as clckwrk_combonation
import "https://raw.githubusercontent.com/aofarrel/clockwork-wdl/2.12.2/tasks/variant_call_one_sample.wdl" as clckwrk_var_call
import "https://raw.githubusercontent.com/aofarrel/clockwork-wdl/update-dockers-0.12.5.2/tasks/combined_decontamination.wdl" as clckwrk_combonation
import "https://raw.githubusercontent.com/aofarrel/clockwork-wdl/update-dockers-0.12.5.2/tasks/variant_call_one_sample.wdl" as clckwrk_var_call
import "https://raw.githubusercontent.com/aofarrel/SRANWRP/v1.1.24/tasks/pull_fastqs.wdl" as sranwrp_pull
import "https://raw.githubusercontent.com/aofarrel/SRANWRP/v1.1.24/tasks/processing_tasks.wdl" as sranwrp_processing
import "https://raw.githubusercontent.com/aofarrel/tree_nine/0.0.16/tree_nine.wdl" as build_treesWF
Expand All @@ -18,9 +18,9 @@ workflow myco {
Int clean_average_q_score = 29
Boolean clean_before_decontam = true
Boolean covstatsQC_skip_entirely = true # false in myco_raw
Boolean decontam_use_CDC_varpipe_ref = false # true in myco_raw
File? mask_bedfile
Boolean TBProf_on_bams_not_fastqs = true # effectively false in myco_raw
Boolean decontam_use_CDC_varpipe_ref = false

# QC stuff
Float QC_max_pct_low_coverage_sites = 0.20
Expand Down

0 comments on commit d9c20a7

Please sign in to comment.