arrow-left

All pages
gitbookPowered by GitBook
1 of 3

Loading...

Loading...

Loading...

REST API

With the Partek Flow REST API, you can create custom solutions to query or drive your server. Below are some common use cases for the REST API:

  • Generate an authentication token

  • Create a project

A complete reference for the API can be found on the or by visiting [server]/api/v1/servlets

The referenced Python library can be downloaded .

hashtag
Generate an authentication token

An access token can be generated from the System information section of the settings page.

Alternatively, GetToken.py will generate a token:

you will be prompted to enter your password.

This token can be specified as the token parameter.

hashtag
Create a project

Flow organizes data by projects and they can be created and managed by the REST API.

To create a project:

The server will respond with JSON data describing the new project:

The new project will appear on the Flow homepage:

hashtag
Upload a group of samples

UploadSamples.py is a python script that can create samples within a project by uploading files:

This operation will generate a data node on the Analyses tab for the imported samples:

hashtag
Assign sample attributes

We can associate attributes with samples for use in visualizations and statistical analysis:

The sample attributes can be viewed and managed on the data tab:

hashtag
Run a pipeline

A pipeline is a series of tasks used to process and analyze genomic data. You can read more about pipelines

To run a pipeline, first we need to know its name.

We can get the name of a pipeline from the GUI or from the API:

Many pipelines also require that library files are specified.

You can get the list of required inputs for the pipeline from the API:

This particular pipeline requires a bowtie index and an annotation model:

The request to launch the pipeline needs to specify one resource ID for each input.

These IDs can be found using the API:

Get the IDs for the library files that match the required inputs

The pipeline can be launched in any project using RunPython.py

This action will cause two tasks to start running:

Alternatively, UploadSamples.py can create the project, upload the samples and launch the pipeline in one step:

hashtag
Add a collaborator to a project

To add a collaborator to a project:

hashtag
Transfer feature lists

hashtag
Monitor a folder and upload files as they are created

hashtag
Monitor the queue and send a notification if there are too many waiting tasks

hashtag
Additional Assistance

If you need additional assistance, please visit to submit a help ticket or find phone numbers for regional support.

Upload a group of samples
Assign sample attributes
Run a pipeline
Add a collaborator to a project
Transfer feature lists
Monitor a folder and upload files as they are created
Monitor the queue and send a notification if there are too many waiting tasks
REST API Command List
herearrow-up-right
herearrow-up-right
http://localhost:8080/flow/api/v1/pipelines/inputs?project_id=0&pipeline=AlignAndQuantifyarrow-up-right
our support pagearrow-up-right
python GetToken.py --server localhost:8080 --user admin
curl --form token=cUOWY0VvkSFagr... http://localhost:8080/flow/api/v1/users/list
curl -X POST --form token=$FLOW_TOKEN --form project="My Project" http://localhost:8080/flow/api/v1/projects
{"name":"My Project","id":"0","description":"","owner":"0","userRoles":{"0":"Project owner"},"outputFolders":{"0":"/home/flow/FlowData/Project_My Project"},"diskUsage":"0 GB","lastModifiedTimeStamp":1506013662476,"lastModifiedDate":"12:00 PM","data":[]}
python UploadSamples.py --verbose --token $FLOW_TOKEN --server http://localhost:8080 --project "My Project" --files ~/MoreData/REST/sample1.fastq.gz ~/MoreData/REST/sample2.fastq.gz ~/MoreData/REST/sample3.fastq.gz ~/MoreData/REST/sample4.fastq.gz
python AddAttribute.py -v --server http://localhost:8080 --token $FLOW_TOKEN --project_name "My Project" --sample_name sample1 --attribute Type --value Case
python AddAttribute.py -v --server http://localhost:8080 --token $FLOW_TOKEN --project_name "My Project" --sample_name sample2 --attribute Type --value Case
python AddAttribute.py -v --server http://localhost:8080 --token $FLOW_TOKEN --project_name "My Project" --sample_name sample3 --attribute Type --value Control
python AddAttribute.py -v --server http://localhost:8080 --token $FLOW_TOKEN --project_name "My Project" --sample_name sample4 --attribute Type --value Control
wget -q -O - http://localhost:8080/flow/api/v1/pipelines/list$AUTHDETAILS | python -m json.tool | gvim -
wget -q -O - "http://localhost:8080/flow/api/v1/library_files/list${AUTHDETAILS}&assembly=hg19" |  python -m json.tool | gvim -
[
    {
        "annotationModel": "",
        "assembly": "hg19",
        "description": "Reference sequence",
        "fileType": "Genome sequence",
        "id": 100
    },
    {
        "annotationModel": "",
        "assembly": "hg19",
        "description": "Cytoband",
        "fileType": "cytoBand.txt",
        "id": 101
    },
    {
        "annotationModel": "",
        "assembly": "hg19",
        "description": "Bowtie index",
        "fileType": "Bowtie Index",
        "id": 102
    },
    {
        "annotationModel": "hg19_refseq_15_05_07_v2",
        "assembly": "hg19",
        "description": "Annotation file: hg19_refseq_15_05_07_v2",
        "fileType": "Annotation model",
        "id": 103
    }
]
python RunPipeline.py  -v --server http://localhost:8080 --token $FLOW_TOKEN --project_id 0 --pipeline AlignAndQuantify --inputs 102,103
python UploadSamples.py -v --server http://localhost:8080 --token $FLOW_TOKEN --files ~/sampleA.fastq.gz ~/sampleB.fastq.gz --project NewProject --pipeline AlignAndQuantify --inputs 102,103
curl -X PUT "http://localhost:8080/flow/api/v1/projects?project=ProjectName&collaborator=user1&role=Collaborator&token=$FLOW_TOKEN"
curl --form token=$TO_TOKEN --form url=http://from:8080/flow/api/v1/feature_lists/export?token=$FROM_TOKEN  http://to:8080/flow/api/v1/feature_lists/import
#!/bin/bash
inotifywait -m $PATH_TO_MONITOR -e create -e moved_to |
  while read path action file; do
      if [[ $file == *.fastq.gz ]]; then
              echo "Uploading $file"
              python UploadSamples.py -v --server $SERVER --token $FLOW_TOKEN --files $path/$file --project "$PROJECT"
      fi
  done
