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
Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6
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