We used the following script to calculate the value of accessibility.
First, we find the region coordinates on which we focused using Blat search and then executed the script.
1 | # -*- coding: utf-8 -*- |
Example of usage:
1 | python3 averageBedgraph.py example.bedgraph chr1 10150 10250 |
Output of usage:
1 | average : 12.74 |