Skip to content

Commit

Permalink
Merge pull request #537 from broadinstitute/mw/fix_ancestry_pca_paths
Browse files Browse the repository at this point in the history
Move PCA files to under ancestry_inference
  • Loading branch information
jkgoodrich authored Dec 7, 2023
2 parents 8b140ab + 3bcc34c commit e5ffe2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnomad_qc/v4/resources/sample_qc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Script containing sample QC related resources."""

from typing import Optional

from gnomad.resources.resource_utils import (
Expand Down Expand Up @@ -590,7 +591,7 @@ def _get_ancestry_pca_ht_path(
:return: Path to requested ancestry PCA file.
"""
return (
f"{get_sample_qc_root(version, test, data_type)}/gnomad.{data_type}.v{version}.pca_{part}{'_with_unreleasable_samples' if include_unreleasable_samples else ''}.ht"
f"{get_sample_qc_root(version, test, data_type)}/ancestry_inference/gnomad.{data_type}.v{version}.pca_{part}{'_with_unreleasable_samples' if include_unreleasable_samples else ''}.ht"
)


Expand Down

0 comments on commit e5ffe2e

Please sign in to comment.