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

Add attributes mito_name and macs_gsize to fasta asset #2

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
remove comand_template_list command and add seek_keys from params
  • Loading branch information
mirpedrol committed Dec 13, 2022
commit 9d52c992a760e9c08667f9196755e6fb76ed6573
6 changes: 3 additions & 3 deletions asset_classes/fasta_attributes_asset_class.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ version: 0.0.1
description: Attributes to Sequences in the FASTA file. mito_name (Mitocondrial chromosome name) and macs_gsize (Genome size).
seek_keys:
mito_name:
value: "{name}"
value: "{params.name}"
description: Mitocondrial chromosome name
type: string
macs_gsize:
value: "{size}"
description: Genome size
value: "{params.name}"
description: Genome efective size
type: string
parents:
- fasta
4 changes: 1 addition & 3 deletions recipes/fasta_attributes_asset_recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
name:
description: Mitocondrial chromosome name
size:
description: Genome size
description: Genome efective size
assets:
fasta:
asset_class: fasta
Expand All @@ -19,8 +19,6 @@ inputs:
container: docker.io/databio/refgenie
default_tag: ''
command_template_list:
- export name={{params.name}}
- export size={{params.size}}
test:
inputs:
name: "MT"
Expand Down