Skip to content

Commit

Permalink
fix completeness check
Browse files Browse the repository at this point in the history
  • Loading branch information
Kincekara committed Dec 31, 2024
1 parent 5efb4e4 commit 1250b92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/task_qc_check.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ task qc {
echo "WARN:Trimmed Coverage<30X, " | tee -a QC_EVAL
fi
# contamination
if [ $(echo "~{contamination} > 1" | bc) -eq 1 ]; then
if [ $(echo "~{contamination} > 1" | bc) -eq 1 ]; then
echo "FAIL:contamination>1%" | tee -a QC_EVAL
fi
# completeness
if [ $(echo "~{completeness} < 95" | bc) -eq 1 ]; then
if [ $(echo "~{completeness} < 95" | bc) -eq 1 ]; then
echo "FAIL:genome_completeness<95%" | tee -a QC_EVAL
elif [ $(echo "$comp < 97" | bc) -eq 1 ]; then
elif [ $(echo "~{completeness} < 97" | bc) -eq 1 ]; then
echo "WARN:genome_completeness<97%" | tee -a QC_EVAL
fi
# q30
Expand Down

0 comments on commit 1250b92

Please sign in to comment.