Skip to content

Commit

Permalink
remove reference to gnomonicus
Browse files Browse the repository at this point in the history
  • Loading branch information
WhalleyT committed Jan 10, 2024
1 parent f6783db commit 7851f59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/clockworkModules.nf
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ process callVarsCortex {

process minos {
/**
* @QCcheckpoint check if top species is TB, if yes pass vcf to gnomonicus
* @QCcheckpoint check if top species is TB, if yes pass vcf to resistance profiling
*/

tag { sample_name }
Expand Down Expand Up @@ -241,7 +241,7 @@ process minos {
cp ${sample_name}_report.json ${sample_name}_report_previous.json
if [[ \$top_hit =~ ^"Mycobacterium tuberculosis" ]]; then printf "CREATE_ANTIBIOGRAM_${sample_name}"; else echo '{"gnomonicus-warning":"sample is not TB so cannot produce antibiogram using gnomonicus"}' | jq '.' > ${error_log} && printf "no" && jq -s ".[0] * .[1]" ${error_log} ${sample_name}_report_previous.json > ${report_json}; fi
if [[ \$top_hit =~ ^"Mycobacterium tuberculosis" ]]; then printf "CREATE_ANTIBIOGRAM_${sample_name}"; else echo '{"resistance-profiling-warning":"sample is not TB so cannot produce antibiogram using resistance profiling tools"}' | jq '.' > ${error_log} && printf "no" && jq -s ".[0] * .[1]" ${error_log} ${sample_name}_report_previous.json > ${report_json}; fi
"""

stub:
Expand Down Expand Up @@ -296,7 +296,7 @@ process gvcf {
cp ${sample_name}_report.json ${sample_name}_report_previous.json
if [ ${params.vcfmix} == "no" ] && [ ${params.gnomonicus} == "no" ]; then echo '{"complete":"workflow complete without error"}' | jq '.' > ${error_log} && jq -s ".[0] * .[1]" ${error_log} ${sample_name}_report_previous.json > ${report_json}; fi
if [ ${params.vcfmix} == "no" ] && [ ${params.resistance_profiler} == "none" ]; then echo '{"complete":"workflow complete without error"}' | jq '.' > ${error_log} && jq -s ".[0] * .[1]" ${error_log} ${sample_name}_report_previous.json > ${report_json}; fi
"""

stub:
Expand Down

0 comments on commit 7851f59

Please sign in to comment.