Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test data does not match the input check requirements #45

Closed
cahuparo opened this issue Feb 18, 2024 · 2 comments
Closed

Test data does not match the input check requirements #45

cahuparo opened this issue Feb 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cahuparo
Copy link
Contributor

Description of the bug

Hi @zachary-foster ,

I know you mentioned you were working on fixing the sample check script and converting it to an R script.

I was testing the pipeline to generate the record_message output for the report. I encounter the following issue:

nextflow.config.Manifest@3a7f7201
[3c/caa1f5] NOTE: Process `NFCORE_PATHOGENSURVEILLANCE:PATHOGENSURVEILLANCE:INPUT_CHECK:SAMPLESHEET_CHECK (metadata_full.csv)` terminated with an error exit status (1) -- Execution is retried (1)
ERROR ~ Error executing process > 'NFCORE_PATHOGENSURVEILLANCE:PATHOGENSURVEILLANCE:INPUT_CHECK:SAMPLESHEET_CHECK (metadata_full.csv)'

Caused by:
  Process `NFCORE_PATHOGENSURVEILLANCE:PATHOGENSURVEILLANCE:INPUT_CHECK:SAMPLESHEET_CHECK (metadata_full.csv)` terminated with an error exit status (1)

Command executed:

  check_samplesheet.py \
      metadata_full.csv \
      samplesheet.valid.csv
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_PATHOGENSURVEILLANCE:PATHOGENSURVEILLANCE:INPUT_CHECK:SAMPLESHEET_CHECK":
      python: $(python --version | sed 's/Python //g')
  END_VERSIONS

Command exit status:
  1

Command output:
  (empty)

Command error:
  [CRITICAL] The sample sheet **must** contain these column headers: fastq_1, sample, fastq_2.

Work dir:
  /nfs5/BPP/Grunwald_Lab/home/paradarc/pathogensurveillance/work/ca/00ab1aa2b9a3a2f8e72580320b41e7

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`

 -- Check '.nextflow.log' file for details

Command used and terminal output

nextflow run nf-core/pathogensurveillance --input https://raw.githubusercontent.com/grunwaldlab/pathogensurveillance/master/test/data/metadata_small.csv --outdir test_out --download_bakta_db true -profile mamba -resume

Relevant files

No response

System information

CQLS

@cahuparo cahuparo added the bug Something isn't working label Feb 18, 2024
@cahuparo
Copy link
Contributor Author

We solved this issue. I was using the wrong version of the pipeline. Instead of using the main.nf from the local installation:

nextflow run main.nf --input https://raw.githubusercontent.com/grunwaldlab/pathogensurveillance/master/test/data/metadata_small.csv --outdir test_out --download_bakta_db true -profile mamba -resume

@masudermann
Copy link
Contributor

This command worked for me too, with the docker profile.

nextflow run main.nf --input https://raw.githubusercontent.com/grunwaldlab/pathogensurveillance/master/test/data/metadata_small.csv --outdir test_out --download_bakta_db true -profile docker -resume

On my Linux computer, I found I needed to use Docker Engine, not Docker Desktop. I ran into lots of permissions and resource issues otherwise.

The following instruction was key, and something I missed the first time.

(https://docs.docker.com/engine/install/linux-postinstall/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants