Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next minor release. #174

Merged
merged 25 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4f8d071
Support for BAMs that lack basemods.
williamrowell Dec 9, 2024
85472e8
update wdl-ci config file after successful tests
github-actions[bot] Dec 9, 2024
342d259
Support input without rq values.
williamrowell Dec 9, 2024
8445aed
update wdl-ci config file after successful tests
github-actions[bot] Dec 10, 2024
ecdbf3e
Added merge_bam_stats test for sample with no rq.
williamrowell Dec 10, 2024
381313b
update wdl-ci config file after successful tests
github-actions[bot] Dec 10, 2024
71a1115
Updated to TRGT v1.4.1.
williamrowell Nov 27, 2024
a0504ae
Address trgt OOM errors when using catalogs with very low complexity …
williamrowell Dec 13, 2024
b7934ed
update wdl-ci config file after successful tests
github-actions[bot] Dec 17, 2024
c3734ab
Merge pull request #173 from PacificBiosciences/feature/trgt-v1.4.1
williamrowell Dec 17, 2024
108657f
Update to pbmm2 v1.16.99 prerelease.
williamrowell Dec 18, 2024
d959399
update wdl-ci config file after successful tests
github-actions[bot] Dec 18, 2024
79e2640
Merge pull request #177 from PacificBiosciences/fix/pbmm2-1.16.99
williamrowell Dec 20, 2024
a6a0565
Filter `NO_READS` no-call lines from StarPhase input to PharmCAT.
williamrowell Dec 18, 2024
0e6292a
update wdl-ci config file after successful tests
github-actions[bot] Dec 18, 2024
21ab0ef
Only attempt to run PharmCAT if at least one PharmCAT region has dept…
williamrowell Dec 18, 2024
d291a4d
update wdl-ci config file after successful tests
github-actions[bot] Dec 18, 2024
8e62d96
Added test for exclusion of NO_READS.
williamrowell Dec 18, 2024
1b76849
update wdl-ci config file after successful tests
github-actions[bot] Dec 18, 2024
34466b0
update wdl-ci config file after successful tests
github-actions[bot] Dec 18, 2024
9c55fc5
Merge pull request #176 from PacificBiosciences/fix/remove_starphase_…
williamrowell Dec 20, 2024
91c07c7
Update trgt coverage_dropouts task to use trgt v1.4.1 docker image.
williamrowell Jan 10, 2025
9455956
Update docs.
williamrowell Jan 10, 2025
507d6bf
Update documentation for #178
williamrowell Jan 10, 2025
24ce228
update wdl-ci config file after successful tests
github-actions[bot] Jan 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ Both workflows are designed to analyze human PacBio whole genome sequencing (WGS

This is an actively developed workflow with multiple versioned releases, and we make use of git submodules for common tasks that are shared by multiple workflows. There are two ways to ensure you are using a supported release of the workflow and ensure that the submodules are correctly initialized:

1) Download the release zips directly from a [supported release](https://github.com/PacificBiosciences/HiFi-human-WGS-WDL/releases/tag/v2.0.7):
1) Download the release zips directly from a [supported release](https://github.com/PacificBiosciences/HiFi-human-WGS-WDL/releases/tag/v2.1.0):

```bash
wget https://github.com/PacificBiosciences/HiFi-human-WGS-WDL/releases/download/v2.0.7/hifi-human-wgs-singleton.zip
wget https://github.com/PacificBiosciences/HiFi-human-WGS-WDL/releases/download/v2.0.7/hifi-human-wgs-family.zip
wget https://github.com/PacificBiosciences/HiFi-human-WGS-WDL/releases/download/v2.1.0/hifi-human-wgs-singleton.zip
wget https://github.com/PacificBiosciences/HiFi-human-WGS-WDL/releases/download/v2.1.0/hifi-human-wgs-family.zip
```

2) Clone the repository and initialize the submodules:

```bash
git clone \
--depth 1 --branch v2.0.7 \
--depth 1 --branch v2.1.0 \
--recursive \
https://github.com/PacificBiosciences/HiFi-human-WGS-WDL.git
```

## Resource requirements

The most resource-heavy step in the workflow requires 64 cores and 256 GB of RAM. Ensure that the backend environment you're using has enough quota to run the workflow.
The most resource-heavy step in the workflow requires 64 cpu cores and 256 GB of RAM. Ensure that the backend environment you're using has enough quota to run the workflow.

