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

Initial Release v1.0.0 #132

Open
wants to merge 887 commits into
base: master
Choose a base branch
from

Merge pull request #144 from tillenglert/bump_nf-test_version

39ee13f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Initial Release v1.0.0 #132

Merge pull request #144 from tillenglert/bump_nf-test_version
39ee13f
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Test Report failed Oct 18, 2024 in 0s

1 tests run, 0 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 1 in nf

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

nf.test mouse alleles within download path (allele prediction reduction)

Assertion failed: 

14 of 16 assertions failed
Raw output
Nextflow stdout:

N E X T F L O W  ~  version 23.04.0
Launching `/home/runner/work/metapep/metapep/main.nf` [nostalgic_shaw] DSL2 - revision: 7fa7aa2a4e
Downloading plugin [email protected]
WARN: Access to undefined parameter `monochromeLogs` -- Initialise it to a default value eg. `params.monochromeLogs = some_value`


------------------------------------------------------
                                        ,--./,-.
        ___     __   __   __   ___     /,-._.--~'
  |\ | |__  __ /  ` /  \ |__) |__         }  {
  | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                        `._,._,'
  nf-core/metapep v1.0.0
------------------------------------------------------
Core Nextflow options
  runName                   : nostalgic_shaw
  containerEngine           : docker
  launchDir                 : /home/runner/work/metapep/metapep/.nf-test/tests/6183a1a7db05f8512bca2196d4417b18
  workDir                   : /home/runner/work/metapep/metapep/.nf-test/tests/6183a1a7db05f8512bca2196d4417b18/work
  projectDir                : /home/runner/work/metapep/metapep
  userName                  : runner
  profile                   : test_mouse,docker
  configFiles               : 

Input/output options
  input                     : https://raw.githubusercontent.com/nf-core/test-datasets/metapep/samplesheets/v1.0/samplesheet.mouse.csv
  outdir                    : /home/runner/work/metapep/metapep/.nf-test/tests/6183a1a7db05f8512bca2196d4417b18/output

Institutional config options
  config_profile_name       : Test profile
  config_profile_description: Minimal test dataset to check pipeline function

Max job request options
  max_cpus                  : 2
  max_memory                : 6 GB
  max_time                  : 2d

Pipeline options
  min_pep_len               : 8

!! Only displaying parameters that differ from the pipeline defaults !!
------------------------------------------------------
If you use nf-core/metapep for your analysis please cite:

* The pipeline

* The nf-core framework
  https://doi.org/10.1038/s41587-020-0439-x

* Software dependencies
  https:/nf-core/metapep/blob/master/CITATIONS.md
------------------------------------------------------
[fb/14af77] Submitted process > NFCORE_METAPEP:METAPEP:PROCESS_INPUT:CHECK_SAMPLESHEET_CREATE_TABLES (samplesheet.mouse.csv)
[c5/20bf21] Submitted process > NFCORE_METAPEP:METAPEP:PROCESS_INPUT:UNIFY_MODEL_LENGTHS (samplesheet.valid.csv)
[90/6220bb] Submitted process > NFCORE_METAPEP:METAPEP:ASSIGN_NUCL_ENTITY_WEIGHTS (1)
[ce/6ea284] Submitted process > NFCORE_METAPEP:METAPEP:PRODIGAL (1)
WARN: There is no SYFPEITHI model available for at least one allele and the peptide lengths are reduced to the common denominator of the alleles.
WARN: For more information about which peptide lengths were used check '/home/runner/work/metapep/metapep/.nf-test/tests/6183a1a7db05f8512bca2196d4417b18/output/logs/WARNING_unify_peptide_lengths.log'
[4c/1be6cb] Submitted process > NFCORE_METAPEP:METAPEP:DOWNLOAD_PROTEINS ([0])
[0e/e2bf23] Submitted process > NFCORE_METAPEP:METAPEP:CREATE_PROTEIN_TSV (1)
[4c/1be6cb] NOTE: Process `NFCORE_METAPEP:METAPEP:DOWNLOAD_PROTEINS ([0])` terminated with an error exit status (1) -- Execution is retried (1)
[0a/362144] Re-submitted process > NFCORE_METAPEP:METAPEP:DOWNLOAD_PROTEINS ([0])
[0a/362144] NOTE: Process `NFCORE_METAPEP:METAPEP:DOWNLOAD_PROTEINS ([0])` terminated with an error exit status (1) -- Execution is retried (2)
[99/fff7d7] Re-submitted process > NFCORE_METAPEP:METAPEP:DOWNLOAD_PROTEINS ([0])
ERROR ~ Error executing process > 'NFCORE_METAPEP:METAPEP:DOWNLOAD_PROTEINS ([0])'

Caused by:
  Process `NFCORE_METAPEP:METAPEP:DOWNLOAD_PROTEINS ([0])` terminated with an error exit status (1)

