PipeCraft2
  • Installation
  • QuickStart
    • Required data formats
    • Modify resources usage
    • How to START
    • Save workflow
    • Load workflow
  • Pre-defined pipelines
  • Individual steps (Quick Tools)
  • Post-processing tools
  • Example data analyses
  • Troubleshooting
  • Licence
  • How to cite
  • Releases
  • Docker images
  • Contact and Acknowledgements
  • For Developers
PipeCraft2
  • QuickStart
  • View page source

QuickStart PipeCraft2_logo

Required data formats

There are few specifc requirements for the input data for PipeCraft.

  • Paired-end data
    • must contain **R1** and **R2** strings in the paired-end files,

    • sample names maynot contain ‘R1/R2’ strings
      • OK file names: my_sample_01_R1_L001.fastq and my_sample_01_R2_L001.fastq

      • NOT-OK file names: my_R1sample_01_R1_L001.fastq and my_R1sample_01_R2_L001.fastq or my_sample_01_1.fastq and my_sample_01_2.fastq

    • Paired-end reads should have common read identifiers (e.g. _R1/_R2) and file extensions (e.g. fastq/fq) for the reads that are processed together.

  • index/barcodes file for demultiplexing:
    • see formatting requirements here

  • Please avoid spaces and non-ASCII symbols in sample names.

  • Use at least 2 samples per sequencing run for the pre-defined pipelines.

  • specific directory structure for NextITS pipeline
    • see NextITS page here

  • specific directory structure for OptimOTU pipeline
    • see OptimOTU page here

  • specific directory structure when aiming to combine multiple sequencing runs with vsearch, unoise, or DADA2 pipelines
    • see here


Modify resources usage

Control and limit the resources (such as CPU, RAM) via resource manager. Software that can utlilize multiple CPUs will use the number of CPUs specified through resource manager. After editing, press the APPLY & RESTART DOCKER button, so that the changes would take effect.

resource_manager

Required amont of allocated resources depends generally on the input data size and the complexity of the analysis. If too few RAM is allocated, then the analysis may fail without any informative ERROR message. If too few CPU cores are allocated, then the analysis may be very slow.

When allocation most of your computer’s resources, please keep in mind that other processes on your computer will be affected.


How to START

1. To START any analyses, you must specify the working directory (WORKDIR) by pressing the SELECT WORKDIR button. E.g., if working with fastq files, then be sure that the working directory contains only relevant fastq files because the selected process will be applied to all fastq files in the working directory!

Note

When using Windows OS, the selection window might not display the files while browsing through the directories.

After selecting a working directory, PipeCraft needs you to specify if

  • if the data is paired-end or single-end

  • and the extension of the data (fastq or fasta)

paired-end data –> such as data from Illumina or MGI-Tech platforms (R1 and R2 files). Be sure to have **R1** and **R2** strings in the paired-end files (not simply _1 and _2; and sample names maynot contain R1/R2 strings)
single-end data –> such as data from PacBio, or assembled paired-end data (single file per library or per sample)

select_wd

2. SELECT PIPELINE or press Quick Tools button to select relevant step; edit settings if needed and start running the analyses by pressing the START button.

select_pipeline_or_quicktools

Note

When running ‘step-by-step analyses with Quick Tools’: when one workflow is finished, then press SELECT WORKDIR to specify inputs for the next process to ensure the correct workflow piping.

Note

Note that a pipecraft2_last_run_configuration.json file will be generated into the working directory upon starting a workflow. As the file name says, it is the workflow configuration file for your last PipeCraft run in this working directory.

This JSON file can be loaded into PipeCraft2 to automatically configure your next runs exactly the same way.

Warning

The outputs will be overwritten if running the same analysis step multiple times in the same working directory. If needed, edit the default output directory name to prevent that.

Each process creates a separate output directory with the processed files. The README file in the output directory states some of the details about the finished process.


Ready-to-run pre-defined pipelines here

QuickTools page here


Save workflow

Once the workflow settings are selected, save the workflow by pressin SAVE WORKFLOW button on the right-ribbon.

Note

starting from version 0.1.4, PipeCraft2 will automatically save the settings into selected WORKDIR prior starting the analyses (file name = “pipecraft2_last_run_configuration.json”)

Important

When saving workflow settings in Linux, specify the file extension as json (e.g. my_16S_ASVs_pipe.json). When trying to load the workflow, only .JSON files will be permitted as input. Windows and Mac OS automatically extend files as json (so you may just save “my_16S_ASVs_pipe”).


Load workflow

Press the LOAD WORKFLOW button on the right-ribbon and select appropriate JSON file.
The configuration will be loaded.
Then you need to SELECT WORKDIR and after that may run PipeCraft.

Note

Prior loading the workflow, make sure that the saved workflow configuration has a .json extension. Note also that workflows saved in older PipeCraft2 version might not run in newer version, but anyhow the selected options will be visible.

Previous Next

© Copyright 2025, Sten Anslan.

Built with Sphinx using a theme provided by Read the Docs.