Go Back   SEQanswers > Applications Forums > RNA Sequencing

Similar Threads
Thread Thread Starter Forum Replies Last Post
error with sam output ->Parse error at line xxxxx: missing colon in auxiliary data manore Bioinformatics 11 11-25-2013 01:50 PM
error in picard (SAM validation error) dongshenglulv Bioinformatics 3 07-05-2013 12:58 PM
Cufflinks refuses to operate on Tophat2 created bam or sam files due to sorting error amrezans Bioinformatics 1 06-24-2013 12:54 PM
SAM to CUFFLINKS SAM format repinementer Bioinformatics 4 03-15-2012 08:53 AM
Is anyone having trouble with tophat's SAM file -> cufflinks? peterlchang Bioinformatics 5 03-10-2010 06:17 PM

Thread Tools
Old 06-11-2014, 10:49 PM   #1
Location: China Shanghai

Join Date: May 2014
Posts: 12
Default Sam error when use cufflinks

Hi everyone ,when I use cufflinks to deal with a bem file,I get some errors.
like this :SAM error on line 451162: CIGAR op has zero length

[tuser@bioiserver1 ~/binwang/project1]$ cufflinks -p 8 -o 1v2 wgEncodeCaltechRnaSeqH1hescR2x75Il200AlignsRep1V2.bam
cufflinks: /lib64/ no version information available (required by cufflinks)
Warning: Your version of Cufflinks is not up-to-date. It is recommended that you upgrade to Cufflinks v2.2.1 to benefit from the most recent features and bug fixes (
Warning: BAM header has 0 length or is corrupted. Try using 'samtools reheader'.
File wgEncodeCaltechRnaSeqH1hescR2x75Il200AlignsRep1V2.bam doesn't appear to be a valid BAM file, trying SAM...
[10:59:58] Inspecting reads and determining fragment length distribution.
SAM error on line 6782: CIGAR op has zero length
SAM error on line 42019: CIGAR op has zero length
SAM error on line 42988: CIGAR op has zero length
SAM error on line 144697: CIGAR op has zero length
SAM error on line 161350: invalid CIGAR operation
wbb1813 is offline   Reply With Quote
Old 06-19-2014, 05:37 AM   #2
Senior Member
Location: Budapest

Join Date: Mar 2010
Posts: 329

Use TopHat to align reads. This create a proper BAM file.
TiborNagy is offline   Reply With Quote
Old 06-19-2014, 11:56 PM   #3
Senior Member
Location: Germany

Join Date: Apr 2012
Posts: 215

The error message is quite clear, though there are a lot of informations missing to provide a solution.

The cigar string is not properly read or hasn't been properly set by the mapper. What program are you using for mapping? How do the lines 6782, 42019, 42988, etc look like in your sam file? Are the cigar fields (6th column) really empty? What is the invalid operation in line 161350?
WhatsOEver is offline   Reply With Quote

cufflinks sam zero length

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 02:54 AM.

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