# T-score calculator

T-score calculator can be used to find the T-score if the T-stretch of the terminator is known already.

## Installation

The code requires the user to install biopython to work properly. [biopython]( https://biopython.org/wiki/Getting_Started )

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install biopython.

pip install biopython

## Files present:
1. terminator.xslx : Raw data sheet obtained from Supplementary material provided by de Hoon et al (2005)[1]
2. Final terminator data sheet.xslx : Calculated t-score of the terminators from raw data sheet
3. T-score.py : Calculates T-score of T-stretches in terminator.xslx if both are present in the same folder
4. T-score individual.py : Calculates T-score if the user inputs the T-stretch for Bacillus subtilis

##Important note:
1. To run the python files open it in the editor and run it.
2. The calculator is based on Bacillus subtilis. For E. coli the T-score formulae is different. Refer to [2] for E coli.

##References:
[1] de Hoon, M. J. L., Makita, Y., Nakai, K., & Miyano, S. (2005). Prediction of Transcriptional Terminators in Bacillus subtilis and Related Species. PLoS Computational Biology, 1(3), e25. https://doi.org/10.1371/journal.pcbi.0010025 

[2] Carafa, Y. d’Aubenton, Brody, E., & Thermes, C. (1990). Prediction of rho-independent Escherichia coli transcription terminators. Journal of Molecular Biology, 216(4), 835–858. https://doi.org/10.1016/s0022-2836(99)80005-9 

