Skip to main content

Importing your data

Learn how you import a file and add it to a table.

Import your data files through either the web interface or API. Cradle supports .csv, .tsv, and .xlsx file formats. API uploads additionally support .parquet format. The maximum file size is 100MB, for larger files split them into smaller files before import.

File requirements

Before uploading, ensure your data meets the formatting requirements below.

Protein sequence

Your protein sequence data must follow these formatting rules:

Sequence formatting requirements:

  • Use only capital letters for canonical amino acids.
  • If you have multiple measurements for the same sequence, report them as separate rows rather than grouping or averaging them.
SupportedUnsupported
A C D E F G H I K L M N P Q R S T V W Y-_ * . ; :

Assay data

Your assay measurements must be properly formatted for accurate model training:

Data formatting requirements:

  • Each cell must contain either a numeric value or be empty
  • Use empty cells or NaN for missing values
  • Never use zeros to represent missing data

Using zeros instead of empty cells for missing values will cause models to incorrectly learn associations between sequences and extremely low measurement values, compromising training quality.

Importing your file

After preparing your data you are ready to import your file. You can import data to tables through the UI or API.

To upload a file in the UI, go through the following steps:

  1. 1

    Start the import

    Click + New import to begin the process.

  2. 2

    Upload your file

    Select the file you want to import. Verify that the correct number of rows and columns were detected.

    Example
  3. 3

    Select destination table

    Choose the table where you want to add your data.

    Example
  4. 4

    Map columns

    Match the columns in your file to the corresponding columns in the destination table schema.

    Example
  5. 5

    Review and confirm

    Review the data mapping and click Finish import to complete the process.

    Example

Your data is now imported. View it by navigating to Data and selecting your destination table.

Undoing a load

If you need to remove an imported file due to errors, you can undo the import through the API. This removes the data from new table versions without permanently deleting it.

Undo a load: Use POST /v2/workspace/{workspace}/data/load:undo

Restore a undone load: Use POST /v2/workspace/{workspace}/data/load:redo