Installing SciPipe

Installing SciPipe means first installing the Go programming langauge, and then using Go's go get command to install the SciPipe library. After this, you will be able to use Go's go run command to run SciPipe workflows.

Install Go

Install Go by following the instructions on this page, for your operating system.

Install SciPipe

Then install SciPipe by running the following shell command:

go get github.com/scipipe/scipipe/...

N.B: Don't miss the ..., as otherwise the scipipe helper tool will not be installed.

Initialize a new workflow file

Now, you should be able to write code like in the example below, in files ending with .go.

The easiest way to get started is to let the scipipe tool generate a starting point for you:

scipipe new myfirstworkflow.go

... which you can then edit to your liking.

Run your workflow

To run a .go file, use go run:

go run myfirstworkflow.go

Some tips about editors

In order to be productive with SciPipe, you will also need a Go editor or IDE with support for auto-completion, sometimes also called "intellisense".

We can warmly recommend to use one of these editors, sorted by level of endorsement:

  1. Visual Studio Code with the Go plugin - If you want a very powerful almost IDE-like editor
  2. Fatih's awesome vim-go plugin - if you are a Vim power-user
  3. LiteIDE - if you want a really simple, standalone Go-editor

There are also popular Go-plugins for Sublime text, Atom and IntelliJ IDEA, and an upcoming Go IDE from JetBrains, called Gogland, that might be worth checking out, depending on your preferences.