Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.25 KB

ARC.md

File metadata and controls

61 lines (42 loc) · 1.25 KB

ARC

🔗 The script files for this documentation can be found here:

Table of Content

Create

ARCtrl aims to provide an easy solution to create and manipulate ARCs in memory.

// F#
#r "nuget: FsSpreadsheet.Net"
#r "nuget: ARCtrl"

open ARCtrl

/// Init a new empty ARC
let arc = ARC()
// JavaScript
import {ARC} from "@nfdi4plants/arctrl";

let arc = new ARC()
# Python
from arctrl.arc import ARC

myArc = ARC()

This will initialize an ARC without metadata but with the basic ARC folder structure in arc.FileSystem

  • 📁 ARC root
    • 📄 isa.investigation.xlsx
    • 📁 workflows
    • 📁 runs
    • 📁 assays
    • 📁 studies

Write

In .NET you can use ARCtrl.NET to handle any contract based read/write operations. For this documentation we will extract the relevant ARCtrl.NET functions.

Read

Read may look intimidating at first, until you notice that most of this is just setup which can be reused for any read you do.

Setup will be placed on top, with the actual read below.