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

fix: Expose gene annotation params #16

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
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
3 changes: 3 additions & 0 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ reference:
build: GRCh38
# Ensembl release
release: 107
# flavor: "" # optional, e.g. chr_patch_hapl_scaff, see Ensembl FTP.
tedil marked this conversation as resolved.
Show resolved Hide resolved
# branch: "" # optional
tedil marked this conversation as resolved.
Show resolved Hide resolved

# for available downloads, please browse either of these views:
# * http://repeatmasker.org/genomicDatasets/RMGenomicDatasets.html
# * http://repeatmasker.org/genomicDatasets/RMGenomicDatasetsAlt.html
Expand Down
4 changes: 2 additions & 2 deletions workflow/rules/ref.smk
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ rule download_gene_annotation:
species=config["reference"]["species"],
build=config["reference"]["build"],
release=config["reference"]["release"],
flavor="", # optional, e.g. chr_patch_hapl_scaff, see Ensembl FTP.
branch="", # optional: specify branch
flavor=config["reference"].get("flavor", ""), # optional, e.g. chr_patch_hapl_scaff, see Ensembl FTP.
branch=config["reference"].get("branch", ""), # optional: specify branch
log:
"logs/download_gene_annotation.log",
cache: "omit-software" # save space and time with between workflow caching (see docs)
Expand Down
13 changes: 11 additions & 2 deletions workflow/schemas/config.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ properties:
type: integer
build:
type: string
flavor:
type: string
branch:
type: string
repeat_masker_download_link:
tedil marked this conversation as resolved.
Show resolved Hide resolved
type: string
required:
- species
- release
Expand Down Expand Up @@ -70,8 +76,11 @@ properties:
type: number
minimum: 0.0
maximum: 1.0
local:
type: boolean
mode:
type: array
items:
type: string
enum: ["local-smart", "local-strict", "global-smart", "global-strict"]
events:
$ref: "#/definitions/evententry"
description: "a map of <eventname: event> pairs"
Expand Down
Loading