Skip to content

Instantly share code, notes, and snippets.

@motine
Last active December 2, 2020 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save motine/6ea92e2654f6c21e240476667aa6ca2e to your computer and use it in GitHub Desktop.
Save motine/6ea92e2654f6c21e240476667aa6ca2e to your computer and use it in GitHub Desktop.
// mind the casing: camelCase
// we use floats and integers not strings
// we use null where appropriate
// in regard to 4. "standardized analysis names": when we define a standard format, let's make sure to also standardize this
// similar for 5. "standardized instrument names": let the homogenization layer take care of this and make sure we define standard names for instrument types
{
"name": "GE20_RT3168-3171-3173-3175_20200626_JRU_Prof",
"instrument": "LightCycler480",
"instrumentId": 6078,
"instrumentName": "Prof_6078",
"maxPositionsToSeek": 384,
"maxAcquisition": 50,
"analyses": [ // we only have the meta data for analyses only once & we leverage the the implicit ordering through lists later
{
"analysisName": "ICR",
"analysisType": "Abs Quant/Fit Pts",
"created": "2020-06-26T08:07:17.640",
"colorCompensationSet": true,
"colorCompensationFile": "RIDA_GENE_Color_Compensation_5-plex_384_20200327_JFA (CC)Prof",
"emissionWl": 580,
"excitationWl": 533,
"fluorThresholdLevel": 0.842616182347137,
"colorName": "VIC / HEX / Yellow555"
},
// ...next analysis...
],
"positions": [
{
"positionName": "A1",
"kitName": null, // depends on used chemicals of batch
"sampleBarcode": "UKHC8LD9TK",
"batchId": null,
"acquisitions": [ // per analysis
{ "cp": 27.818181823423, "fluorescences": [4.38046411034769, 7.12341234123412, 2.9999999999999, ...] }, // these are the values for the first analysis, the first element is the value for the first position, the second for the second position, ...
{ "cp": null, "fluorescences": [...] } // this is the second analysis
// ...
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment