Skip to content

Commit

Permalink
Merge branch 'master' into ct-fix-mem-highwatermark-inspection
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc authored Dec 15, 2023
2 parents 7c1e3b6 + 8084397 commit 5d8f355
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: "viral-pipelines CI"

on:
push:
merge_group:
pull_request:
branches:
- master
Expand Down
6 changes: 6 additions & 0 deletions pipes/WDL/tasks/tasks_intrahost.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ task polyphonia_detect_cross_contamination {
Int min_read_depth = 100
Array[File]? read_depths
Int max_mismatches = 1
String? masked_positions
File? masked_positions_file

Array[File]? plate_maps
Int? plate_size = 96
Expand Down Expand Up @@ -44,6 +46,8 @@ task polyphonia_detect_cross_contamination {
read_depths: { description: "Read depth tables (tab-separated, no header: reference name, position, read depth); provide alongside vcf files or heterozygosity tables if min-depth>0" }
min_genome_coverage: { description: "Minimum proportion genome covered for a sample to be included" }
max_mismatches: { description: "Maximum allowed bases in contaminating sample consensus not matching contaminated sample alleles" }
masked_positions: { description: "1-indexed positions to mask (e.g., 1-10,50,55-70)" }
masked_positions_file: { description: "1-indexed positions to mask, one per line" }

plate_maps: { description: "Optional plate map(s) (tab-separated, no header: sample name, plate position (e.g., A8))" }
plate_size: { description: "Standard plate size (6-well, 12-well, 24, 48, 96, 384, 1536, 3456)" }
Expand Down Expand Up @@ -83,6 +87,8 @@ task polyphonia_detect_cross_contamination {
~{'--min-readcount ' + min_readcount} \
~{'--max-mismatches ' + max_mismatches} \
~{'--min-maf ' + min_maf} \
~{'--masked-positions ' + masked_positions} \
~{'--masked-positions-file ' + masked_positions_file} \
$PLATE_MAPS_INPUT \
~{'--plate-size ' + plate_size} \
~{'--plate-columns ' + plate_columns} \
Expand Down

0 comments on commit 5d8f355

Please sign in to comment.