Skip to content

Commit

Permalink
Added version specific config files and updated documentation accordi…
Browse files Browse the repository at this point in the history
…ngly
  • Loading branch information
sugan89 committed Oct 29, 2024
1 parent 4c9aee0 commit 8014dd6
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 21 deletions.
38 changes: 23 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,46 @@ To run CSV creation based on the XML file:

where \<index-directory\> is the directory containing the Index.idx.xml file and the images (any image set that is not complete will not be written to the CSV), config.yml is the LoadData configuration file and output.csv is the CSV that will be generated.

The config.yml file lets you name the channels you want to save and lets you pull metadata out of the image. An example:
The config.yml file lets you name the channels you want to save and lets you pull metadata out of the image. Based on the version of the `.xml` file, you can choose the `config_for_version5.xml` or `config_for_version6and7.yml` file from the `config` folder. An example of the `config.yml` if one is using the `.xml` file from version 5 of Harmony software:

channels:
HOECHST 33342: OrigDNA
Alexa 568: OrigAGP
Alexa 647: OrigMito
Alexa 488: OrigER
488 long: OrigRNA
channelid:
metadata:
Row: Row
Col: Col
FieldID: FieldID
PlaneID: PlaneID
ChannelID: ChannelID
PositionX: PositionX
PositionY: PositionY
PositionZ: PositionZ
AbsPositionZ: AbsPositionZ

An example of the `config.yml` if one is using the `.xml` file from version 6 and 7 of Harmony software:

channels:
channelid:
1: OrigER
2: OrigAGP
3: OrigRNA
4: OrigActin
5: OrigMito
6: OrigDNA
metadata:
Row: Row
Col: Col
FieldID: FieldID
PlaneID: PlaneID
ChannelID: ChannelID
ChannelName: ChannelName
ImageResolutionX: ImageResolutionX
ImageResolutionY: ImageResolutionY
ImageSizeX: ImageSizeX
ImageSizeY: ImageSizeY
BinningX: BinningX
BinningY: BinningY
MaxIntensity: MaxIntensity
PositionX: PositionX
PositionY: PositionY
PositionZ: PositionZ
AbsPositionZ: AbsPositionZ
AbsTime: AbsTime
MainExcitationWavelength: MainExcitationWavelength
MainEmissionWavelength: MainEmissionWavelength
ObjectiveMagnification: ObjectiveMagnification
ObjectiveNA: ObjectiveNA
ExposureTime: ExposureTime

In the above example, "HOECHST 33342" is the label for the DNA channel and
if you load the .csv file in LoadData, you will get an image named "DNA" in
Expand Down
6 changes: 0 additions & 6 deletions config.yml → config/config_for_version5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ channels:
Alexa 488: OrigER
488 long: OrigRNA
channelid:
1: OrigER
2: OrigAGP
3: OrigRNA
4: OrigActin
5: OrigMito
6: OrigDNA
metadata:
Row: Row
Col: Col
Expand Down
18 changes: 18 additions & 0 deletions config/config_for_version6and7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
channels:
channelid:
1: OrigER
2: OrigAGP
3: OrigRNA
4: OrigActin
5: OrigMito
6: OrigDNA
metadata:
Row: Row
Col: Col
FieldID: FieldID
PlaneID: PlaneID
ChannelID: ChannelID
PositionX: PositionX
PositionY: PositionY
PositionZ: PositionZ
AbsPositionZ: AbsPositionZ

0 comments on commit 8014dd6

Please sign in to comment.