Skip to content

Commit

Permalink
version 0.2: fixed output, slurm doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
tuzov committed Dec 30, 2022
1 parent 9896a30 commit 769f82b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion cloudgene.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: GI imputation pipeline
name: GI imputation pipeline
version: 0.1
version: 0.2
description: a cloudgene config for tst1.nf Imputation pipeline
author: Vlad Tuzov
website: https://github.com/tuzov/nf-tst
Expand Down
23 changes: 12 additions & 11 deletions tst1.nf → main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ params.vcffiles = params.vcfdir + params.input
vcf_ch = Channel.fromPath(params.vcffiles)

// outputs
params.out_dir = "/impute-data/outputs"
params.out_dir = params.outdir
//params.out_dir = "/impute-data/outputs"

// references
params.ref_dir = '/impute-data/reference/'
Expand All @@ -23,7 +24,7 @@ params.eagle_map = 'genetic_map_hg38_withX.txt'

process tabix {
//module "bcftools/1.16"
//publishDir "./"
publishDir "${out_dir}"
input:
path vcf

Expand All @@ -36,7 +37,7 @@ process tabix {

process qc1 {
//module "bcftools/1.16"
//publishDir "./"
publishDir "${out_dir}"
input:
path vcf

Expand All @@ -51,7 +52,7 @@ process qc1 {

process qc2 {
//module "bcftools/1.16"
//publishDir "./"
publishDir "${out_dir}"

input:
path bcf
Expand All @@ -70,7 +71,7 @@ process qc2 {

process qc3 {
//module "bcftools/1.16"
//publishDir "./"
publishDir "${out_dir}"
input:
path bcf

Expand All @@ -86,7 +87,7 @@ process qc3 {
process qc4 {
//module "any/plink2/20211217"
//module "bcftools/1.16"
//publishDir "./"
publishDir "${out_dir}"
input:
path bcf

Expand All @@ -103,7 +104,7 @@ process qc4 {

process qc5 {
//module "bcftools/1.16"
//publishDir "./", mode: 'copy', overwrite: true
publishDir "${out_dir}", mode: 'copy', overwrite: true
input:
path bcf

Expand All @@ -126,7 +127,7 @@ process phasing {
cpus 1
//

//publishDir "./"
publishDir "${out_dir}"

input:
path bcf
Expand All @@ -149,11 +150,11 @@ process impute {
memory '8 GB'
//

//publishDir "./"
publishDir "${params.out_dir}"
publishDir "${out_dir}"
//publishDir "${params.out_dir}"

input:
val ch
val ch
path bcf

output:
Expand Down

0 comments on commit 769f82b

Please sign in to comment.