#!/bin/bash
while true; do
      result=`python QueueStatistics.py --server $SERVER --token $TOKEN --max_waiting $MAX_WAITING`
      if [ $? -eq 1 ]; then
              /usr/bin/notify-send $result
              exit 1
      fi
      sleep $INTERVAL
done

Enterprise Features and Toolkits

This document describes different license features in Partek Flow. Some license features are required in to initiate the software for the particular environment in which it is installed. Other license features (enterprise and toolkits) are optional and would depend on the particular needs of the users. For information on how to purchase the different license features, contact your account representative or email [email protected]envelope.

  • Partek Flow base

  • HPC node

To check the current license features of your Partek Flow, go to the Username > Settings > System Information > Partek Flow license details (Figure 1). Administrators can also see the information, as well as apply a new license through Username > Settings > Licensing page of the software (Figure 2).

hashtag
Partek Flow base

  • The base license allows Partek Flow to run in an installation. It is the minimum required license to run Partek Flow.

hashtag
HPC node

  • This feature allows Partek Flow to be installed in a High Performance Computing with multiple nodes cores.

hashtag
Enterprise Features

hashtag
User Disk Quotas

  • Administrators can specify disk-space quotas for users and actions to be performed at 80% and 100% of these quotas.

  • A Disk quota column appears on the User management page

  • Default disk quota, Actions at 80% of disk quota, and Actions at 100% of disk quota columns appear on the Settings > page

hashtag
Dedicating Licenses to Groups

  • Administrators can dedicate some of the concurrent licenses to particular user groups, guaranteeing that that number of group users can always be logged in or running tasks and restricting other users from using those licenses.

  • This feature has an effect only for concurrent licenses.

  • All users see a Dedicated licenses column on the Group management page, but only administrators can change its values.

hashtag
Usage Reports

  • Administrators can report information about users, user groups, projects, directories, file types, file compression, and disk quota and usage.

  • Only administrators can see and use the Settings > page.

hashtag
Option Sets from Command Line

  • Users can convert command lines to option sets. An appears on the page.

hashtag
Reprioritizing Tasks

  • Administrators can move a project’s tasks to the top of the task queue. Green up arrows () appear next to tasks in the task queue, and clicking one moves all of the tasks for that task’s project to the top (Figure 4).

  • The task queue can be accessed through the Queue>View queued tasks... at the top menu. It can also be accessed by clicking the server icon , and in the System resources page, click the View queued tasks link.

hashtag

  • This provides programmatic access to your Partek Flow server using the command line

hashtag
User Added Tasks

  • Administrators can add executables and scripts to the set of analysis tools available on a given installation

  • Once added, these User added tasks can be made visible to regular users using the Task Management Page

hashtag
Toolkits

hashtag

  • This license feature allows users to run the (includes Quantification, Normalization, Differential Gene Expression)

hashtag

  • This license feature allows users to perform analysis of Single Cell RNA-seq data

hashtag
DNA-seq Toolkit

  • This license feature allows users to run the Variant Calling (SNVs, indels, CNV) and Variant Annotation tools

hashtag
Microarray Toolkit

  • Users can convert microarray data to unaligned reads. The conversion tasks for the aligners appear in the context-sensitive menu, under the section “Convert to Aligned Reads”. Refer to for additional details.

hashtag
ChIP-Seq Toolkit

  • This license feature allows users to analyze data from ChIP-Seq experiments including peak detection, enrichment and annotation. Also compatible with other region enrichment experiments such as ATAC-Seq.

hashtag
Additional Assistance

If you need additional assistance, please visit to submit a help ticket or find phone numbers for regional support.