Command executed:

  # provide new home dir to avoid permission errors with Docker and other artefacts
  export HOME="${PWD}/HOME"
  download_proteins_entrez.py --email $NCBI_EMAIL \
                              --key $NCBI_KEY \
                              -t taxids.tsv \
                              -m 0 \
                              -p proteins.entrez.tsv.gz \
                              -ta taxa_assemblies.tsv \
                              -ep entities_proteins.entrez.tsv \
                              -me microbiomes_entities.entrez.tsv \
                              2>&1 | tee download_proteins.log
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_METAPEP:METAPEP:DOWNLOAD_PROTEINS":
      python: $(python --version | sed 's/Python //g')
      biopython: $(python -c "import Bio; print(Bio.__version__)")
  END_VERSIONS

Command exit status:
  1

Command output:
  Processing the following taxonomy IDs:
  ['243273', '662945']
  Check if taxonomy IDs are on strain rank:
  Taxids succeeded strain level check.
  # taxa:  2
  # taxa without assemblyId:  2
  for each taxon without assemblyID retrieve assembly IDs ...
  get assembly lengths and select largest assembly for each taxon ...
  # selected assemblies:  0
  for each assembly get nucloetide sequence IDs...
  # nucleotide sequences (unique):  0
  for each nucleotide sequence get proteins ...
  # proteins (unique):  0
      download proteins ...
  Generated 1 chunks and start processing:
  Process chunk with 0 protein_ids:
  Traceback (most recent call last):
    File "/home/runner/work/metapep/metapep/bin/download_proteins_entrez.py", line 408, in <module>
      sys.exit(main())
    File "/home/runner/work/metapep/metapep/bin/download_proteins_entrez.py", line 343, in main
      protein_summaries.extend(Entrez.read(entrez_handle))
    File "/usr/local/lib/python3.9/site-packages/Bio/Entrez/__init__.py", line 508, in read
      record = handler.read(handle)
    File "/usr/local/lib/python3.9/site-packages/Bio/Entrez/Parser.py", line 304, in read
      self.parser.ParseFile(handle)
    File "/home/conda/feedstock_root/build_artifacts/python-split_1611624120657/work/Modules/pyexpat.c", line 459, in EndElement
    File "/usr/local/lib/python3.9/site-packages/Bio/Entrez/Parser.py", line 666, in endErrorElementHandler
      raise RuntimeError(value)
  RuntimeError: Empty id list - nothing todo

Command error:
  Processing the following taxonomy IDs:
  ['243273', '662945']
  Check if taxonomy IDs are on strain rank:
  Taxids succeeded strain level check.
  # taxa:  2
  # taxa without assemblyId:  2
  for each taxon without assemblyID retrieve assembly IDs ...
  get assembly lengths and select largest assembly for each taxon ...
  # selected assemblies:  0
  for each assembly get nucloetide sequence IDs...
  # nucleotide sequences (unique):  0
  for each nucleotide sequence get proteins ...
  # proteins (unique):  0
      download proteins ...
  Generated 1 chunks and start processing:
  Process chunk with 0 protein_ids:
  Traceback (most recent call last):
    File "/home/runner/work/metapep/metapep/bin/download_proteins_entrez.py", line 408, in <module>
      sys.exit(main())
    File "/home/runner/work/metapep/metapep/bin/download_proteins_entrez.py", line 343, in main
      protein_summaries.extend(Entrez.read(entrez_handle))
    File "/usr/local/lib/python3.9/site-packages/Bio/Entrez/__init__.py", line 508, in read
      record = handler.read(handle)
    File "/usr/local/lib/python3.9/site-packages/Bio/Entrez/Parser.py", line 304, in read
      self.parser.ParseFile(handle)
    File "/home/conda/feedstock_root/build_artifacts/python-split_1611624120657/work/Modules/pyexpat.c", line 459, in EndElement
    File "/usr/local/lib/python3.9/site-packages/Bio/Entrez/Parser.py", line 666, in endErrorElementHandler
      raise RuntimeError(value)
  RuntimeError: Empty id list - nothing todo

Work dir:
  /home/runner/work/metapep/metapep/.nf-test/tests/6183a1a7db05f8512bca2196d4417b18/work/99/fff7d7d8118c7dcdcdb43ff692c3e7

Tip: you can replicate the issue by changing to the process work dir and entering the command `bash .command.run`

 -- Check '/home/runner/work/metapep/metapep/.nf-test/tests/6183a1a7db05f8512bca2196d4417b18/meta/nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting

 -- Check '/home/runner/work/metapep/metapep/.nf-test/tests/6183a1a7db05f8512bca2196d4417b18/meta/nextflow.log' file for details
-[nf-core/metapep] Pipeline completed with errors-
Nextflow stderr: