elab2ARC
elab2ARC is a tool for converting eLabFTW experiments into Annotated Research Context (ARC) format. It allows researchers to easily fetch experiment data from eLabFTW instances and update or push these files to DataHUB in ARC format. The application streamlines the management of data from lab experiments to repositories, improving efficiency in scientific data handling.
Why is elab2ARC needed?
Section titled Why is elab2ARC needed?Many researchers rely on electronic lab notebooks (ELNs) to document their experiments due to their flexibility in handling free-form text and supporting data files up to 100 MB. However, when metadata standardization becomes necessary or when raw data files exceed the file size limit, other research data standards, such as Annotated Research Context (ARC), may be required.
ARC offers robust metadata annotation tools and customizable templates that help standardize the unstructured content typically found in ELNs. Additionally, ARC supports large files up to 10 GB, making it an excellent complement to ELNs like eLabFTW, which are not designed to handle raw data storage or larger file sizes.
Manually transferring metadata from ELNs to ARC can be both error-prone and time-consuming. To address this challenge, elab2ARC provides an efficient solution by automating the extraction, transformation, and loading (ETL) of data from ELN records into ARC-compliant structures. This tool streamlines the process, reduces errors, and ensures consistency, enhancing research data management workflows.
Features of elab2ARC
Section titled Features of elab2ARCelab2ARC simplifies converting eLabFTW experiment data into Annotated Research Context (ARC) format. Key features include:
- Direct Data Retrieval: Extracts experiment data from eLabFTW using experiment IDs and API keys.
- ARC Conversion: Transforms data into ARC format, organizing protocols, datasets, and metadata.
- DataHub Integration: Automates ARC file updates and pushes them to a DataHub repository.
- Multi-Instance Support: Manages data from multiple eLabFTW instances seamlessly.
These features streamline workflows, ensuring efficient and standardized data management.
Setting up elab2ARC
Section titled Setting up elab2ARCCreate an Project Access Token in DataHUB
Section titled Create an Project Access Token in DataHUBThis guide shows you how to generate a Project Access Token. Project Access Token are similar to Personal Access Token, but Project Access Tokens are scoped to a project, so you cannot use them to access resources from other projects.
- Sign in to the DataHUB
- Open your Project (ARC)
- Navigate to ‘Settings’ (1), then ‘Access Tokens’ (2):
- Choose a name for your token (1), set an expiration date (optional) (2), assign a role (3), configure permissions (4), and create your token (5):
- Once created, you can copy the token:
Create an eLabFTW API key
Section titled Create an eLabFTW API key- Login to your elabFTW instance
- Navigate to ‘User Settings’
- Navigate to ‘API KEYS’ Tab. Enter a name and a Read Only permissions
- Save the key securely, as it will only be displayed once. Treat it like a password, as it grants access to eLabFTW.
Modify eLabFTW experiment
Section titled Modify eLabFTW experiment- Select the eLabFTW experiment, which you want to convert and go to edit mode
- Add an extra field to your eLabFTW experiment (bottom)
- Use field type URL and as a name datahub_url and enter the URL of your ARC as the default value
- Save the entry
How to use elab2ARC
Section titled How to use elab2ARC-
Select your elabFTW Instance or add your instance [1]
-
Paste eLabFTW API key [2]
-
Paste DataHUB Project Access Token [3]
-
Enter eLabFTW Experiment ID [4] (use comma to seperate multiple IDs) which can be found in the experiment settings. Make sure that you have added the DataHUB URL as an extra field before.
-
Click One Click Submission [5] to start the converting.
Conversion
Section titled ConversionThe elab2ARC tool will automatically convert your elabFTW experiments into ARC format
- create a new assay folder with eLabFTW experiment name as assay name (green)
- create the assay folder structure (dataset/protocols/isa.assay)
- convert experiment main text into a .md file and store it in the protocol folder (purple)
- add all attachments of the eLabFTW experiment into the dataset folder (yellow)
- enter name/email/affiliation of the eLabFTW experiment metadata into the isa.assay sheet