ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

nextflow

by peterk87 ST3

Nextflow workflow syntax highlighting and snippets for Sublime Text 3

Details

Installs

  • Total 0
  • Win 0
  • OS X 0
  • Linux 0
Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

sublime-nextflow: Nextflow workflow syntax highlighting and snippets for Sublime Text 3

[Insert pretty screenshot here]()

Nextflow Syntax Highlighting

Nextflow syntax highlighting extends Sublime Text 3's Groovy syntax with highlighting of:

  • processes
    • input/output/script tags
  • channel highlighting based on matching ch_*
  • some invalid syntax checks (into channel in input tag and from channel in output tag)
  • highlighting special Nextflow functions and variables (workflow, params, task, etc)

Nextflow Snippets

  • proc: process snippet
  • tag: tag directive snippet
  • pub: publishDir directive snippet
  • init: initialize a Nextflow workflow (shebang, some initial params and a help message)
  • illumina: Illumina paired-end reads file pairs channel
  • par: Create a new params parameter (params.<param_name> = <default>)
  • cpus: insert “${task.cpus}” into a script
  • script_path: specify user script (e.g. Python script) to use from scripts/ directory in workflow base directory
  • info: log.info snippet
  • done: on workflow complete or error message