Skip to content

Commit

Permalink
Use poetry to run pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
ellendejong committed Oct 11, 2024
1 parent da9f31d commit 740e504
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gendercheck_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,4 @@ jobs:
#----------------------------------------------
- name: Run tests
run: |
source .venv/bin/activate
pytest .
poetry run pytest .
3 changes: 1 addition & 2 deletions .github/workflows/moisaichunter_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,4 @@ jobs:
#----------------------------------------------
- name: Run tests
run: |
source .venv/bin/activate
pytest .
poetry run pytest .
64 changes: 64 additions & 0 deletions CheckQC/checkqc_giabeval_settings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
metrics:
- filename: "summary_snp.*truth.txt"
qc_col: "Sensitivity"
threshold: 0.98
operator: "<="
report_cols: ["sample_1", "Sensitivity"]
sample_cols: ["sample_1"]
title: "PK_C_SNPs"
- filename: "summary_indel.*truth.txt"
qc_col: "Sensitivity"
threshold: 0.90
operator: "<="
report_cols: ["sample_1", "Sensitivity"]
sample_cols: ["sample_1"]
title: "PK_C_INDELs"
- filename: "summary_snp.*truth.txt"
qc_col: "Precision"
threshold: 0.98
operator: "<="
report_cols: ["sample_1", "Precision"]
sample_cols: ["sample_1"]
title: "PK_D_SNPs"
- filename: "summary_indel.*truth.txt"
qc_col: "Precision"
threshold: 0.85
operator: "<="
report_cols: ["sample_1", "Precision"]
sample_cols: ["sample_1"]
title: "PK_D_INDELs"
- filename: "summary_snp_.*_((?!truth).)*$"
qc_col: "Sensitivity"
threshold: 0.98
operator: "<="
report_cols: ["sample_1", "sample_2", "Sensitivity"]
sample_cols: ["sample_1", "sample_2"]
title: "PK_E_SNPs"
- filename: "summary_indel_.*_((?!truth).)*$"
qc_col: "Sensitivity"
threshold: 0.90
operator: "<="
report_cols: ["sample_1", "sample_2", "Sensitivity"]
sample_cols: ["sample_1", "sample_2"]
title: "PK_E_INDELs"
- filename: "summary_high_conf_snp.*truth.txt"
qc_col: "Sensitivity"
threshold: 0.98
operator: "<="
report_cols: ["sample_1", "Sensitivity"]
sample_cols: ["sample_1"]
title: "PK_C_SNPs_high_conf"
- filename: "summary_high_conf_snp.*truth.txt"
qc_col: "Precision"
threshold: 0.98
operator: "<="
report_cols: ["sample_1", "Precision"]
sample_cols: ["sample_1"]
title: "PK_D_SNPs_high_conf"
- filename: "summary_high_conf_snp_.*_((?!truth).)*$"
qc_col: "Sensitivity"
threshold: 0.98
operator: "<="
report_cols: ["sample_1", "sample_2", "Sensitivity"]
sample_cols: ["sample_1", "sample_2"]
title: "PK_E_SNPs_high_conf"

0 comments on commit 740e504

Please sign in to comment.