Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
soap segmentation fault scami Bioinformatics 6 04-17-2012 07:08 AM
Segmentation fault in sift4.03 nkwuji Bioinformatics 2 12-20-2011 11:35 PM
Dindel Segmentation fault srividya Bioinformatics 0 02-23-2011 09:32 PM
SOAP:segmentation fault Mansequencer Bioinformatics 1 11-19-2010 11:47 AM
Segmentation fault in consed michaelbarton Bioinformatics 0 06-11-2010 01:50 PM

Thread Tools
Old 04-17-2013, 02:36 AM   #1
Location: helsinki

Join Date: Jun 2011
Posts: 54
Default Chromosomal notation and Segmentation fault

Hi all,

I have a bam file with chromosomal notation 1,2.... and i need it to be as chr1,chr2.....

For this i have tried, samtools view -H sample.bam > header.sam

Then edited the header.sam file with required chromosomal notation and tried samtools reheader header.sam sample.bam > out.bam

when in tried to view out.bam using samtools it says "Segemntation fault".

I also tried with PICARD, java -Xmx4g -jar ReplaceSamHeader.jar INPUT=sample.bam HEADER=header.sam OUTPUT=out.bam CREATE_INDEX=TRUE

It reports the same error with samtools i.e. segmenation fault.

Could anyone help me to fix this?
meher is offline   Reply With Quote
Old 07-29-2013, 07:19 PM   #2
Junior Member
Location: China

Join Date: Aug 2012
Posts: 1

I got the same problem...

Finally i gave up the reheader option. and use " cat header.sam sample.sam | samools view -S -b - >sample.bam" instead.

Last edited by wangwl; 07-29-2013 at 07:32 PM.
wangwl is offline   Reply With Quote

chromosomoe notation, segmentation fault

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 08:27 AM.

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