why my process only open once

7 views
Skip to first unread message

huang long

unread,
May 19, 2022, 10:47:05 AM5/19/22
to Nextflow
dear all:


my code is


grouplist2.splitCsv(header:false,sep:'\t').groupTuple().set{groups}
process tajimaD1{
    publishDir "${params.outdir}/03.tajimaD", pattern:"*"
    queue "DNA"
    cpus 8
    executor "slurm"
    memory "30G"
    cache 'lenient'
    input:
        file vcf from filter_vcf2
        tuple gid,gfile from groups
    output:
        file "*.Tajima.D"
    script:
    """
       vcftools --gzvcf ${vcf} --remove-indels --TajimaD ${params.win} --keep ${gfile[0]} --out ${gid[1]}
    """
}

but I have already generate a 9 line grouplist2 file but when I run it only generate the first line

why
Reply all
Reply to author
Forward
0 new messages