From 10cd9ac9ee410a71b7bf36d9c010847d8289e0d4 Mon Sep 17 00:00:00 2001 From: julesjacobsen Date: Thu, 25 Apr 2024 11:23:36 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20monarch-?= =?UTF-8?q?initiative/pheval@0310db7a20dd98a2b4b2875dc83a011af2643f81=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 14 + CODE_OF_CONDUCT/index.html | 14 + about/index.html | 14 + api/pheval/analyse/analysis/index.html | 14 + .../analyse/benchmark_generator/index.html | 14 + .../analyse/benchmarking_data/index.html | 14 + .../binary_classification_stats/index.html | 14 + .../index.html | 14 + .../gene_prioritisation_analysis/index.html | 14 + api/pheval/analyse/generate_plots/index.html | 14 + .../generate_summary_outputs/index.html | 14 + .../parse_benchmark_summary/index.html | 14 + .../analyse/parse_pheval_result/index.html | 14 + .../prioritisation_rank_recorder/index.html | 14 + .../prioritisation_result_types/index.html | 14 + api/pheval/analyse/rank_stats/index.html | 14 + api/pheval/analyse/run_data_parser/index.html | 14 + .../index.html | 14 + api/pheval/cli/index.html | 120 +- api/pheval/config_parser/index.html | 14 + api/pheval/constants/index.html | 14 + api/pheval/infra/exomiserdb/index.html | 14 + .../post_processing/index.html | 14 + .../create_noisy_phenopackets/index.html | 14 + .../prepare/create_spiked_vcf/index.html | 14 + .../prepare/custom_exceptions/index.html | 18 +- api/pheval/prepare/prepare_corpus/index.html | 1587 +++++++++++++++++ .../prepare/update_phenopacket/index.html | 42 +- api/pheval/run_metadata/index.html | 14 + api/pheval/runners/runner/index.html | 14 + api/pheval/utils/exomiser/index.html | 14 + api/pheval/utils/file_utils/index.html | 14 + api/pheval/utils/phenopacket_utils/index.html | 1110 ++++++++---- api/pheval/utils/semsim_utils/index.html | 14 + api/pheval/utils/utils/index.html | 14 + contact/index.html | 14 + contributing/index.html | 14 + developing_a_pheval_plugin/index.html | 126 +- exomiser_pipeline/index.html | 14 + index.html | 14 + objects.inv | Bin 2714 -> 2761 bytes pipeline/index.html | 14 + plugins/index.html | 14 + roadmap/index.html | 14 + search/search_index.json | 2 +- sitemap.xml | 89 +- sitemap.xml.gz | Bin 627 -> 636 bytes styleguide/index.html | 14 + 48 files changed, 3210 insertions(+), 416 deletions(-) create mode 100644 api/pheval/prepare/prepare_corpus/index.html diff --git a/404.html b/404.html index fe810e38d..5ec9cfd56 100644 --- a/404.html +++ b/404.html @@ -827,6 +827,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/CODE_OF_CONDUCT/index.html b/CODE_OF_CONDUCT/index.html index e3a4d997e..9ff42f4ac 100644 --- a/CODE_OF_CONDUCT/index.html +++ b/CODE_OF_CONDUCT/index.html @@ -834,6 +834,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/about/index.html b/about/index.html index 90feba4c2..3b634a095 100644 --- a/about/index.html +++ b/about/index.html @@ -844,6 +844,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/analysis/index.html b/api/pheval/analyse/analysis/index.html index d25e571ee..62fdc1872 100644 --- a/api/pheval/analyse/analysis/index.html +++ b/api/pheval/analyse/analysis/index.html @@ -889,6 +889,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/benchmark_generator/index.html b/api/pheval/analyse/benchmark_generator/index.html index b0a7920eb..3a6fd255e 100644 --- a/api/pheval/analyse/benchmark_generator/index.html +++ b/api/pheval/analyse/benchmark_generator/index.html @@ -903,6 +903,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/benchmarking_data/index.html b/api/pheval/analyse/benchmarking_data/index.html index d1e7264e6..d3f624ed4 100644 --- a/api/pheval/analyse/benchmarking_data/index.html +++ b/api/pheval/analyse/benchmarking_data/index.html @@ -882,6 +882,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/binary_classification_stats/index.html b/api/pheval/analyse/binary_classification_stats/index.html index 5064a105f..44e5c75c0 100644 --- a/api/pheval/analyse/binary_classification_stats/index.html +++ b/api/pheval/analyse/binary_classification_stats/index.html @@ -993,6 +993,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/disease_prioritisation_analysis/index.html b/api/pheval/analyse/disease_prioritisation_analysis/index.html index 854166793..55a491bd4 100644 --- a/api/pheval/analyse/disease_prioritisation_analysis/index.html +++ b/api/pheval/analyse/disease_prioritisation_analysis/index.html @@ -916,6 +916,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/gene_prioritisation_analysis/index.html b/api/pheval/analyse/gene_prioritisation_analysis/index.html index f6d82a950..91bd075ed 100644 --- a/api/pheval/analyse/gene_prioritisation_analysis/index.html +++ b/api/pheval/analyse/gene_prioritisation_analysis/index.html @@ -916,6 +916,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/generate_plots/index.html b/api/pheval/analyse/generate_plots/index.html index 79c75e9b2..08bb76deb 100644 --- a/api/pheval/analyse/generate_plots/index.html +++ b/api/pheval/analyse/generate_plots/index.html @@ -958,6 +958,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/generate_summary_outputs/index.html b/api/pheval/analyse/generate_summary_outputs/index.html index 4f92e95df..6fa093dfe 100644 --- a/api/pheval/analyse/generate_summary_outputs/index.html +++ b/api/pheval/analyse/generate_summary_outputs/index.html @@ -930,6 +930,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/parse_benchmark_summary/index.html b/api/pheval/analyse/parse_benchmark_summary/index.html index f9cf358e7..65e89a642 100644 --- a/api/pheval/analyse/parse_benchmark_summary/index.html +++ b/api/pheval/analyse/parse_benchmark_summary/index.html @@ -889,6 +889,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/parse_pheval_result/index.html b/api/pheval/analyse/parse_pheval_result/index.html index 12ce8d02c..e7eb495cc 100644 --- a/api/pheval/analyse/parse_pheval_result/index.html +++ b/api/pheval/analyse/parse_pheval_result/index.html @@ -889,6 +889,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/prioritisation_rank_recorder/index.html b/api/pheval/analyse/prioritisation_rank_recorder/index.html index 2aa915e3e..b222f91ae 100644 --- a/api/pheval/analyse/prioritisation_rank_recorder/index.html +++ b/api/pheval/analyse/prioritisation_rank_recorder/index.html @@ -895,6 +895,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/prioritisation_result_types/index.html b/api/pheval/analyse/prioritisation_result_types/index.html index 0b5a0856d..012ebd7c4 100644 --- a/api/pheval/analyse/prioritisation_result_types/index.html +++ b/api/pheval/analyse/prioritisation_result_types/index.html @@ -896,6 +896,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/rank_stats/index.html b/api/pheval/analyse/rank_stats/index.html index 876f57f41..4d02cb19f 100644 --- a/api/pheval/analyse/rank_stats/index.html +++ b/api/pheval/analyse/rank_stats/index.html @@ -1020,6 +1020,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/run_data_parser/index.html b/api/pheval/analyse/run_data_parser/index.html index 44162fc8d..8c5ac0f1d 100644 --- a/api/pheval/analyse/run_data_parser/index.html +++ b/api/pheval/analyse/run_data_parser/index.html @@ -889,6 +889,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/analyse/variant_prioritisation_analysis/index.html b/api/pheval/analyse/variant_prioritisation_analysis/index.html index cc1ba22d4..bb025fe14 100644 --- a/api/pheval/analyse/variant_prioritisation_analysis/index.html +++ b/api/pheval/analyse/variant_prioritisation_analysis/index.html @@ -916,6 +916,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/cli/index.html b/api/pheval/cli/index.html index b218cf557..794646fc9 100644 --- a/api/pheval/cli/index.html +++ b/api/pheval/cli/index.html @@ -466,6 +466,13 @@ generate-stats-plot +
  • + +
  • + + prepare-corpus + +
  • @@ -962,6 +969,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket @@ -1339,6 +1360,13 @@ generate-stats-plot +
  • + +
  • + + prepare-corpus + +
  • @@ -1567,6 +1595,7 @@
    pheval-utils
  • benchmark-comparison: Benchmark the gene/variant/disease prioritisation performance for two runs.
  • create-spiked-vcfs:
  • generate-stats-plot: Generate bar plot from benchmark stats summary tsv.
  • +
  • prepare-corpus:
  • scramble-phenopackets: Generate noisy phenopackets from existing ones.
  • semsim-scramble: Scrambles semsim profile multiplying score value by scramble factor
  • semsim-to-exomiserdb: ingests semsim file into exomiser phenotypic database
  • @@ -1807,19 +1836,19 @@
    generate-stats-plot
    --gene-analysis / --no-gene-analysis boolean -Specify analysis for gene prioritisation NOTE: This argument is mutually exclusive with arguments: [disease_analysis, variant_analysis]. +Specify analysis for gene prioritisation NOTE: This argument is mutually exclusive with arguments: [variant_analysis, disease_analysis]. False --variant-analysis / --no-variant-analysis boolean -Specify analysis for variant prioritisation NOTE: This argument is mutually exclusive with arguments: [gene_analysis, disease_analysis]. +Specify analysis for variant prioritisation NOTE: This argument is mutually exclusive with arguments: [disease_analysis, gene_analysis]. False --disease-analysis / --no-disease-analysis boolean -Specify analysis for disease prioritisation NOTE: This argument is mutually exclusive with arguments: [gene_analysis, variant_analysis]. +Specify analysis for disease prioritisation NOTE: This argument is mutually exclusive with arguments: [variant_analysis, gene_analysis]. False @@ -1842,6 +1871,91 @@
    generate-stats-plot
    +
    prepare-corpus
    +

    Prepare a corpus of Phenopackets for analysis, optionally checking for complete variant records and updating +gene identifiers.

    +
    Args:
    +    phenopacket_dir (Path): The path to the directory containing Phenopackets.
    +    variant_analysis (bool): If True, check for complete variant records in the Phenopackets.
    +    gene_analysis (bool): If True, check for complete gene records in the Phenopackets.
    +    disease_analysis (bool): If True, check for complete disease records in the Phenopackets.
    +    gene_identifier (str): Identifier for updating gene identifiers, if applicable.
    +    hg19_template_vcf (Path): Path to the hg19 template VCF file (optional), to spike variants into
    +    VCFs for variant-based analysis at least one of hg19_template_vcf or hg38_template_vcf is required.
    +    hg38_template_vcf (Path): Path to the hg38 template VCF file (optional), to spike variants into
    +    VCFs for variant-based analysis at least one of hg19_template_vcf or hg38_template_vcf is required.
    +    output_dir (Path): The directory to save the prepared Phenopackets and, optionally, VCF files.
    +
    +

    Usage:

    +
    pheval-utils prepare-corpus [OPTIONS]
    +
    +

    Options:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescriptionDefault
    --phenopacket-dir, -pPathPath to phenopacket corpus directory.._required
    --variant-analysis / --no-variant-analysisbooleanSpecify whether to check for complete variant records in the phenopackets.False
    --gene-analysis / --no-gene-analysisbooleanSpecify whether to check for complete gene records in the phenopackets.False
    --disease-analysis / --no-disease-analysisbooleanSpecify whether to check for complete disease records in the phenopackets.False
    --gene-identifier, -gchoice (ensembl_id | entrez_id | hgnc_id)Gene identifier to update in phenopacketNone
    --hg19-template-vcf, -hg19PathTemplate hg19 VCF fileNone
    --hg38-template-vcf, -hg38PathTemplate hg38 VCF fileNone
    --output-dir, -oPathPath to output prepared corpus.prepared_corpus
    --helpbooleanShow this message and exit.False
    scramble-phenopackets

    Generate noisy phenopackets from existing ones.

    Usage:

    diff --git a/api/pheval/config_parser/index.html b/api/pheval/config_parser/index.html index e36f9372f..8c7dec36b 100644 --- a/api/pheval/config_parser/index.html +++ b/api/pheval/config_parser/index.html @@ -887,6 +887,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/constants/index.html b/api/pheval/constants/index.html index 7f6e25d48..f9348e583 100644 --- a/api/pheval/constants/index.html +++ b/api/pheval/constants/index.html @@ -873,6 +873,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/infra/exomiserdb/index.html b/api/pheval/infra/exomiserdb/index.html index be8116f4e..a83fbbdc2 100644 --- a/api/pheval/infra/exomiserdb/index.html +++ b/api/pheval/infra/exomiserdb/index.html @@ -935,6 +935,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/post_processing/post_processing/index.html b/api/pheval/post_processing/post_processing/index.html index 7e59ee982..58bc0df6f 100644 --- a/api/pheval/post_processing/post_processing/index.html +++ b/api/pheval/post_processing/post_processing/index.html @@ -1058,6 +1058,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/prepare/create_noisy_phenopackets/index.html b/api/pheval/prepare/create_noisy_phenopackets/index.html index 048bc7ef2..66e81f3ad 100644 --- a/api/pheval/prepare/create_noisy_phenopackets/index.html +++ b/api/pheval/prepare/create_noisy_phenopackets/index.html @@ -972,6 +972,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/prepare/create_spiked_vcf/index.html b/api/pheval/prepare/create_spiked_vcf/index.html index d70ce0725..90919ae62 100644 --- a/api/pheval/prepare/create_spiked_vcf/index.html +++ b/api/pheval/prepare/create_spiked_vcf/index.html @@ -1088,6 +1088,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket diff --git a/api/pheval/prepare/custom_exceptions/index.html b/api/pheval/prepare/custom_exceptions/index.html index 6d10ecbbd..e58649b1c 100644 --- a/api/pheval/prepare/custom_exceptions/index.html +++ b/api/pheval/prepare/custom_exceptions/index.html @@ -889,6 +889,20 @@ +
  • + + Prepare corpus + +
  • + + + + + + + + +
  • Update phenopacket @@ -1457,13 +1471,13 @@