nf-core
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Help
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Checklist for JSON schema improvements (hackathon March 2025) - Go to the [project board](https://github.com/orgs/nf-core/projects/99/views/4?sliceBy%5Bvalue%5D=JSON+schema+improvements) - Choose an issue for a specific pipeline (e.g. `JSON schema: Sarek`) - Assign yourself to that issue (Click on `Add Assignees...`). You need to be part of the nf-core organization in order to do this. Please request an invite in the #github-invitations Slack channel if you are not in the Github organization. - Set the issue status to `In Progress` - Edit the issue and copy paste the next code block into it: ``` - [ ] Fork the pipeline to your user account, if you have not done so before (Make sure you deselect `Copy the master branch only`) - [ ] Go to the `dev` branch and sync the upstream changes (`Sync fork` -> `Update branch`) - [ ] Create a branch called `json-schema-improvements` with the `dev` branch as base in the fork - [ ] Open the `json-schema-improvements` branch of the fork either locally (`git clone`) or online (via Github Codespaces, GitPod...) - [ ] Open the `nextflow_schema.json` file - [ ] Check that the value in `"$schema"` is `"https://json-schema.org/draft/2020-12/schema"`. The pipeline should be updated to nf-schema if this is not the case. See the [migration guide](https://nextflow-io.github.io/nf-schema/latest/migration_guide/) on how to do this - [ ] Check the schema for insufficient validation keywords and error messages. See the [guide](https://hackmd.io/YXDnZVulTiGjOFw2EsdebA#Checking-the-validation-keywords) for more information on this - [ ] Do the same thing for `assets/schema_input.json` - [ ] Run `nextflow run main.nf -profile test,docker --outdir results -stub` to check for any failures in validation with the basic test setup - [ ] Update the changelog of the pipeline - [ ] Push all changes to your fork (if you have not done so yet) - [ ] Open a pull request to the `dev` branch of the nf-core repository - [ ] Request a review in #hackathon-mar-2025-json-schema-improvements or in the pipeline channel (e.g. #sarek for nf-core/sarek) and set the issue status to `Ready to review` (PR: <ADD A LINK TO THE PR HERE>) - [ ] Wait for approval and merge the pull request once everything works again - [ ] Set the issue status to `Done` ``` - Go over the checklist in the issue. An example issue can be found here: https://github.com/orgs/nf-core/projects/99/views/4?sliceBy%5Bvalue%5D=JSON+schema+improvements&pane=issue&itemId=101126918 An example PR can be found here: https://github.com/nf-core/pacvar/pull/28 ## Checking the validation keywords This section contains options for each type of parameter (the type can be found in the `"type"` keyword) IMPORTANT: If an `errorMessage` is present, please update it so that it covers all possible validation errors for the type (the more it covers the better) ALSO IMPORTANT: Check that the `help_text` and `description` keywords are clear enough ### Type-independent keywords - [enum](https://nextflow-io.github.io/nf-schema/latest/nextflow_schema/nextflow_schema_specification/#enum): A list of allowed values for the value - [default](https://nextflow-io.github.io/nf-schema/latest/nextflow_schema/nextflow_schema_specification/#default): The default value, make sure this is filled in if the default value is not `null`, `""` or `false` - [required](https://json-schema.org/understanding-json-schema/reference/object#required): A list of required parameters for each section ### `string` - [minLength](https://json-schema.org/understanding-json-schema/reference/string#length) and [maxLength](https://json-schema.org/understanding-json-schema/reference/string#length): specify the minimal and/or maximum length of the `string` value - [pattern](https://json-schema.org/understanding-json-schema/reference/string#regexp): A regular expression the `string` value has to adhere to - [format](https://nextflow-io.github.io/nf-schema/latest/nextflow_schema/nextflow_schema_specification/#format): This is mainly used to define if a value should be a `"file-path"`, `"directory-path"`, `"path"` or `"file-path-pattern"`. Other formats are allowed that are part of the official JSON schema specs, but are rarely used in Nextflow JSON schemas - [exists](https://nextflow-io.github.io/nf-schema/latest/nextflow_schema/nextflow_schema_specification/#exists): Make sure this is `true` if the file should exist (Be careful, some times files or directories do not have to exist for a pipeline to succesfully start e.g. `--outdir`) - [schema](https://nextflow-io.github.io/nf-schema/latest/nextflow_schema/nextflow_schema_specification/#schema): The relative path from the root of the pipeline to another schema to validate the file specified by that value. Please also check this schema very carefully ### `number` and `integer` - [multipleOf](https://json-schema.org/understanding-json-schema/reference/numeric#multiples): The value needs to be a multiple of this number - [minimum, exclusiveMinimum, maximum and exclusiveMaximum](https://json-schema.org/understanding-json-schema/reference/numeric#range): Specify a specific range in which the numeric value should be ### `boolean` The boolean type has no type-specific keywords ### `array` WARNING: This type is not supported in `nextflow_schema.json`, but is supported in other schemas - [uniqueEntries](https://nextflow-io.github.io/nf-schema/latest/nextflow_schema/nextflow_schema_specification/#uniqueentries): A list of keys that need to be unique in the objects present in this array - [uniqueItems](https://nextflow-io.github.io/nf-schema/latest/nextflow_schema/nextflow_schema_specification/#uniqueitems): Set to `true` if you want each entry in the array to be unique ### `object` WARNING: This type is not supported in `nextflow_schema.json` (apart from the root `"type"` keyword of the file and of each section in `"$defs"`), but is supported in other schemas This type can be very complex and will not be used in 99% of the cases. You can take a look at the official [object documentation](https://json-schema.org/understanding-json-schema/reference/object#object) or ask for help in #hackathon-mar-2025-json-schema-improvements if you need to check `object` types

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully