-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #264 from NationalGenomicsInfrastructure/monthly
Monthly merge Jul 2024
- Loading branch information
Showing
30 changed files
with
173 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
multiqc_repo: https://github.com/ewels/MultiQC.git | ||
multiqc_dest: "{{ sw_path }}/multiqc" | ||
multiqc_version: "v1.21" | ||
multiqc_version: "v1.22.3" | ||
|
||
multiqc_ngi_repo: https://github.com/NationalGenomicsInfrastructure/MultiQC_NGI.git | ||
multiqc_ngi_dest: "{{ sw_path }}/multiqc_ngi" | ||
multiqc_ngi_version: "0.7.2" | ||
multiqc_ngi_version: "0.8.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
java_home: /sw/comp/java/x86_64/OracleJDK_11.0.9 | ||
nextflow_java: "{{ java_home }}" | ||
nextflow_version_tag: 22.10.6 | ||
nextflow_download_url: https://github.com/nextflow-io/nextflow/releases/download/v{{ nextflow_version_tag }}/nextflow-{{ nextflow_version_tag }}-all | ||
nextflow_version_tag: 24.04.1 | ||
nextflow_download_url: https://github.com/nextflow-io/nextflow/releases/download/v{{ nextflow_version_tag }}/nextflow | ||
nf_validation_version: 1.1.2 | ||
nextflow_local_env: | ||
NXF_HOME: "{{ nextflow_dest }}/workfiles" | ||
NXF_OPTS: -Xms1g -Xmx3500m | ||
NXF_JAVA_HOME: "{{ nextflow_java }}" | ||
NXF_PLUGINS_DIR: "{{ nextflow_dest }}/workfiles/plugins" | ||
PATH: "{{ tools_path.PATH }}" | ||
nextflow_env: | ||
NXF_HOME: "{{ nextflow_dest }}/workfiles" | ||
NXF_LAUNCHER: "$PWD/work" | ||
NXF_TEMP: "{{ ngi_pipeline_nobackup }}/nextflow/temp" | ||
NXF_WORK: "{{ ngi_pipeline_nobackup }}/nextflow/work" | ||
NXF_OPTS: -Xms1g -Xmx3500m | ||
NXF_JAVA_HOME: "{{ nextflow_java }}" | ||
NXF_PLUGINS_DIR: "{{ nextflow_dest }}/workfiles/plugins" | ||
NXF_SINGULARITY_HOME_MOUNT: true | ||
PATH: "{{ tools_path.PATH }}" | ||
nextflow_plugins: | ||
- name: nf-validation | ||
version: 1.1.0 | ||
version: "{{ nf_validation_version }}" | ||
- name: nf-prov | ||
version: 1.2.1 | ||
- name: nf-tower | ||
version: 1.6.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
|
||
- name: create directory for {{ pipeline }} resources | ||
file: | ||
path: "{{ ngi_containers }}/{{ pipeline }}" | ||
state: directory | ||
|
||
- name: check if SILVA zip exists | ||
stat: | ||
get_attributes: no | ||
get_checksum: no | ||
get_mime: no | ||
path: "{{ ngi_containers }}/{{ pipeline }}/{{ extra_parameters.silva_zip }}" | ||
register: silva_stat | ||
|
||
- name: download SILVA classifier data | ||
get_url: | ||
url: "{{ extra_parameters.silva_base_url }}/{{ extra_parameters.silva_zip }}" | ||
dest: "{{ ngi_containers }}/{{ pipeline }}/{{ extra_parameters.silva_zip }}" | ||
when: not silva_stat.stat.exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
- name: create directory for {{ pipeline }} resources | ||
file: | ||
path: "{{ ngi_containers }}/{{ pipeline }}" | ||
state: directory | ||
|
||
# the eutils service will only tolerate 3 requests / second so make sure not to exceed this | ||
- name: download FASTA references | ||
get_url: | ||
url: "{{ ncbi_eutils_url }}/efetch.fcgi?db=nuccore&rettype=fasta&retmode=text&id={{ reference.accession }}" | ||
dest: "{{ ngi_containers }}/{{ pipeline }}/{{ reference.name }}_{{ reference.accession }}.fa" | ||
checksum: "sha1:{{ reference.sha1 }}" | ||
with_items: "{{ extra_parameters.references }}" | ||
loop_control: | ||
loop_var: reference | ||
|
||
# add methylseq-specific options to pipeline nextflow config | ||
- name: "add specific parameters to {{ site }} {{ pipeline }} nextflow config - 1" | ||
lineinfile: | ||
dest: "{{ ngi_pipeline_conf }}/{{ pipeline }}_{{ site }}.config" | ||
line: | | ||
params { | ||
genomes { | ||
backup: no | ||
|
||
- name: "add specific parameters to {{ site }} {{ pipeline }} nextflow config - 2" | ||
lineinfile: | ||
dest: "{{ ngi_pipeline_conf }}/{{ pipeline }}_{{ site }}.config" | ||
line: | | ||
'{{ reference.name }}' { | ||
fasta = "{{ ngi_containers }}/{{ pipeline }}/{{ reference.name }}_{{ reference.accession }}.fa" | ||
} | ||
backup: no | ||
with_items: "{{ extra_parameters.references }}" | ||
loop_control: | ||
loop_var: reference | ||
|
||
- name: "add specific parameters to {{ site }} {{ pipeline }} nextflow config - 3" | ||
lineinfile: | ||
dest: "{{ ngi_pipeline_conf }}/{{ pipeline }}_{{ site }}.config" | ||
line: | | ||
{{ ' }' }} | ||
{{ '}' }} | ||
backup: no |
Oops, something went wrong.