On some backends, you may be able to make use of a GPU to accelerate the DeepVariant step. The GPU is not required, but it can significantly speed up the workflow. If you have access to a GPU, you can set the `gpu` parameter to `true` in the inputs JSON file.

Expand Down
8 changes: 8 additions & 0 deletions docs/backend-hpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ Either `miniwdl` or `Cromwell` can be used to run workflows on the HPC.

An [example miniwdl.cfg file](https://github.com/PacificBiosciences/HiFi-human-WGS-WDL/blob/main/backends/hpc/miniwdl.cfg) is provided here. This should be placed at `~/.config/miniwdl.cfg` and edited to match your slurm configuration. This allows running workflows using a basic SLURM setup.

> [!IMPORTANT]
> In order to simplify workflow inputs, we make use of `map` files to specify the input data. This allows for a more concise input file, but requires changing a miniwdl configuration option to allow workflows to access files that are not expressly supplied with workflow inputs. To enable this, add the following line to your `miniwdl.cfg` file:
> ```ini
> [file_io]
> allow_any_input = true
> ```
> This option is already included in the example miniwdl.cfg file described in this section.

## Installing and configuring `Cromwell`

Cromwell supports a number of different HPC backends; see [Cromwell's documentation](https://cromwell.readthedocs.io/en/stable/backends/HPC/) for more information on configuring each of the backends. Cromwell can be used in a standalone "run" mode, or in "server" mode to allow for multiple users to submit workflows. In the example below, we provide example commands for running Cromwell in "run" mode.
Expand Down
28 changes: 14 additions & 14 deletions docs/family.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ The `Sample` struct contains sample specific data and metadata. The struct has t
| File | stats_file | Table of summary statistics | |
| Array\[File\] | bam_stats | BAM stats | Per-read length and read-quality |
| Array\[File\] | read_length_plot | Read length plot | |
| Array\[File\] | read_quality_plot | Read quality plot | |
| Array\[File?\] | read_quality_plot | Read quality plot | |
| Array\[File\] | merged_haplotagged_bam | Merged, haplotagged alignments | Includes unmapped reads |
| Array\[File\] | merged_haplotagged_bam_index | | |
| Array\[File\] | mosdepth_summary | Summary of aligned read depth. | |
Expand Down Expand Up @@ -223,15 +223,15 @@ The `Sample` struct contains sample specific data and metadata. The struct has t

| Type | Name | Description | Notes |
| ---- | ---- | ----------- | ----- |
| Array\[File\] | cpg_hap1_bed | CpG hap1 BED | |
| Array\[File\] | cpg_hap1_bed_index | | |
| Array\[File\] | cpg_hap2_bed | CpG hap2 BED | |
| Array\[File\] | cpg_hap2_bed_index | | |
| Array\[File\] | cpg_combined_bed | CpG combined BED | |
| Array\[File\] | cpg_combined_bed_index | | |
| Array\[File\] | cpg_hap1_bw | CpG hap1 BigWig | |
| Array\[File\] | cpg_hap2_bw | CpG hap2 BigWig | |
| Array\[File\] | cpg_combined_bw | CpG combined BigWig | |
| Array\[File?\] | cpg_hap1_bed | CpG hap1 BED | |
| Array\[File?\] | cpg_hap1_bed_index | | |
| Array\[File?\] | cpg_hap2_bed | CpG hap2 BED | |
| Array\[File?\] | cpg_hap2_bed_index | | |
| Array\[File?\] | cpg_combined_bed | CpG combined BED | |
| Array\[File?\] | cpg_combined_bed_index | | |
| Array\[File?\] | cpg_hap1_bw | CpG hap1 BigWig | |
| Array\[File?\] | cpg_hap2_bw | CpG hap2 BigWig | |
| Array\[File?\] | cpg_combined_bw | CpG combined BigWig | |
| Array\[String\] | stat_cpg_hap1_count | Hap1 CpG count | |
| Array\[String\] | stat_cpg_hap2_count | Hap2 CpG count | |
| Array\[String\] | stat_cpg_combined_count | Combined CpG count | |
Expand All @@ -241,10 +241,10 @@ The `Sample` struct contains sample specific data and metadata. The struct has t
| Type | Name | Description | Notes |
| ---- | ---- | ----------- | ----- |
| Array\[File\] | pbstarphase_json | PBstarPhase JSON | Haplotype calls for PGx loci |
| Array\[File\] | pharmcat_match_json | PharmCAT match JSON | |
| Array\[File\] | pharmcat_phenotype_json | PharmCAT phenotype JSON | |
| Array\[File\] | pharmcat_report_html | PharmCAT report HTML | |
| Array\[File\] | pharmcat_report_json | PharmCAT report JSON | |
| Array\[File?\] | pharmcat_match_json | PharmCAT match JSON | |
| Array\[File?\] | pharmcat_phenotype_json | PharmCAT phenotype JSON | |
| Array\[File?\] | pharmcat_report_html | PharmCAT report HTML | |
| Array\[File?\] | pharmcat_report_json | PharmCAT report JSON | |

### Tertiary Analysis

Expand Down
4 changes: 4 additions & 0 deletions docs/pharmcat.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ flowchart TD
filter --> pharmcat["PharmCat"]
pharmcat --> outputs[/"PharmCat outputs"/]
```

[PharmCat (Pharmacogenomics Clinical Annotation Tool)](https://pharmcat.org) analyzes genetic variants and predicts drug response. In this subworkflow implementation, PharmCat will use a combination of the small variant VCF and pbStarPhase outupts. PharmCat outputs will only be generated if the depth at the variant position is greater than `pharmcat_min_coverage` (default `10`). If no variants pass this filter, no outputs will be generated.

Citation: K Sangkuhl & M Whirl-Carrillo, et al. Pharmacogenomics Clinical Annotation Tool (PharmCAT). Clinical Pharmacology & Therapeutics (2020) 107(1):203-210. [https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6977333](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6977333).
28 changes: 14 additions & 14 deletions docs/singleton.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ flowchart TD
| File | stats_file | Table of summary statistics | |
| File | bam_stats | BAM stats | Per-read length and read-quality |
| File | read_length_plot | Read length plot | |
| File | read_quality_plot | Read quality plot | |
| File? | read_quality_plot | Read quality plot | |
| File | merged_haplotagged_bam | Merged, haplotagged alignments | Includes unmapped reads |
| File | merged_haplotagged_bam_index | | |
| File | mosdepth_summary | Summary of aligned read depth. | |
Expand Down Expand Up @@ -182,15 +182,15 @@ flowchart TD

| Type | Name | Description | Notes |
| ---- | ---- | ----------- | ----- |
| File | cpg_hap1_bed | CpG hap1 BED | |
| File | cpg_hap1_bed_index | | |
| File | cpg_hap2_bed | CpG hap2 BED | |
| File | cpg_hap2_bed_index | | |
| File | cpg_combined_bed | CpG combined BED | |
| File | cpg_combined_bed_index | | |
| File | cpg_hap1_bw | CpG hap1 BigWig | |
| File | cpg_hap2_bw | CpG hap2 BigWig | |
| File | cpg_combined_bw | CpG combined BigWig | |
| File? | cpg_hap1_bed | CpG hap1 BED | |
| File? | cpg_hap1_bed_index | | |
| File? | cpg_hap2_bed | CpG hap2 BED | |
| File? | cpg_hap2_bed_index | | |
| File? | cpg_combined_bed | CpG combined BED | |
| File? | cpg_combined_bed_index | | |
| File? | cpg_hap1_bw | CpG hap1 BigWig | |
| File? | cpg_hap2_bw | CpG hap2 BigWig | |
| File? | cpg_combined_bw | CpG combined BigWig | |
| String | stat_cpg_hap1_count | Hap1 CpG count | |
| String | stat_cpg_hap2_count | Hap2 CpG count | |
| String | stat_cpg_combined_count | Combined CpG count | |
Expand All @@ -200,10 +200,10 @@ flowchart TD
| Type | Name | Description | Notes |
| ---- | ---- | ----------- | ----- |
| File | pbstarphase_json | PBstarPhase JSON | Haplotype calls for PGx loci |
| File | pharmcat_match_json | PharmCAT match JSON | |
| File | pharmcat_phenotype_json | PharmCAT phenotype JSON | |
| File | pharmcat_report_html | PharmCAT report HTML | |
| File | pharmcat_report_json | PharmCAT report JSON | |
| File? | pharmcat_match_json | PharmCAT match JSON | |
| File? | pharmcat_phenotype_json | PharmCAT phenotype JSON | |
| File? | pharmcat_report_html | PharmCAT report HTML | |
| File? | pharmcat_report_json | PharmCAT report JSON | |

### Tertiary Analysis

Expand Down
Loading