Hello everyone. I have a scripting/coding question.
I'm trying to run an analysis to find the number of regions found within a particular segment length throughout a chromosome.
For instance:
Chr1-
In this case the segments are broken into 50 basepair lengths along the entire chromosome, but a way to vary that length would be desired. The starting file would most likely compose of either a .BED or .GFF
The desired output of such an analysis for the example above would be as such:
Any help with this would be greatly appreciated.
Thanks.
I'm trying to run an analysis to find the number of regions found within a particular segment length throughout a chromosome.
For instance:
Chr1-
In this case the segments are broken into 50 basepair lengths along the entire chromosome, but a way to vary that length would be desired. The starting file would most likely compose of either a .BED or .GFF
The desired output of such an analysis for the example above would be as such:
Code:
[Segment] \t [Count_of_regions] 1-49 4 50-99 5 100-149 4 150-199 6
Thanks.