SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
sam to bam conversion error, no @SQ lines in the header, missing header? efoss Bioinformatics 17 12-03-2015 04:28 AM
GSNAP and SAM header JadeB Bioinformatics 8 10-17-2014 03:20 AM
SAM Header and reference contigs TKTKTK Bioinformatics 4 09-14-2014 11:55 PM
Add header to SAM file gormleymp Bioinformatics 9 11-14-2012 03:24 AM
.SAM to .BAM with SAM file header @PG emilyjia2000 Bioinformatics 13 06-14-2011 12:21 PM

Reply
 
Thread Tools
Old 04-08-2015, 03:25 AM   #1
student-t
Member
 
Location: Garvan Institute

Join Date: Mar 2015
Posts: 16
Default Bug? Do we need a header for a SAM?

I'm using the htslib C library for parsing my SAM files (also used by the samtools project). The library fails if there is no header in a SAM file. However, header is optional as specified in the official documentation.

Is this a bug or is this an expected behaviour? If this is a bug, I'll push an update to the project.
student-t is offline   Reply With Quote
Reply

Tags
htslib, samtools

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 07:05 PM.


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