|
Your filenames already carry important information about your experiment such as sample, treatments, dyes etc. Thir `Key-Values from Description` can extract this information and store it in key-values pairs.
|
|
Your filenames already carry important information about your experiment such as sample, treatments, dyes etc. The is script called `Key-Values from Description` that can extract this information and store it in key-values pairs.
|
|
|
|
|
|
|
|
## Summary
|
|
|
|
The script does the following:
|
|
|
|
1. reads template for how to chop the filename up
|
|
|
|
2. reads the 'slot numbers' and corresponding key
|
|
|
|
3. then chops up each file name to extracts the values, matches them with the key, and store key-value pair with the image.
|
|
|
|
|
|
|
|
On this page we will use the filename example set. The filenames have this structure
|
|
|
|
`171101_dose-100_time1_rep1.tif`
|
|
|
|
|
|
|
|
To attach the key value metadata the following is added to the Dataset Description.
|
|
|
|
`
|
|
|
|
# filename key-value
|
|
|
|
template *_*_*_*_*_snapshot_R3D.dv
|
|
|
|
|
|
|
|
1. DateOfExperiment
|
|
|
|
2. Probe
|
|
|
|
3. Dye
|
|
|
|
4. Dye
|
|
|
|
5. Replicate
|
|
|
|
# end key-value
|
|
|
|
`
|
|
|
|
|
|
|
|
# Template |