Skip to content

Commit

Permalink
Merge branch 'master' into dp-reports
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 authored Mar 8, 2023
2 parents 1592889 + 6642d26 commit 3ae61d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pipes/WDL/workflows/assemble_refbased.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ workflow assemble_refbased {
Float major_cutoff=0.75
Boolean skip_mark_dupes=false
File? trim_coords_bed
}

Map[String,String] align_to_ref_options = {
Map[String,String] align_to_ref_options = {
"novoalign": "-r Random -l 40 -g 40 -x 20 -t 501 -k",
"bwa": "-k 12 -B 1",
"minimap2": ""
}
Map[String,String] align_to_self_options = {
Map[String,String] align_to_self_options = {
"novoalign": "-r Random -l 40 -g 40 -x 20 -t 100",
"bwa": "",
"minimap2": ""
}
}

scatter(reads_unmapped_bam in reads_unmapped_bams) {
call assembly.align_reads as align_to_ref {
Expand Down
4 changes: 2 additions & 2 deletions pipes/WDL/workflows/sarscov2_illumina_full.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ workflow sarscov2_illumina_full {
Int min_genome_bases = 24000
Int max_vadr_alerts = 0
Int ntc_max_unambig = 3000
Int? min_genome_coverage

File? sample_rename_map

Expand Down Expand Up @@ -121,11 +122,10 @@ workflow sarscov2_illumina_full {
reads_unmapped_bams = name_reads.right,
reference_fasta = reference_fasta,
sample_name = name_reads.left,
aligner = "minimap2",
skip_mark_dupes = ampseq,
trim_coords_bed = bed_rename.outfile,
major_cutoff = 0.75,
min_coverage = if ampseq then 50 else 3
min_coverage = if defined(min_genome_coverage) then min_genome_coverage else (if ampseq then 50 else 3)
}

# log controls
Expand Down

0 comments on commit 3ae61d3

Please sign in to comment.