Skip to content

Commit

Permalink
Merge pull request #1 from RaverJay/custom_thresholds
Browse files Browse the repository at this point in the history
Custom thresholds for AMR genes to keep
  • Loading branch information
RaverJay committed Apr 22, 2022
2 parents 754f22c + 9bca568 commit 47a7e4c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CholerAegon.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ params.shortreads = false

params.do_all_assemblies = false

params.min_coverage_percent = 80
params.min_identity_percent = 80


// channels

Expand Down Expand Up @@ -337,7 +340,11 @@ process combine_results {
tuple val(name), val(type), path("${name}_${type}_combined_results.csv")
script:
"""
combine_results.py --rgi_results ${rgi_results} --abricate_results ${abricate_results} --output ${name}_${type}_combined_results
combine_results.py --rgi_results ${rgi_results} \
--abricate_results ${abricate_results} \
--output ${name}_${type}_combined_results \
--coverage_threshold ${params.min_coverage_percent} \
--identity_threshold ${params.min_identity_percent}
"""
}

Expand Down

0 comments on commit 47a7e4c

Please sign in to comment.