Skip to content

Commit

Permalink
Update clair3.nf and bcftools.nf to handle ambiguous bases by not con…
Browse files Browse the repository at this point in the history
…verting to N and producing a warning instead of an error (#42)
  • Loading branch information
peterk87 committed Aug 16, 2023
1 parent 85afe8d commit 15bb97a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/local/bcftools.nf
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ process BCF_FILTER {
bcftools_filt_vcf = "${prefix}.bcftools_filt.vcf"
"""
bcftools norm \\
--check-ref w \\
-Ov \\
-m- \\
-f $fasta \\
Expand Down
1 change: 1 addition & 0 deletions modules/local/clair3.nf
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ process CLAIR3 {
--output=${clair3_dir} \\
--haploid_sensitive \\
--enable_long_indel \\
--keep_iupac_bases \\
--fast_mode \\
--include_all_ctgs
Expand Down

0 comments on commit 15bb97a

Please sign in to comment.