Possible actions are Email user, Email administrators, and Prevent importing sample files and running tasks
  • A Disk usage row appears on the of each user

  • If a quota is set for a user, the Project disk space icon on the lower right of the Analyses tab will be replaced by a Quota disk space for the current user (Figure 3)

  • If a quota is set for a user, the Project disk space icon on the lower right of the Analyses tab will indicate the corresponding usage

  • Enterprise Features
    Toolkits
    System preferences
    Usage report
    Add option set from command line button
    Option Set Management
    Rest API
    RNA-seq Toolkitarrow-up-right
    RNA-seq workflow
    Single Cell Toolkitarrow-up-right
    Microarray Toolkit
    our support pagearrow-up-right
    Figure 1. System information page showing current licensed features
    Figure 2. Licensing page showing current licensed features (available to Administrators)
    Figure 3. Mouse over the Quota disk space icon to see details
    Figure 4. Prioritizing tasks in the Task Queue
    profile
    arrow_up_icon_green
    server_icon_active
    queue_icon_green

    REST API Command List

    • Structure of the URI

    • Authentication

    • Servlets

    hashtag
    Structure of the URI

    http://example.com:8080/flow/api/v1

    hashtag
    Authentication

    The username and access token must be supplied unless the request is made in an authenticated session.

    The access token can be generated from the settings page or using the public key included in the PartekFlow-REST.zip as described in

    hashtag
    Servlets

    hashtag
    /servlets

    since 7.0.180726

    GET An up-to-date form of this documentation

    Parameter
    Type
    Description
    Default

    hashtag
    Projects

    hashtag
    /projects

    since 7.0.18.0125

    POST, PUT

    Add or configure a project

    Parameter
    Type
    Description

    hashtag
    /projects

    since 7.0.17.0803

    DELETE

    Delete projects

    Parameter
    Type
    Description

    hashtag
    /projects

    since 7.0.17.0524

    GET

    Returns metadata about a project

    hashtag
    /projects/cells

    since 9.0.20.504

    GET, POST, PUT

    Summarizes the number of input cells in single-cell experiments

    hashtag
    /projects/create

    since 7.0.19.0120

    GET, POST, PUT

    Creates a new project

    Parameter
    Type
    Description

    hashtag
    /projects/error

    since 7.0.18.0802

    GET, POST, PUT

    Get or set a project-specific error message

    Parameter
    Type
    Description

    hashtag
    /projects/export

    since 7.0.16.1101

    GET, POST, PUT

    Export a specified project to a .zip file

    Parameter
    Type
    Description
    Default

    hashtag
    /projects/file_entries

    since 8.0.19.0701

    GET, POST, PUT

    Returns files associated with projects. Matches the files that can be deleted when the project is deleted

    hashtag
    /projects/files

    since 7.0.17.1101

    GET, POST, PUT

    Returns files associated with projects. Matches files used in the calculation of size shown on the homepage

    hashtag
    /projects/folders

    since 7.0.17.1101

    GET, POST, PUT

    Returns folders associated with projects

    Parameter
    Type
    Description

    hashtag
    /projects/import

    since 7.0.16.1101

    GET, POST, PUT

    Import a project from an exported .zip file

    Parameter
    Type
    Description
    Default

    hashtag
    /projects/list

    since 7.0.17.1101

    GET, POST, PUT

    Returns a list of projects available on the server

    Parameter
    Type
    Description

    hashtag
    /projects/output_folders

    since 7.0.17.1101

    GET, POST, PUT

    Returns the output folders for projects

    Parameter
    Type
    Description

    hashtag
    /projects/properties

    since 7.0.18.0529

    GET, POST, PUT

    List or configure project-specific properties

    Parameter
    Type
    Description

    hashtag
    /projects/report

    since 7.0.18.0902

    GET, POST, PUT

    Generates a tab-delimited report on tasks in a project

    Parameter
    Type
    Description

    hashtag
    /projects/resources

    since 7.0.18.0910

    GET, POST, PUT

    Returns meta-data on resources associated with the project

    Parameter
    Type
    Description

    hashtag
    /projects/samples

    since 7.0.17.1101

    GET, POST, PUT

    List samples associated with projects

    Parameter
    Type
    Description

    hashtag
    /projects/search

    since 7.0.18.0529

    GET, POST, PUT

    Search for projects

    Parameter
    Type
    Description
    Default

    hashtag
    /projects/transfer

    since 9.0.20.0612

    GET, POST, PUT

    Manages transferring project to remote servers

    hashtag
    Samples

    hashtag
    /samples

    since 7.0.17.0921

    POST, PUT

    Import a set of attributes

    Parameter
    Type
    Description
    Default

    hashtag
    /samples

    since 7.0.17.0921

    GET, POST, PUT

    Add or query a sample

    Parameter
    Type
    Description

    hashtag
    /samples/attributes

    since 7.0.17.0915

    GET, POST, PUT

    Returns attributes associated with a sample

    hashtag
    /samples/list

    since 7.0.17.0921

    GET, POST, PUT

    Returns samples and attributes in a specified project

    Parameter
    Type
    Description

    hashtag
    /samples/rename

    since 7.0.18.1212

    GET, POST, PUT

    Bulk rename samples

    Parameter
    Type
    Description

    hashtag
    Data

    hashtag
    /data

    since 7.0.18.0110

    GET, POST, PUT

    Upload data to the server

    Parameter
    Type
    Description
    Default

    hashtag
    /data/attributes

    since 7.0.18.0110

    GET, POST, PUT

    Returns attributes associated with a resource

    Parameter
    Type
    Description

    hashtag
    /data/files

    since 7.0.18.0830

    GET, POST, PUT

    Returns the list of files associated with a resource

    Parameter
    Type
    Description

    hashtag
    /data/import_folder

    since 10.0.21.2111

    GET, POST, PUT

    Imports all files in a specified folder

    Parameter
    Type
    Description
    Default

    hashtag
    /data/managed

    since 7.0.17.0817

    GET, POST, PUT

    Returns unmanaged files in a given directory

    Parameter
    Type
    Description

    hashtag
    /data/reassign

    since 7.0.18.0710

    GET, POST, PUT

    Repair links to data that has changed directories

    Parameter
    Type
    Description

    hashtag
    /data/recover

    since 7.0.19.0520

    GET, POST, PUT

    Recover disk space by deleting unnecessary files

    hashtag
    /data/table

    since 7.0.18.1120

    GET, POST, PUT

    Exports a task result table

    Parameter
    Type
    Description
    Default

    hashtag
    /data/unmanaged

    since 7.0.17.0817

    GET, POST, PUT

    Returns unmanaged files in a given directory

    Parameter
    Type
    Description

    hashtag
    /data/upload

    since 9.0.20.0617

    GET, POST, PUT

    Uploads data to the server and then imports the uploaded data

    Parameter
    Type
    Description
    Default

    hashtag
    Library files

    hashtag
    /library_files

    since 7.0.16.0826

    GET, POST, PUT

    Imports a library file

    Parameter
    Type
    Description

    hashtag
    /library_files/build

    since 7.0.18.0207

    GET, POST, PUT

    Build a library file derived from an existing managed file

    hashtag
    /library_files/files

    since 7.0.17.0921

    GET, POST, PUT

    Returns metadata (including file paths) for managed library files

    hashtag
    /library_files/list

    since 7.0.17.0915

    GET, POST, PUT

    Returns metadata for managed library files

    Parameter
    Type
    Description

    hashtag
    /library_files/snp_eff

    since 7.0.18.0619

    GET, POST, PUT

    Loads a manually downloaded SnpEff database. A SnpEff bin file must be present on the server under library files assembly/database/SnpEff database/database

    Parameter
    Type
    Description

    hashtag
    /library_files/types

    since 7.0.17.0915

    GET, POST, PUT

    Returns available library file types

    hashtag
    Pipelines

    hashtag
    /pipelines

    since 7.0.17.0921

    GET, POST, PUT

    Download the specified pipeline specification

    Parameter
    Type
    Description

    hashtag
    /pipelines/inputs

    since 7.0.17.0921

    GET, POST, PUT

    List the inputs required by the specified pipeline

    Parameter
    Type
    Description
    Default

    hashtag
    /pipelines/list

    since 7.0.17.0921

    GET, POST, PUT

    Returns pipelines available on the server

    hashtag
    /pipelines/ready

    since 7.0.17.0921

    GET, POST, PUT

    Run the specified pipeline

    Parameter
    Type
    Description
    Default

    hashtag
    /pipelines/run

    since 7.0.17.0921

    GET, POST, PUT

    Run the specified pipeline

    Parameter
    Type
    Description
    Default

    hashtag
    Queue

    hashtag
    /queue

    since 7.0.17.0901

    GET, POST, PUT

    Returns summary statistics of the task queue

    Parameter
    Type
    Description

    hashtag
    /queue/cancel

    since 7.0.17.0901

    GET, POST, PUT

    Cancel tasks in progress

    Parameter
    Type
    Description

    hashtag
    /queue/commands

    since 7.0.17.0901

    GET, POST, PUT

    Returns information about queued commands

    hashtag
    /queue/downloads

    since 7.0.17.0901

    GET, POST, PUT

    Returns the count of downloads in progress

    hashtag
    /queue/status

    since 10.0.22.0322

    GET, POST, PUT

    Check the queue status or request it start or stop handling commands

    Parameter
    Type
    Description

    hashtag
    /queue/tasks

    since 7.0.17.0901

    GET, POST, PUT

    Returns information about tasks in the queue

    Parameter
    Type
    Description

    hashtag
    Users

    hashtag
    /users

    since 7.0.17.0901

    POST, PUT

    Add or configure users

    Parameter
    Type
    Description
    Default

    hashtag
    /users

    since 7.0.17.0901

    GET

    Returns information about a user

    Parameter
    Type
    Description
    Default

    hashtag
    /users/files

    since 8.0.19.0701

    GET, POST, PUT

    List files used by a specified user. Matches files used in the calculation of disk usage as reported on the Users settings page

    hashtag
    /users/list

    since 7.0.17.0901

    GET, POST, PUT

    Returns a list of known users

    hashtag
    /users/logins

    since 7.0.18.0102

    GET, POST, PUT

    Returns a list of logged in users and their last activity

    hashtag
    /users/logout

    since 9.0.20.1222

    GET, POST, PUT

    End the session of the specified user

    Parameter
    Type
    Description
    Default

    hashtag
    /users/preferences

    since 7.0.18.0912

    GET, POST, PUT

    Get and set user preferences

    Parameter
    Type
    Description

    hashtag
    /users/preferences/list

    since 9.0.20.0625

    GET, POST, PUT

    Lists system preferences which can be set

    hashtag
    /users/roles

    since 7.0.18.0323

    GET, POST, PUT

    Returns a list of roles assigned to users

    hashtag
    /users/unset_private_directory

    since 7.0.17.1011

    POST, PUT

    Configures the specified user to no longer use a private directory, instead reverting to the server defaults

    Parameter
    Type
    Description
    Default

    hashtag
    Roles

    hashtag
    /roles

    since 7.0.18.0710

    GET, POST, PUT

    Apply roles to users

    Parameter
    Type
    Description

    hashtag
    /roles

    since 7.0.18.0710

    DELETE

    Remove roles from users

    Parameter
    Type
    Description

    hashtag
    /roles/list

    since 7.0.18.0710

    GET, POST, PUT

    Returns a list of roles available on the server

    hashtag
    /roles/privileges

    since 7.0.18.0710

    GET, POST, PUT

    Returns a list of privileges available on the server

    hashtag
    Permission

    hashtag
    /permission

    since 7.0.18.0213

    GET, POST, PUT

    Get or set enforcement of directory permissions

    Parameter
    Type
    Description

    hashtag
    /permission/add_directory

    since 7.0.18.0213

    GET, POST, PUT

    Add permission to access a directory to a specified user

    Parameter
    Type
    Description
    Default

    hashtag
    /permission/remove_directory

    since 7.0.18.0213

    GET, POST, PUT

    Remove permission to access a directory from a specified user

    Parameter
    Type
    Description
    Default

    hashtag
    Tasks

    hashtag
    /tasks

    since 7.0.17.0207

    GET, POST, PUT

    Returns information about tasks that have run on the server

    Parameter
    Type
    Description

    hashtag
    /tasks/delete

    since 7.0.18.0207

    DELETE, GET, POST

    Deletes tasks

    Parameter
    Type
    Description
    Default

    hashtag
    /tasks/inputs

    since 9.0.20.1002

    GET, POST, PUT

    Returns task input values

    Parameter
    Type
    Description

    hashtag
    /tasks/license

    since 7.0.18.0920

    GET, POST, PUT

    Returns a list of available tasks and their license requirements

    hashtag
    /tasks/logs

    since 7.0.18.0930

    GET, POST, PUT

    Returns task logs

    Parameter
    Type
    Description

    hashtag
    /tasks/outputs

    since 7.0.18.1120

    GET, POST, PUT

    Returns task output resource IDs and descriptions

    hashtag
    /tasks/reload

    since 10.0.21.0525

    GET, POST, PUT

    Returns a list of task test specifications

    hashtag
    /tasks/report

    since 7.0.18.1130

    GET, POST, PUT

    Generates a report on recent tasks

    Parameter
    Type
    Description
    Default

    hashtag
    /tasks/specs

    since 7.0.18.0207

    GET, POST, PUT

    Returns a list of task test specifications

    hashtag
    Filters

    hashtag
    /filters

    since 7.0.18.0207

    GET, POST, PUT

    Upload feature filters

    Parameter
    Type
    Description

    hashtag
    Commands

    hashtag
    /commands

    since 7.0.17.0901

    GET, POST, PUT

    Returns information about commands that have run on the server

    Parameter
    Type
    Description

    hashtag
    /commands/description

    since 7.0.17.0901

    GET, POST, PUT

    Returns a description of commands that have run on the server

    Parameter
    Type
    Description

    hashtag
    /commands/fit

    since 7.0.17.0901

    GET, POST, PUT

    Returns information about command fits

    hashtag
    /commands/memory

    since 7.0.17.0901

    GET, POST, PUT

    Returns the memory used by commands

    Parameter
    Type
    Description

    hashtag
    /commands/pending

    since 7.0.18.1124

    GET, POST, PUT

    Returns a summary report on pending commands

    hashtag
    /commands/prediction

    since 7.0.17.0901

    GET, POST, PUT

    Returns the predicted utilization of commands

    Parameter
    Type
    Description

    hashtag
    /commands/report

    since 7.0.18.0902

    GET, POST, PUT

    Generates a tab-delimited report on commands in a task

    hashtag
    License

    hashtag
    /license

    since 7.0.17.0314

    GET, POST, PUT

    Returns information about license available on the server

    Parameter
    Type
    Description

    hashtag
    Workers

    hashtag
    /workers

    since 7.0.17.0901

    GET, POST, PUT

    Returns a load summary of all connected workers

    hashtag
    /workers/count

    since 7.0.17.0901

    GET, POST, PUT

    Returns the number of connected workers

    hashtag
    /workers/internal

    since 7.0.17.0901

    GET, POST, PUT

    Returns a load summary of the internal worker, if it is enabled

    hashtag
    /workers/remote

    since 7.0.17.0901

    GET, POST, PUT

    Returns a summary of the load of remote workers

    hashtag
    /workers/shutdown

    since 10.21.0723

    GET, POST, PUT

    Shuts down workers

    Parameter
    Type
    Description
    Default

    hashtag
    /workers/start

    since 10.21.0723

    GET, POST, PUT

    Starts the internal worker

    hashtag
    /workers/submitted

    since 18.0930

    GET, POST, PUT

    Get and set information about workers that have been submitted to a cluster, but may not yet have connected

    Parameter
    Type
    Description

    hashtag
    System

    hashtag
    /system

    since 7.0.17.0227

    GET, POST, PUT

    System configuration options

    Parameter
    Type
    Description

    hashtag
    /system/dump_heap

    since 10.0.21.0709

    GET, POST, PUT

    Dumps contents of heap

    Parameter
    Type
    Description

    hashtag
    /system/execution

    since 10.0.23.0322

    GET, POST, PUT

    Configure execution of immediate commands, that support the front-end

    Parameter
    Type
    Description

    hashtag
    /system/generate_token

    since 7.0.18.1020

    GET, POST, PUT

    Generate an access token for the requesting user

    Parameter
    Type
    Description
    Default

    hashtag
    /system/import

    since 7.0.18.0228

    POST, PUT

    Import a set of server preferences from a json specification

    hashtag
    /system/logging

    since 7.0.17.1024

    GET, POST, PUT

    Configure log levels

    Parameter
    Type
    Description

    hashtag
    /system/logs

    since 10.0.23.0203

    GET, POST, PUT

    Download system logs

    hashtag
    /system/package

    since 10.0.23.0301

    GET, POST, PUT

    Query or override package paths

    Parameter
    Type
    Description

    hashtag
    /system/preferences

    since 7.0.18.0130

    DELETE

    Delete preferences, reverting the values to default

    Parameter
    Type
    Description

    hashtag
    /system/preferences

    since 7.0.18.0130

    GET, POST, PUT

    Get and set system preferences

    Parameter
    Type
    Description

    hashtag
    /system/preferences/list

    since 9.0.20.0625

    GET, POST, PUT

    Lists system preferences which can be set

    hashtag
    /system/preferences/nodes

    since 7.0.18.0130

    GET, POST, PUT

    Returns a list of preference node names

    hashtag
    /system/revoke

    since 7.0.18.1020

    GET, POST, PUT

    Revoke API access tokens

    Parameter
    Type
    Description

    hashtag
    /system/stacks

    since 8.0.23.0419

    GET, POST, PUT

    Return a stack trace of current activity

    hashtag
    /system/status_report

    since 8.0.20.0130

    GET, POST, PUT

    Report on recent system activity

    Parameter
    Type
    Description
    Default

    hashtag
    /system/token

    since 18.07.0930

    GET, POST, PUT

    Manage access tokens

    Parameter
    Type
    Description
    Default

    hashtag
    /system/token/list

    since 7.0.18.1020

    GET, POST, PUT

    Lists all managed tokens (Requires View user accounts privilege)

    hashtag
    Additional Assistance

    If you need additional assistance, please visit to submit a help ticket or find phone numbers for regional support.

    collaborator

    string

    If this parameter is specified, then “role” must also be specified. If the role parameter is “remove” then the specified collaborator is removed from the project, otherwise role must be a valid project role (Collaborator or Viewer).

    my_output_folder

    string

    Sets the project output folder for the user making the request

    output_folder

    string

    Sets the project output folder for all collaborators the user making the request has permission to affect

    task

    integer

    Export project with this task as the root node

    includeDownstream

    boolean

    If true then tasks downstream of the specified will be included

    false

    outputFolder

    String

    A path on the server to write the exported projects to.

    Stream the project(s) to the requestor

    file_name

    string

    List projects that contain a file matching the specified sub-string

    user_id

    integer

    List projects for which the specified user is a member

    user_name

    string

    List projects for which the specified user is a member

    file_name

    string

    List projects that contain a file matching the specified sub-string

    user_id

    integer

    List projects for which the specified user is a member

    user_name

    string

    List projects for which the specified user is a member

    file_name

    string

    List projects that contain a file matching the specified sub-string

    user_id

    integer

    List projects for which the specified user is a member

    user_name

    string

    List projects for which the specified user is a member

    file_name

    string

    List projects that contain a file matching the specified sub-string

    user_id

    integer

    List projects for which the specified user is a member

    user_name

    string

    List projects for which the specified user is a member

    sample_id or sample_name

    integer or string

    A sample specification

    sample_id or sample or new_sample

    integer string string

    The id or name of the sample to add data to. If new_sample is specified and the sample already exists characters will be added to disambiguate the new sample

    owner or owner_id

    string integer

    The username or ID of the user that should be the owner of the data (and the project if it is created by this call).

    The owner will be the user account that uploads the data

    duplicate_handling

    String

    For a count matrix, how to handle any duplicated features: Mean, Maximmum, Sum

    Mean

    sample

    String

    The name of the sample to associate this data with

    The filename

    upload_folder

    string

    If the file is uploaded through the servlet it will be put in this directory, if the owner has permission to access it.

    *

    string

    1 or more files to receive and import

    data

    String

    The data node that the pipeline will run on, as returned by the /projects interface.

    Unaligned reads

    status

    String

    Only return tasks matching this status

    status

    String

    Only return tasks matching this status

    status

    String

    Only return tasks matching this status

    display_name

    String

    The name that other users will see.

    enabled

    boolean

    Whether the user is able to log in

    add_role_name or add_role_id

    string or integer

    Add the user to the specified role

    remove_role_name or remove_role_id

    string or integer

    Remove the user from the specified role

    private_directory

    String

    If present, the directory will be created and the user will be given permission to use it.

    add_directory

    String

    Add permission for the user to browse files in this directory.

    quota

    integer

    The size of the user’s quota (in gigabytes) or “none” to remove any quota

    notify_when_tasks_finish

    boolean

    Whether the user will receive an email when a task they have queued completes

    notify_when_added_to_project

    boolean

    Whether the user will receive an email when they are added as a collaborator or viewer to a project

    decimal_precision

    integer

    How many digits to show after the decimal point for numeric values in tables

    task

    String

    A sub-string of the task name & version as it appears in the Task entry on the task details page

    task_type

    String

    task

    String

    A sub-string of the task name & version as it appears in the Task entry on the task details page

    description

    String

    CommandDescription in json format

    reload_feature_lists

    boolean

    Reload the feature lists for the user

    gc

    boolean

    Request System.gc before reporting memory usage

    true

    log

    boolean

    Include the last section of content from various log files

    true

    tasks

    boolean

    Include the section on running / pending tasks

    true

    top

    boolean

    Write the output of top to the output

    false

    cpu_load_threshold

    integer

    Print a warning if the system load average exceeds this value

    mem_load_threshold

    integer

    Print a warning if the percent of heap used exceeds this value

    format

    string

    markup: confluence markup

    json

    project_id or project or new_project

    integer or string or string

    A project specification

    owner

    string

    Sets the project owner

    name

    string

    Sets the project name

    description

    string

    Sets the project description

    project_id or project

    integer or string

    A project specification

    delete_files

    String

    Delete files from this project. valid values: all or output

    project

    String

    The name of the new project

    new_folder

    String

    Creates a new unique subfolder for this project

    project_id or project

    integer or string

    A project specification

    message

    String

    ggvG

    project_ids

    comma-delimited integers

    A specification for one or more projects

    includeLibraryFiles

    boolean

    If true then library files will be included

    false

    toProject

    boolean

    If true then rather than downloading a zip file, a new project will be created on the server

    project_ids

    string

    Retrieve specific projects. IDs joined by ,

    project_id

    integer

    Retrieve a single project by ID

    project

    string

    Retrieve a single project by name

    sample

    string

    List projects that contain a sample with the specified name

    url or filepath or file

    string or string or binary

    The location of a project zip: on a remote server or on the specified server or in the stream

    owner_id or owner_name

    integer or string

    This user will be the owner of the imported project

    By default, the user making the API request will be the owner

    project_ids

    string

    Retrieve specific projects. IDs joined by ,

    project_id

    integer

    Retrieve a single project by ID

    project

    string

    Retrieve a single project by name

    sample

    string

    List projects that contain a sample with the specified name

    project_ids

    string

    Retrieve specific projects. IDs joined by ,

    project_id

    integer

    Retrieve a single project by ID

    project

    string

    Retrieve a single project by name

    sample

    string

    List projects that contain a sample with the specified name

    key

    String

    The name of the property

    value

    String

    The value of the property

    project_id or project

    integer or string

    A project specification

    project_id or project

    integer or string

    A project specification

    project_ids

    string

    Retrieve specific projects. IDs joined by ,

    project_id

    integer

    Retrieve a single project by ID

    project

    string

    Retrieve a single project by name

    sample

    string

    List projects that contain a sample with the specified name

    exact

    boolean

    If true, the search term must match exactly, otherwise sub-string matches are allowed

    false

    category

    String

    Search for categories applied to samples

    attribute_json

    String

    A set of attributes in the same format as returned by /samples/attributes

    attribute_txt

    String

    A set of attributes in a tab-delimited file

    force

    boolean

    false

    project_id or project

    integer or string

    A project specification

    sample_id or sample_name

    integer or string

    A sample specification

    project_id or project

    integer or string

    A project specification

    project_id or project

    integer or string

    A project specification

    remove

    String

    Remove this substring from each sample name

    trim_left

    integer

    Remove this many characters from the beginning of the sample name

    trim_right

    integer

    Remove this many characters from the end of the sample name

    project_id or project or new_project

    integer or string or string

    A project specification

    filepath and/or filepath1 and/or filepath2

    String

    The location of the file on the server. Up to three files can by imported at once.

    count_matrix

    String

    The location of a count matrix file on the server.

    resource_id

    integer

    A resource ID

    resource_id

    integer

    A resource ID

    folder

    String

    path to the data on the server

    project

    String

    Project to import to

    Creates a project based on the folder name

    directory

    String

    former

    String

    Old path to the data

    current

    String

    New path to the data

    task_id

    integer

    The ID of the task that produced the table

    table

    String

    The table to download, if ambiguous for the task. QuantificationSummary, TranscriptQuantificationSummary, GeneQuantificationSummary, transcript_feature_distribution, gene_feature_distribution

    QuantificationSummary

    directory

    String

    project_id or project or new_project

    integer or string or string

    A project specification

    owner or owner_id

    string integer

    The username or ID of the user that should be the owner of the data (and the project if it is created by this call).

    The owner will be the user account that uploads the data

    upload_folder

    string

    If the file is uploaded through the servlet it will be put in this directory, if the owner has permission to access it.

    file or filepath

    binary or string

    The file content or the path of the file on the server

    file_type

    String

    The type of library file. The list of available library file types is returned by /library_files/types

    assembly

    String

    The assembly of the library file

    species

    string

    The species of the library file. This is looked up based on the assembly, and the assembly is used as the species if the assembly is not associated with any species

    file_type

    String

    Filters results based on file type

    annotation_model

    String

    Filters results based on annotation model

    descriptions

    String

    Filters results based on the description

    id

    String

    Return a result for a specific library file

    genome_build

    String

    database

    String

    pipeline

    String

    The name of the pipeline

    pipeline

    String

    The name of the pipeline

    project_id or project

    integer or string

    A project specification

    data

    String

    The data node that the pipeline will run on, as returned by the /projects interface.

    pipeline

    String

    The name of the pipeline

    project_id or project

    integer or string

    A project specification

    data

    String

    The data node that the pipeline will run on, as returned by the /projects interface.

    pipeline

    String

    The name of the pipeline

    project_id or project

    integer or string

    A project specification

    inputs

    integers

    The ids of the resources, in the order returned by the /pipeline/inputs interface. The ids of library files are returned by the /library_files interface.

    project or project_name or project_filter

    String

    Only return tasks in this project

    project_id

    integer

    Only return tasks in this project

    user_name or user_filter

    String

    Only return tasks run by this user

    user_id

    integer

    Only return tasks run by this user

    project or project_name or project_filter

    String

    Only return tasks in this project

    project_id

    integer

    Only return tasks in this project

    user_name or user_filter

    String

    Only return tasks run by this user

    user_id

    integer

    Only return tasks run by this user

    op

    String

    Operation start#

    project or project_name or project_filter

    String

    Only return tasks in this project

    project_id

    integer

    Only return tasks in this project

    user_name or user_filter

    String

    Only return tasks run by this user

    user_id

    integer

    Only return tasks run by this user

    user_id or user_name

    integer or string

    A user specification. If user_name is specified the account will be created if it does not already exist

    If this is not specified, the configuration will apply to the user making the request

    distinguished_name

    String

    When creating a new user, this parameter specifies the LDAP distinguished name.

    user_password

    String

    When creating a new user, this parameter specifies their initial Flow password. If this parameter is absent and this is not an LDAP user then the user will receive an email with a link to set their initial password.

    user_id or user_name

    integer or string

    A user specification.

    If this is not specified, the user making the request will be used

    user_id or user_name

    integer or string

    A user specification.

    The user to logoff. If this is not specified, the user making the request will be used

    key

    String

    The name of the preference

    value

    String

    The value of the preference

    user_id or user_name

    integer or string

    A user specification.

    If this is not specified, the user making the request will be used

    file

    binary

    A json file which contains a list of RolePrivileges (as returned by roles/list

    role

    integer

    the ID of the role to remove

    enforce

    boolean

    directory

    String

    user_id or user_name or group_id or group_name

    integer or string or integer or string

    A member specification

    If a user or group is not specified, this action will apply to all users

    directory

    String

    user_id or user_name or group_id or group_name

    integer or string or integer or string

    A member specification

    If a user or group is not specified, this action will apply to all users

    project_id or project

    integer or string

    A project specification

    id

    integer

    A single task ID

    user_name or user_id

    string or integer

    The username or ID of a user that has run tasks

    status

    String

    A task status: Pending, Waiting, Running, Done, Canceled, Failed

    project_id

    integer

    id

    integer

    keep_output

    boolean

    slots

    String

    A comma-delimited list of input slots to query

    project_id or project

    integer or string

    A project specification

    id

    integer

    A single task ID

    user_name or user_id

    string or integer

    The username or ID of a user that has run tasks

    status

    String

    A task status: Pending, Waiting, Running, Done, Canceled, Failed

    recent

    boolean

    Set to false to report on all tasks

    true

    filepath or filter

    String

    filepath: a file on the server with filter content or filter: the filter content in json format

    task

    integer

    Filter commands to those belonging to the specified task ID

    worker_identifier

    integer

    Filter commands to those run on the specified worker

    successful

    boolean

    Filter commands based on whether they successfully completed

    command_line

    String

    Filter commands based on their command-line representation

    id

    String

    A specific command identifier

    task

    integer

    Filter results based on a task ID

    command

    String

    Filter results based on the command

    conservative

    boolean

    Include/exclude results based on whether they are flagged as conservative

    id

    String

    A specific command identifier

    task

    integer

    Filter results based on a task ID

    command

    String

    Filter results based on the command

    conservative

    boolean

    Include/exclude results based on whether they are flagged as conservative

    id

    String

    A specific command identifier

    task

    integer

    Filter results based on a task ID

    command

    String

    Filter results based on the command

    conservative

    boolean

    Include/exclude results based on whether they are flagged as conservative

    feature

    String

    Filters results based on feature name

    internal

    boolean

    Shut down the internal worker

    true

    external

    boolean

    Shut down all external workers

    true

    id

    integer

    Shut down only the worker matching this identifier

    submitted_workers

    integer

    max_memory_mb

    integer

    page_load_log_threshold

    integer

    If specified and greater than 0 a warning will be written to logs/page_load.log whenever a page-load takes longer than this value (in seconds)

    reload_import_config

    boolean

    Reload the partek_db/import.config file

    reload_help_config

    boolean

    Reload the partek_db/help.config file

    update_command_resources

    boolean

    Download and update command resource estimates

    file

    String

    Path to write the hprof heap dump

    synchronous_threadpool

    integer

    Number of threads to use for the synchronous executor

    dispatch_method

    String

    An optional method for dispatching commands that must run immediately

    user_id or user_name

    integer or string

    A user specification.

    If this is not specified, the user making the request will be used

    expiration

    String

    never for no expiration, otherwise: d-M-yyyy h:mm a

    duration

    integer

    duration of the token, in hours

    logger

    String

    The name of a logger or "commands" to configure multiple command-related logs.

    log_level

    String

    Sets the level of the specified logger: ALL, TRACE, DEBUG, INFO, WARN, ERROR, OFF

    get

    String

    Return current path to package

    package

    String

    Set the path of the specified package

    node

    String

    Required unless deleting from the root node

    key

    String

    The ID of the preference to delete

    node

    String

    The node name

    key

    String

    The preference name

    value

    String

    The preference value

    api_key

    String

    An API token to revoke. "mine" to revoke the requestors tokens, "all" to revoke all managed tokens (requires Change user accounts privilege)

    all_threads

    boolean

    Show all threads (rather than just those with partek in the class name)

    false

    heap_dump

    boolean

    Write heap dump to the logs

    false

    io

    boolean

    Measure the time to write & read a file from mount points

    api_key

    String

    The token to configure

    Return a list of all tokens managed for the requestor

    expiration

    String

    never for no expiration, otherwise: d-M-yyyy h:mm a

    Projects
    Samples
    Data
    Library files
    Pipelines
    Queue
    Users
    Roles
    Permission
    Tasks
    Filters
    Commands
    License
    Workers
    System
    REST API
    our support pagearrow-up-right

    Attribute files with more than 10,000 samples are assumed to be for single cell data, specify force=true to override this

    Data download directory configured on the System preferences page

    Unaligned reads

    Unaligned reads

    false

    false