Example with repeats found on chromosome "NC_000024.10" for its 185 genes defined within a `json` file.
The repeats are located in plain text files `Repeats_Y_+.txt` and `Repeats_Y_-.txt` named after their `+` or `-` orientation.
The following files should be within the same directory for ease of use:
- Analysis.ipynb (this noteboo
- NC_000024.10_genes.json
- Repeats_Y_+.txt
- Repeats_Y_-.txt
The purpose of the code is to evaluate if a repeat is a *subsequence* of a gene, and then report the *begining* and *end* ranges for both the genes and the repeats.
This Python code therefore illustrates the use of `class` to define Python objects and they `methods` contained within that are the computations we want to run.
---
Thanks to Cristian for volunteering and demonstrating this real life example.