There was an error while loading. Please reload this page.
1 parent b1e3382 commit 0993e25Copy full SHA for 0993e25
1 file changed
workflows/generate_divref.smk
@@ -53,7 +53,8 @@ TMP_DIR: Path = Path(config["tmp_dir"])
53
54
CHROMS: list[str] = config["chromosomes"]
55
# Haplotypes are computed for autosomes only; chrX/chrY contribute single gnomAD variants only.
56
-HAPLOTYPE_CHROMS: list[str] = [c for c in CHROMS if c not in ("chrX", "chrY")]
+_AUTOSOMES: frozenset[str] = frozenset(f"chr{n}" for n in range(1, 23))
57
+HAPLOTYPE_CHROMS: list[str] = [c for c in CHROMS if c in _AUTOSOMES]
58
59
REFERENCE_GENOME: str = config["reference_genome_base_name"]
60
REFERENCE_GENOME_URI: str = config["reference_genome_uri"]
0 commit comments