Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wjs018/dnaspectra

Code used to analyze DNA absorption spectra in my lab.
https://github.com/wjs018/dnaspectra

Last synced: about 1 month ago
JSON representation

Code used to analyze DNA absorption spectra in my lab.

Awesome Lists containing this project

README

        

# DNA Spectra

This is a piece of code written to quickly analyze absorbance spectra of DNA samples obtained in the lab in which I work. The data is written to file by the spectrometer (mfd. by Ocean Optics). This program is very dependent upon filename conventions, so make sure that as the experiments proceed that all the data files are named appropriately. See below section for more info.

## Filename Conventions

There are three main types of experiments this program is made to handle: time series, temperature series, and a temperature ramp. A time series experiment consists of setting a temperature on the spectrometer and measuring absorbance of your sample as a function of time. This basically measures the time it takes to heat up or cool down your sample. A temperature series experiment consists of changing the temperature of your sample, letting it equilibrate at the new temperature and then recording a spectrum. This allows for equilibrium measurements of absorbance rather than the kinetic measurements of a time series experiment. Finally, a temperature ramp experiment is one in which the temperature of your sample is changed over time at a steady rate.

The three types of experiment have their own file naming conventions. For time series, the format looks like this:

`_Time___Eth_Gly__mM_NaCl_C_.txt`

where

* `` optional and can be any text you want so long as it doesn't conflict with any other markers
* `` optional and can be any text you want so long as it doesn't conflict with any other markers
* `` is the percent by volume of Ethylene Glycol in the sample
* `` is the salt (NaCl) concentration of the sample in mM
* `` is the temperature of the sample in Celcius
* `` is the automatically generated timestamp from the spectrometer

For Temperature series experiments, the filename convention looks like this:

`__Eth_Gly__mM_NaCl_C.txt`

where

* `` optional and can be any text you want so long as it doesn't conflict with any other markers. Especially make sure it does not contain the word time in it, otherwise it will be allocated to the wrong type of experiment.
* `` is the percent by volume of Ethylene Glycol in the sample
* `` is the salt (NaCl) concentration of the sample in mM
* `` is the temperature of the sample in Celcius

Finally, for a temperature ramp experiment, the following convention should be used:

`_Time___Eth_Gly__mM_NaCl_C_Start_C_End_C_Min_.txt`

where

* `` optional and can be any text you want so long as it doesn't conflict with any other markers
* `` optional and can be any text you want so long as it doesn't conflict with any other markers
* `` is the percent by volume of Ethylene Glycol in the sample
* `` is the salt (NaCl) concentration of the sample in mM
* `` is the starting temperature of the sample in Celcius
* `` is the ending temperature of the sample in Celcius
* `` is the change in temperature per minute, must be positive
* `` is the automatically generated timestamp from the spectrometer

## Dependencies

* Python 2.x
* numpy

## Contact

Walter Schwenger, [email protected]