Skip to content

Why does plink-qc.nf check for samplesheet, sample.phe, and idatpat?  #16

@mchimenti

Description

@mchimenti

Hello, I'm trying to run plink-qc.nf on my Linux HPC cluster with:

nextflow run -c my_nf.config /Users/mchiment/.nextflow/assets/h3abionet/h3agwas/plink-qc.nf -profile sgeSingularity --samplesheet "0" --idatpat ""

Where "sgeSingularity" is:
sgeSingularity {

process.executor = "sge"
singularity.autoMounts = true
singularity.enabled = true
process.queue = queue

}

I keep getting errors like this:

N E X T F L O W ~ version 19.01.0
Launching /Users/mchiment/.nextflow/assets/h3abionet/h3agwas/plink-qc.nf [agitated_lavoisier] - revision: 418f49aacb
Check idatpat=true ************** is it a valid parameter -- are you using one rather than two - signs or vice-versa
ERROR ~ Argument of file function cannot be empty

-- Check script 'plink-qc.nf' at line: 237 or see '.nextflow.log' file for more details

Line 237:

sample_sheet_ch = file(params.samplesheet)


Why is it checking for a samplesheet when the directions say we only need a BIM/BED/FAM file as input for this pipeline?

Similarly, if the pipeline also requires a "sample.phe" file, you should put that in the instructions. I had to create this by hand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions