Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

olgabot/sourmash index #115

Closed
wants to merge 7 commits into from
Closed

olgabot/sourmash index #115

wants to merge 7 commits into from

Conversation

olgabot
Copy link
Collaborator

@olgabot olgabot commented Oct 28, 2020

nf-core/kmermaid pull request

Add option to do sourmash index.

PR checklist

  • This comment contains a description of changes (with reason)
  • If you've fixed a bug or added code that should be tested, add tests!
  • If necessary, also make a PR on the nf-core/kmermaid branch on the nf-core/test-datasets repo
  • Ensure the test suite passes (nextflow run . -profile test,docker).
  • Make sure your code lints (nf-core lint .).
  • Documentation in docs is updated
  • CHANGELOG.md is updated
  • README.md is updated

Learn more about contributing: CONTRIBUTING.md

@github-actions
Copy link

github-actions bot commented Oct 28, 2020

nf-core lint overall result: Failed ❌

Updated for pipeline commit a64765a

+| ✅ 110 tests passed       |+
!| ❗ 21 tests had warnings |!
-| ❌  1 tests failed       |-

❌ Test failures:

  • Test #9 - Could not find Dockerfile file string: FROM nfcore/base:1.11

❗ Test warnings:

  • Test #1 - File not found: .github/workflows/awstest.yml
  • Test #1 - File not found: .github/workflows/awsfulltest.yml
  • Test #6 - Found a bioconda environment.yml file but no badge in the README
  • Test #8 - Conda package is not latest available: conda-forge::python=3.7.3, 3.9.0 available
  • Test #8 - Conda package is not latest available: conda-forge::markdown=3.1.1, 3.3.3 available
  • Test #8 - Conda package is not latest available: conda-forge::pymdown-extensions=6.0, 8.0.1 available
  • Test #8 - Conda package is not latest available: conda-forge::pygments=2.5.2, 2.7.2 available
  • Test #8 - Conda package is not latest available: conda-forge::tqdm=4.43.0, 4.51.0 available
  • Test #8 - Conda package is not latest available: conda-forge::gxx_linux-64=7.3.0, 9.3.0 available
  • Test #8 - Conda package is not latest available: conda-forge::s3fs=0.4.2, 0.5.1 available
  • Test #8 - Conda package is not latest available: bioconda::samtools=1.10, 1.11 available
  • Test #8 - Conda package is not latest available: bioconda::pysam=0.16.0, 0.16.0.1 available
  • Test #8 - Conda package is not latest available: fastp=0.20.0, 0.20.1 available
  • Test #8 - Conda package is not latest available: matplotlib=3.1.1, 3.3.2 available
  • Test #8 - Conda package is not latest available: multiqc=1.8, 1.9 available
  • Test #8 - Conda package is not latest available: numpy=1.17.5, 1.19.2 available
  • Test #8 - Conda package is not latest available: pathos=0.2.5, 0.2.6 available
  • Test #8 - Conda package is not latest available: pip=20.0.2, 20.2.4 available
  • Test #8 - Conda package is not latest available: pytest=5.3.4, 6.1.1 available
  • Test #8 - Conda package is not latest available: sphinx=2.3.1, 3.2.1 available
  • Test #8 - Conda package is not latest available: sortmerna=2.1b, 4.2.0 available

