ccbr_nextflowtemplate

CCBR template for Nextflow workflows

https://github.com/ccbr/ccbr_nextflowtemplate

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.9%) to scientific vocabulary

Keywords

nextflow techdev templates
Last synced: 9 months ago · JSON representation

Repository

CCBR template for Nextflow workflows

Basic Info
  • Host: GitHub
  • Owner: CCBR
  • License: mit
  • Language: Nextflow
  • Default Branch: main
  • Homepage:
  • Size: 2.36 MB
Statistics
  • Stars: 2
  • Watchers: 4
  • Forks: 1
  • Open Issues: 10
  • Releases: 0
Topics
nextflow techdev templates
Created about 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog Contributing License Citation

README.md

Nextflow Template <!-- TODO: replace this header with TOOL_NAME -->

CCBR template for creating Nextflow pipelines <!-- TODO: replace this line with the description of TOOL_NAME -->

build docs

See the website for detailed information, documentation, and examples: https://ccbr.github.io/TOOL_NAME/

Using this template

  1. Create a new repository from this template using either of these options:
    • The GitHub web interface: Click "Use this template" and "Create a new repository", then choose an owner (e.g. CCBR or another organization) and the repository name as the new tool's name.
    • The GitHub command line interface: Replace OWNER/TOOL_NAME with your organization (e.g. CCBR) and the actual tool name. sh gh repo create OWNER/TOOL_NAME \ --description "One-line description of your tool" \ --public \ --template CCBR/CCBR_NextflowTemplate \ --confirm
  2. Read and follow the contributing guidelines in .github/CONTRIBUTING.md. Be sure to install pre-commit and its hooks before making any commits.
  3. Change all instances of TOOL_NAME and tool_name throughout the repo with the actual tool name. Replace TOOL_NAME with the all-caps version (refers to the GitHub repo name) and tool_name with the lowercase version (refers to the command-line interface). Places include:

<!-- grep -irl tool_name . | sort | sed "s|./||" -->

.github/CONTRIBUTING.md .github/ISSUE_TEMPLATE/bug_report.yml .github/ISSUE_TEMPLATE/config.yml .github/workflows/build.yml bin/tool_name CHANGELOG.md CITATION.cff README.md main.nf mkdocs.yml nextflow.config pyproject.toml src/__main__.py

  1. Edit pyproject.toml and nextflow.config with correct metadata for your tool. You will likely need to change:
    • author names and emails
    • dependencies
    • project URLs
  2. Write your nextflow workflow.
    • Where possible, reuse existing modules and subworklows from CCBR/nf-modules[^3]. Also consider contributing new modules & subworkflows to that repository!
  3. Write your documentation in docs/ and enable GitHub Pages.
    • In settings, go to General > Pages and select the gh-pages branch. mkdocs will build your site under the gh-pages branch, and GitHub Pages will make it available at https://OWNER.github.io/TOOL_NAME.
  4. Edit the README:
    1. Change the title and description.
    2. Delete the section Using this template.
  5. You can look for instances of TOOL_NAME in case you missed any with grep:

sh grep -ir "TOOL_NAME" .

If your repo is not part of CCBR, you will also want to look for instances of "CCBR" and "CCR Collaborative Bioinformatics Resource" and replace them with your organization.

sh grep -ir "CCBR\|CCR" .

For a work-in-progress example of this template in action, see the CHAMPAGNE repo.

Usage

Install the tool in edit mode:

sh pip3 install -e .

View CLI options:

sh tool_name --help

Navigate to your project directory and initialize required config files:

sh tool_name init

Run the example

sh tool_name run --input "Hello world"

dag

Help & Contributing

Come across a bug? Open an issue and include a minimal reproducible example.

Have a question? Ask it in discussions.

Want to contribute to this project? Check out the contributing guidelines.

References

This repo was originally generated from the CCBR Nextflow Template. The template takes inspiration from nektool[^1] and the nf-core template. If you plan to contribute your pipeline to nf-core, don't use this template -- instead follow nf-core's instructions[^2].

[^1]: nektool https://github.com/beardymcjohnface/nektool [^2]: instructions for nf-core pipelines https://nf-co.re/docs/contributing/tutorials/creatingwithnf_core [^3]: See also our reusable modules and subworkflows for CCBR nextflow pipelines: https://github.com/CCBR/nf-modules

Owner

  • Name: CCR Collaborative Bioinformatics Resource
  • Login: CCBR
  • Kind: organization
  • Email: nciccbr@mail.nih.gov
  • Location: United States of America

CCR Collaborative Bioinformatics Resource, Center for Cancer Research (NCI), National Institutes of Health

GitHub Events

Total
  • Issues event: 20
  • Delete event: 4
  • Issue comment event: 13
  • Push event: 11
  • Pull request event: 10
  • Create event: 6
Last Year
  • Issues event: 20
  • Delete event: 4
  • Issue comment event: 13
  • Push event: 11
  • Pull request event: 10
  • Create event: 6

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 10
  • Total pull requests: 4
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 21 minutes
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 10
  • Pull requests: 4
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 21 minutes
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • kelly-sovacool (14)
  • kopardev (4)
Pull Request Authors
  • kelly-sovacool (10)
Top Labels
Issue Labels
enhancement (9) documentation (1)
Pull Request Labels