diff --git a/workflow/tests/plot_profile.bats b/workflow/tests/plot_profile.bats index 8c435b7a66feaf8c7af3ff1784a85e6a207580c2..229a0f1ad1621e899528f259d7a66e04fe64c9e6 100644 --- a/workflow/tests/plot_profile.bats +++ b/workflow/tests/plot_profile.bats @@ -6,3 +6,26 @@ profile_script="./workflow/scripts/plot_profile.sh" source ${profile_script} run check_tools } + +@test "Test deeptools present" { + source ${profile_script} + run check_tools +} + +@test "Test deeptools computeMatrix" { + source ${profile_script} + run compute_matrix test_data/ENCSR238SGC_pooled.fc_signal.bw /project/shared/bicf_workflow_ref/mouse/GRCm38/gencode.vM20.annotation.gtf + FILE=computeMatrix.gz + if [[ -f "$FILE" ]]; then + echo "$FILE exist" + fi +} + +@test "Test deeptools plotProfile" { + source ${profile_script} + run plot_profile computeMatrix.gz + FILE=plotProfile.png + if [[ -f "$FILE" ]]; then + echo "$FILE exist" + fi +}