mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-21 18:58:16 +00:00
update ensemblvep to 106.1 and cache to 106 (#1876)
This commit is contained in:
parent
b6ed584443
commit
973151e9ea
6 changed files with 31 additions and 31 deletions
|
@ -11,11 +11,11 @@ RUN conda env create -f /environment.yml && conda clean -a
|
|||
# Setup default ARG variables
|
||||
ARG GENOME=GRCh38
|
||||
ARG SPECIES=homo_sapiens
|
||||
ARG VEP_VERSION=105
|
||||
ARG VEP_TAG=105.0
|
||||
ARG VEP_CACHE_VERSION=106
|
||||
ARG VEP_VERSION=106.1
|
||||
|
||||
# Add conda installation dir to PATH (instead of doing 'conda activate')
|
||||
ENV PATH /opt/conda/envs/nf-core-vep-${VEP_TAG}/bin:$PATH
|
||||
ENV PATH /opt/conda/envs/nf-core-vep-${VEP_VERSION}/bin:$PATH
|
||||
|
||||
# Download Genome
|
||||
RUN vep_install \
|
||||
|
@ -23,9 +23,9 @@ RUN vep_install \
|
|||
-c .vep \
|
||||
-s ${SPECIES} \
|
||||
-y ${GENOME} \
|
||||
--CACHE_VERSION ${VEP_VERSION} \
|
||||
--CACHE_VERSION ${VEP_CACHE_VERSION} \
|
||||
--CONVERT \
|
||||
--NO_BIOPERL --NO_HTSLIB --NO_TEST --NO_UPDATE
|
||||
|
||||
# Dump the details of the installed packages to a file for posterity
|
||||
RUN conda env export --name nf-core-vep-${VEP_TAG} > nf-core-vep-${VEP_TAG}.yml
|
||||
RUN conda env export --name nf-core-vep-${VEP_VERSION} > nf-core-vep-${VEP_VERSION}.yml
|
||||
|
|
|
@ -6,23 +6,23 @@ set -euo pipefail
|
|||
build_push() {
|
||||
GENOME=$1
|
||||
SPECIES=$2
|
||||
VEP_VERSION=$3
|
||||
VEP_TAG=$4
|
||||
VEP_CACHE_VERSION=$3
|
||||
VEP_VERSION=$4
|
||||
|
||||
docker build \
|
||||
. \
|
||||
-t nfcore/vep:${VEP_TAG}.${GENOME} \
|
||||
-t nfcore/vep:${VEP_VERSION}.${GENOME} \
|
||||
--build-arg GENOME=${GENOME} \
|
||||
--build-arg SPECIES=${SPECIES} \
|
||||
--build-arg VEP_VERSION=${VEP_VERSION} \
|
||||
--build-arg VEP_TAG=${VEP_TAG}
|
||||
--build-arg VEP_CACHE_VERSION=${VEP_CACHE_VERSION} \
|
||||
--build-arg VEP_VERSION=${VEP_VERSION}
|
||||
|
||||
docker push nfcore/vep:${VEP_TAG}.${GENOME}
|
||||
docker push nfcore/vep:${VEP_VERSION}.${GENOME}
|
||||
}
|
||||
|
||||
build_push "GRCh37" "homo_sapiens" "105" "105.0"
|
||||
build_push "GRCh38" "homo_sapiens" "105" "105.0"
|
||||
build_push "GRCm38" "mus_musculus" "102" "105.0"
|
||||
build_push "GRCm39" "mus_musculus" "105" "105.0"
|
||||
build_push "CanFam3.1" "canis_lupus_familiaris" "104" "105.0"
|
||||
build_push "WBcel235" "caenorhabditis_elegans" "105" "105.0"
|
||||
build_push "GRCh37" "homo_sapiens" "106" "106.1"
|
||||
build_push "GRCh38" "homo_sapiens" "106" "106.1"
|
||||
build_push "GRCm38" "mus_musculus" "102" "106.1"
|
||||
build_push "GRCm39" "mus_musculus" "106" "106.1"
|
||||
build_push "CanFam3.1" "canis_lupus_familiaris" "104" "106.1"
|
||||
build_push "WBcel235" "caenorhabditis_elegans" "106" "106.1"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# You can use this file to create a conda environment for this module:
|
||||
# conda env create -f environment.yml
|
||||
name: nf-core-vep-105.0
|
||||
name: nf-core-vep-106.1
|
||||
channels:
|
||||
- conda-forge
|
||||
- bioconda
|
||||
- defaults
|
||||
|
||||
dependencies:
|
||||
- bioconda::ensembl-vep=105.0
|
||||
- bioconda::ensembl-vep=106.1
|
||||
|
|
|
@ -2,10 +2,10 @@ process ENSEMBLVEP {
|
|||
tag "$meta.id"
|
||||
label 'process_medium'
|
||||
|
||||
conda (params.enable_conda ? "bioconda::ensembl-vep=105.0" : null)
|
||||
conda (params.enable_conda ? "bioconda::ensembl-vep=106.1" : null)
|
||||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
||||
'https://depot.galaxyproject.org/singularity/ensembl-vep:105.0--pl5321h4a94de4_1' :
|
||||
'quay.io/biocontainers/ensembl-vep:105.0--pl5321h4a94de4_1' }"
|
||||
'https://depot.galaxyproject.org/singularity/ensembl-vep:106.1--pl5321h4a94de4_0' :
|
||||
'quay.io/biocontainers/ensembl-vep:106.1--pl5321h4a94de4_0' }"
|
||||
|
||||
input:
|
||||
tuple val(meta), path(vcf)
|
||||
|
|
|
@ -16,7 +16,7 @@ workflow test_ensemblvep_fasta_json {
|
|||
|
||||
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
||||
|
||||
ENSEMBLVEP_JSON ( input, "WBcel235", "caenorhabditis_elegans", "104", [], fasta, [] )
|
||||
ENSEMBLVEP_JSON ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
||||
}
|
||||
|
||||
workflow test_ensemblvep_fasta_tab {
|
||||
|
@ -27,7 +27,7 @@ workflow test_ensemblvep_fasta_tab {
|
|||
|
||||
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
||||
|
||||
ENSEMBLVEP_TAB ( input, "WBcel235", "caenorhabditis_elegans", "104", [], fasta, [] )
|
||||
ENSEMBLVEP_TAB ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
||||
}
|
||||
|
||||
workflow test_ensemblvep_fasta_vcf {
|
||||
|
@ -38,7 +38,7 @@ workflow test_ensemblvep_fasta_vcf {
|
|||
|
||||
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
||||
|
||||
ENSEMBLVEP_VCF ( input, "WBcel235", "caenorhabditis_elegans", "104", [], fasta, [] )
|
||||
ENSEMBLVEP_VCF ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
||||
}
|
||||
|
||||
workflow test_ensemblvep_fasta {
|
||||
|
@ -49,7 +49,7 @@ workflow test_ensemblvep_fasta {
|
|||
|
||||
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
||||
|
||||
ENSEMBLVEP ( input, "WBcel235", "caenorhabditis_elegans", "104", [], fasta, [] )
|
||||
ENSEMBLVEP ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
||||
}
|
||||
|
||||
workflow test_ensemblvep_no_fasta {
|
||||
|
@ -58,5 +58,5 @@ workflow test_ensemblvep_no_fasta {
|
|||
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
||||
]
|
||||
|
||||
ENSEMBLVEP ( input, "WBcel235", "caenorhabditis_elegans", "104", [], [], [] )
|
||||
ENSEMBLVEP ( input, "WBcel235", "caenorhabditis_elegans", "106", [], [], [] )
|
||||
}
|
||||
|
|
|
@ -3,21 +3,21 @@ process {
|
|||
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
||||
|
||||
withName: ENSEMBLVEP {
|
||||
container = 'nfcore/vep:104.3.WBcel235'
|
||||
container = 'nfcore/vep:106.1.WBcel235'
|
||||
}
|
||||
|
||||
withName: ENSEMBLVEP_JSON {
|
||||
container = 'nfcore/vep:104.3.WBcel235'
|
||||
container = 'nfcore/vep:106.1.WBcel235'
|
||||
ext.args = '--json'
|
||||
}
|
||||
|
||||
withName: ENSEMBLVEP_TAB {
|
||||
container = 'nfcore/vep:104.3.WBcel235'
|
||||
container = 'nfcore/vep:106.1.WBcel235'
|
||||
ext.args = '--tab'
|
||||
}
|
||||
|
||||
withName: ENSEMBLVEP_VCF {
|
||||
container = 'nfcore/vep:104.3.WBcel235'
|
||||
container = 'nfcore/vep:106.1.WBcel235'
|
||||
ext.args = '--vcf'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue