流程管理器设计

最后发布时间 : 2025-04-08 22:12:30 浏览量 :

安装mysql作为数据存储

 docker run -d  --rm -p 53306:3306 \
   --name mysql \
   -e MYSQL_ROOT_PASSWORD=123456  \
   -e LANG=C.UTF-8 \
   -v /data/mysql:/var/lib/mysql \
   registry.cn-hangzhou.aliyuncs.com/wybioinfo/mysql:8.0.21 \
   --default-authentication-plugin=mysql_native_password \
  --character-set-server=utf8mb4 \
  --lower-case-table-names=1 \
  --collation-server=utf8mb4_unicode_ci

安装nextflow

mamba  install -c bioconda nextflow

安装mysql插件

生信小木屋

https://seqera.io/blog/deploying-nextflow-on-amazon-eks/

process {
    executor = 'slurm' 
    queue = 'short' 

    withLabel: bigTask {  
        executor = 'awsbatch' 
        queue = 'my-batch-queue' 
        container = 'my/image:tag' 
    }
}

aws {
    region = 'eu-west-1' 
}

https://training.nextflow.io/basic_training/executors/#hybrid-deployments

生信小木屋

https://www.nextflow.io/docs/latest/kubernetes.html

生信小木屋

https://github.com/mpc-bioinformatics/nf-cloud