Skip to content

Commit

Permalink
Merge pull request #424 from broadinstitute/dp-cdc
Browse files Browse the repository at this point in the history
consensus calling major_cutoff knobs and defaults
  • Loading branch information
dpark01 authored Jun 6, 2022
2 parents 017370c + d2f739f commit e3d642a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pipes/WDL/workflows/assemble_refbased.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ workflow assemble_refbased {
min_coverage: {
description: "Minimum read coverage required to call a position unambiguous."
}
major_cutoff: {
description: "If the major allele is present at a frequency higher than this cutoff, we will call an unambiguous base at that position. If it is equal to or below this cutoff, we will call an ambiguous base representing all possible alleles at that position."
}


assembly_fasta: { description: "The new assembly / consensus sequence for this sample" }
Expand All @@ -61,6 +64,7 @@ workflow assemble_refbased {
String aligner="minimap2"
File? novocraft_license
Int min_coverage=3
Float major_cutoff=0.75
Boolean skip_mark_dupes=false
File? trim_coords_bed
}
Expand Down Expand Up @@ -140,6 +144,7 @@ workflow assemble_refbased {
reference_fasta = reference_fasta,
reads_aligned_bam = aligned_trimmed_bam,
min_coverage = min_coverage,
major_cutoff = major_cutoff,
sample_name = sample_name
}

Expand Down
1 change: 1 addition & 0 deletions pipes/WDL/workflows/sarscov2_illumina_full.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ workflow sarscov2_illumina_full {
aligner = "minimap2",
skip_mark_dupes = ampseq,
trim_coords_bed = trim_coords_bed,
major_cutoff = 0.75,
min_coverage = if ampseq then 50 else 3
}

Expand Down

0 comments on commit e3d642a

Please sign in to comment.