Life Sciences

KNIME for Beginners: Learn Quickly by Building Workflows

May 9, 2022 — by Mahantesh Pattadkal

KNIME? You mean the open-source software for creating data science? Where you build visual, task-specific workflows with a drag-and-drop-style interface, without the need to code?

So, you’ve heard about it and you’re curious to try it. But you really don’t want to sit through another course, watch a series of videos where the suggested exercises are often too easy for you. Can’t you just start building workflows? Just get started? Then you are in the right place! Fasten your seat belt, the workflow building begins now!

Get started in the Beginners space on the KNIME Hub

We have created a Beginners on the KNIME Hub just for you, itching to build workflows. Inspired by the "Learning by Building" approach, we have assembled a collection of example workflows as a starting point. Just install KNIME Analytics Platform, open it, drag and drop the workflow of interest from the Beginners space on the KNIME Hub, and start tweaking it to fit your data and problem.

Figure 1: KNIME Node categories in Beginners Space

We’ve designed the Beginners space to be used in tandem with the cheat sheet, Building a KNIME Workflow for Beginners. The cheat sheet gives you short, succinct tips for all the basic steps to building workflows: Read, Explore, Transform, Analyze, and Deploy (Fig. 1). To match the cheat sheet, the Beginners space has folders containing workflows for each of these categories (Fig. 2).

Figure 2: See how the workflows in the Beginners space tally with the Read, Explore, Transform, Analyze and Deploy categories in the cheat sheet

How to use the Beginners space

Step 1. Download and import the workflows of the Beginners Space, either in bulk or one by one.

  • Just drag and drop the workflows from KNIME Hub page to KNIME Analytics Platform as shown in Fig. 3 (a)

Figure 3 (a): Drag the Workflow to the KNIME Analytics Platform
  • Alternatively, download the set of workflows or specific workflows by clicking the Download icon as shown in the gif in Fig 3 (b) 

Figure 3 (b): Download the Beginners Space Workflows
  • Now, from KNIME Analytics Platform, select ”Import KNIME Workflow..” from the File menu and browse to the downloaded .knar file in your system. 

  • After importing the file, you should see the whole folder or the single workflow in the KNIME Explorer panel in the top left corner of the workbench.

Step 2. To open the workflow you want to start using, double-click it in the workflow editor. Let's start for example with the 01_Read category.

Step 3. Execute the entire workflow by clicking the green arrow in the toolbar, or choose to execute the workflow node by node, by right-clicking each node and selecting “Execute”.

Step 4. To change the input data, double click the Reader node and change the path to the data. Experiment with a different path and connection options.

You can see these steps demonstrated in the GIF in figure 4. 

Step 5. Explore all other categories in the same way: open, edit, and execute, not necessarily in that order.

Figure 4: Drag the Workflow from the “Read” Category in the Beginners Space and start exploring and tweaking to your own requirements

If you fancy learning KNIME by solving challenges, have a look at our “Just KNIME It” Challenges, which help you to practice your workflow building skills by solving weekly challenges.

You're now ready to build workflows yourself

We are actively involved in creating content that makes it easier for you to learn KNIME and start building workflows suitable for your use case. The question we often hear during our many courses, lectures, and tutorials, as well as in interactions with KNIME beginners or posts on the KNIME Forum, is: “Which nodes or workflows should I use to start learning KNIME?”. This has helped us to understand that beginners enjoy learning KNIME by building or experimenting with workflows. That is how our work on the Beginners space has come about: a collection of simple workflows that you can drag and experiment with to accelerate your learning process.

Explore the Beginners space on the KNIME Hub and find links to more learning resources dedicated to the first steps to building workflows

Next, get your KNIME skills certified

Once you have gained experience and confidence in your KNIME skills, now is the time to become KNIME Certified. The certification program helps you to gain credibility for your KNIME skills and then flaunt them publicly. You can start your KNIME Certification by taking the KNIME L1 certification free of charge.

You Might Also Like