Skip to content

Commit

Permalink
Merge pull request #375 from matrulda/sarek_taca_config_fix
Browse files Browse the repository at this point in the history
Write site specific resources to separate folders
  • Loading branch information
matrulda authored Oct 20, 2020
2 parents 8970dba + 8b91a1e commit 513abcc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion roles/sarek/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
- name: Create Delivery READMEs and add to TACA resources
template:
src: "DELIVERY.README.SAREK.txt.j2"
dest: "{{ ngi_resources }}/TACA/{{ item.site }}.DELIVERY.README.SAREK.txt"
dest: "{{ ngi_resources }}/TACA/{{ item.site }}/DELIVERY.README.SAREK.txt"
with_items:
- site: sthlm
- site: upps
Expand Down
10 changes: 8 additions & 2 deletions roles/taca/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@
- name: Create TACA delivery configs directory
file: path="{{ ngi_pipeline_conf }}/TACA" state=directory mode=g+s

- name: Create TACA resources folder
file: path="{{ ngi_resources }}/TACA" state=directory mode=g+s
- name: Create TACA resources folders for each site
file:
path: "{{ ngi_resources }}/TACA/{{ item }}"
state: directory
mode: g+s
with_items:
- "upps"
- "sthlm"

- set_fact:
site: "upps"
Expand Down
4 changes: 2 additions & 2 deletions roles/taca/templates/site_taca_sarek_delivery.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ deliver:
- <STAGINGPATH>/<SAMPLEID>/results/VariantCalling/
- required: True
-
- {{ ngi_resources }}/TACA/{{ site }}.DELIVERY.README.SAREK.txt
- <STAGINGPATH>/DELIVERY.README.SAREK.txt
- {{ ngi_resources }}/TACA/{{ site }}/DELIVERY.README.SAREK.txt
- <STAGINGPATH>
- required: True
-
- {{ ngi_resources }}/TACA/apply_recalibration.sh
Expand Down

0 comments on commit 513abcc

Please sign in to comment.