Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
segment length in tophat ickou RNA Sequencing 4 05-21-2013 12:30 PM
next segment. ardmore Bioinformatics 1 11-11-2011 10:37 AM
TopHat - Segment Join Failed fongchun Bioinformatics 1 05-16-2011 10:46 AM
Tophat --segment-length Pepe Bioinformatics 0 05-31-2010 10:33 PM
Tophat Segment-based junction error = -9 UNCKidney Bioinformatics 4 04-08-2010 07:29 AM

Thread Tools
Old 01-08-2012, 10:53 AM   #1
Location: Kansas City

Join Date: Oct 2009
Posts: 88
Default Counting of regions within a segment

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:


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:

[Segment] \t [Count_of_regions]
1-49		4
50-99		5	
100-149		4
150-199		6
Any help with this would be greatly appreciated.

DrD2009 is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 12:18 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO