Problem While Running Bedops
0
0
Entering edit mode
11.4 years ago

Hello I wanted to convert the .sam file to .bed format. I have used the following command in bedops to accomplish that

sam2bed sam2bed.foo.sam | sort-bed - > sorted-reads.bed

However i am getting the error like this

FATAL: kernel too old
Segmentation fault (core dumped)

The same happened with bedops-v2.0.0a as well as bedops-v2.2.0 versions. Do i have to install samtools to do this will it not be done by bedops alone?

sam bed • 2.8k views
ADD COMMENT
1
Entering edit mode

I think the error is because of the kernel version and may be bedops was not compiled to support older kernel versions (how old I don't know). But you can check your kernel version with command uname -r.

ADD REPLY
0
Entering edit mode

Probably that would be the reason so what can i do for this?

ADD REPLY
0
Entering edit mode

Update your kernel :)

ADD REPLY
0
Entering edit mode

Hmm i am doing it in common server and it is not in my hands to do so. however i have installed it using cygwin in the local system and seems to be fine thank you for your help

ADD REPLY
0
Entering edit mode

You can download source code and compile it, if you have GNU GCC 4.7 or greater installed. Grab a copy of source via svn and see the included README for compilation notes: http://code.google.com/p/bedops/source/checkout

ADD REPLY
0
Entering edit mode

Thank you alex i would do that

ADD REPLY

Login before adding your answer.

Traffic: 1717 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