how to extact first 100 lines of an indexed BED file
1
0
Entering edit mode
4.6 years ago
a.james ▴ 240

I would like to know is there a way to extract lines of an indexed BED file, when you do not have the original BED file. I have an indexed bed file, from which I would like to subset it to a toy bed file for testing a script. Any suggestions are greatly appreciated!!

bed genome • 562 views
ADD COMMENT
3
Entering edit mode
4.6 years ago
ATpoint 85k

So you only have the index itself but not the original file? Then this is not possible. The index is simply like a map that indicates how to take shortcuts within the original file in order to retrieve certain chunks without searching the entire file. It does not contain any actual content from the original file though.

ADD COMMENT

Login before adding your answer.

Traffic: 2459 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6