✅ Tests passed:

  • Test #1 - File found: nextflow.config
  • Test #1 - File found: nextflow_schema.json
  • Test #1 - File found: LICENSE or LICENSE.md or LICENCE or LICENCE.md
  • Test #1 - File found: README.md
  • Test #1 - File found: CHANGELOG.md
  • Test #1 - File found: docs/README.md
  • Test #1 - File found: docs/output.md
  • Test #1 - File found: docs/usage.md
  • Test #1 - File found: .github/workflows/branch.yml
  • Test #1 - File found: .github/workflows/ci.yml
  • Test #1 - File found: .github/workflows/linting.yml
  • Test #1 - File found: main.nf
  • Test #1 - File found: environment.yml
  • Test #1 - File found: Dockerfile
  • Test #1 - File found: conf/base.config
  • Test #1 - File not found check: Singularity
  • Test #1 - File not found check: parameters.settings.json
  • Test #1 - File not found check: bin/markdown_to_html.r
  • Test #1 - File not found check: .travis.yml
  • Test #3 - Licence check passed
  • Test #2 - Dockerfile check passed
  • Test #4 - Config variable found: manifest.name
  • Test #4 - Config variable found: manifest.nextflowVersion
  • Test #4 - Config variable found: manifest.description
  • Test #4 - Config variable found: manifest.version
  • Test #4 - Config variable found: manifest.homePage
  • Test #4 - Config variable found: timeline.enabled
  • Test #4 - Config variable found: trace.enabled
  • Test #4 - Config variable found: report.enabled
  • Test #4 - Config variable found: dag.enabled
  • Test #4 - Config variable found: process.cpus
  • Test #4 - Config variable found: process.memory
  • Test #4 - Config variable found: process.time
  • Test #4 - Config variable found: params.outdir
  • Test #4 - Config variable found: params.input
  • Test #4 - Config variable found: manifest.mainScript
  • Test #4 - Config variable found: timeline.file
  • Test #4 - Config variable found: trace.file
  • Test #4 - Config variable found: report.file
  • Test #4 - Config variable found: dag.file
  • Test #4 - Config variable found: process.container
  • Test #4 - Config variable (correctly) not found: params.version
  • Test #4 - Config variable (correctly) not found: params.nf_required_version
  • Test #4 - Config variable (correctly) not found: params.container
  • Test #4 - Config variable (correctly) not found: params.singleEnd
  • Test #4 - Config variable (correctly) not found: params.igenomesIgnore
  • Test #4 - Config timeline.enabled had correct value: true
  • Test #4 - Config report.enabled had correct value: true
  • Test #4 - Config trace.enabled had correct value: true
  • Test #4 - Config dag.enabled had correct value: true
  • Test #4 - Config manifest.name began with nf-core/
  • Test #4 - Config variable manifest.homePage began with https://github.com/nf-core/
  • Test #4 - Config dag.file ended with .svg
  • Test #4 - Config variable manifest.nextflowVersion started with >= or !>=
  • Test #4 - Config process.container looks correct: nfcore/kmermaid:dev
  • Test #4 - Config manifest.version ends in dev: '1.0.0dev'
  • Test #5 - GitHub Actions 'branch' workflow is triggered for PRs to master: /home/runner/work/kmermaid/kmermaid/.github/workflows/branch.yml
  • Test #5 - GitHub Actions 'branch' workflow looks good: /home/runner/work/kmermaid/kmermaid/.github/workflows/branch.yml
  • Test #5 - GitHub Actions CI is triggered on expected events: /home/runner/work/kmermaid/kmermaid/.github/workflows/ci.yml
  • Test #5 - CI is building the correct docker image: docker build --no-cache . -t nfcore/kmermaid:dev
  • Test #5 - CI is pulling the correct docker image: docker pull nfcore/kmermaid:dev
  • Test #5 - CI is tagging docker image correctly: docker tag nfcore/kmermaid:dev nfcore/kmermaid:dev
  • Test #5 - Continuous integration checks minimum NF version: /home/runner/work/kmermaid/kmermaid/.github/workflows/ci.yml
  • Test #5 - GitHub Actions linting workflow is triggered on PR and push: /home/runner/work/kmermaid/kmermaid/.github/workflows/linting.yml
  • Test #5 - Continuous integration runs Markdown lint Tests: /home/runner/work/kmermaid/kmermaid/.github/workflows/linting.yml
  • Test #5 - Continuous integration runs nf-core lint Tests: /home/runner/work/kmermaid/kmermaid/.github/workflows/linting.yml
  • Test #6 - README Nextflow minimum version badge matched config. Badge: 20.07.1, Config: 20.07.1
  • Test #8 - Conda environment name was correct (nf-core-kmermaid-1.0.0dev)
  • Test #8 - Conda dependency had pinned version number: conda-forge::python=3.7.3
  • Test #8 - Conda dependency had pinned version number: conda-forge::markdown=3.1.1
  • Test #8 - Conda dependency had pinned version number: conda-forge::pymdown-extensions=6.0
  • Test #8 - Conda dependency had pinned version number: conda-forge::pygments=2.5.2
  • Test #8 - Conda dependency had pinned version number: conda-forge::tqdm=4.43.0
  • Test #8 - Conda dependency had pinned version number: conda-forge::gxx_linux-64=7.3.0
  • Test #8 - Conda dependency had pinned version number: conda-forge::s3fs=0.4.2
  • Test #8 - Conda dependency had pinned version number: bioconda::sourmash=3.5.0
  • Test #8 - Conda package is latest available: bioconda::sourmash=3.5.0
  • Test #8 - Conda dependency had pinned version number: bioconda::samtools=1.10
  • Test #8 - Conda dependency had pinned version number: bioconda::screed=1.0.4
  • Test #8 - Conda package is latest available: bioconda::screed=1.0.4
  • Test #8 - Conda dependency had pinned version number: bioconda::khmer=3.0.0a3
  • Test #8 - Conda package is latest available: bioconda::khmer=3.0.0a3
  • Test #8 - Conda dependency had pinned version number: bioconda::pysam=0.16.0
  • Test #8 - Conda dependency had pinned version number: anaconda::make=4.2.1
  • Test #8 - Conda package is latest available: anaconda::make=4.2.1
  • Test #8 - Conda dependency had pinned version number: alabaster=0.7.12
  • Test #8 - Conda package is latest available: alabaster=0.7.12
  • Test #8 - Conda dependency had pinned version number: fastp=0.20.0
  • Test #8 - Conda dependency had pinned version number: fastqc=0.11.9
  • Test #8 - Conda package is latest available: fastqc=0.11.9
  • Test #8 - Conda dependency had pinned version number: matplotlib=3.1.1
  • Test #8 - Conda dependency had pinned version number: multiqc=1.8
  • Test #8 - Conda dependency had pinned version number: numpy=1.17.5
  • Test #8 - Conda dependency had pinned version number: pathos=0.2.5
  • Test #8 - Conda dependency had pinned version number: pip=20.0.2
  • Test #8 - Conda dependency had pinned version number: pytest=5.3.4
  • Test #8 - Conda dependency had pinned version number: seqtk=1.3
  • Test #8 - Conda package is latest available: seqtk=1.3
  • Test #8 - Conda dependency had pinned version number: ska=1.0
  • Test #8 - Conda package is latest available: ska=1.0
  • Test #8 - Conda dependency had pinned version number: sphinx=2.3.1
  • Test #8 - Conda dependency had pinned version number: jupyter=1.0.0
  • Test #8 - Conda package is latest available: jupyter=1.0.0
  • Test #8 - Conda dependency had pinned version number: sortmerna=2.1b
  • Test #8 - Conda dependency had pinned version number: ripgrep=12.1.1
  • Test #8 - Conda package is latest available: ripgrep=12.1.1
  • Test #8 - Pip dependency had pinned version number: bam2fasta==1.0.8
  • Test #8 - PyPi package is latest available: 1.0.8
  • Test #8 - Pip dependency had pinned version number: sencha==1.0.3
  • Test #8 - PyPi package is latest available: 1.0.3

Run details:

  • nf-core/tools version 1.11
  • Run at 2020-10-28 15:49:22

@pranathivemuri
Copy link
Contributor

pranathivemuri commented Oct 29, 2020

skip_index should be added in nextflow_schema.json and conflicts should be resolved

@@ -1422,6 +1440,35 @@ if (!params.split_kmer && !params.skip_compare && !params.skip_compute) {
}
}

// If skip_compute is true, skip compare must be specified as true as well
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment should be changed?

@@ -1422,6 +1440,35 @@ if (!params.split_kmer && !params.skip_compare && !params.skip_compute) {
}
}

// If skip_compute is true, skip compare must be specified as true as well
if (!params.split_kmer && !params.skip_index && !params.skip_compute) {
process sourmash_index {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is also sencha index can we name the folder sourmash_index?

@olgabot
Copy link
Collaborator Author

olgabot commented Mar 9, 2021

Closing for now as the desired behavior is more sourmash search. Will do sourmash index in a separate repo

@olgabot olgabot closed this Mar 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants