SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
running Cuffdiff with biological replicates Jane M Bioinformatics 13 07-15-2013 07:55 AM
Problem running PyroBayes JackieBadger Bioinformatics 1 05-16-2011 09:42 AM
multiple FPKM problem for single gene in gene_exp.diff after running cuffdiff ngs RNA Sequencing 4 03-30-2011 01:55 PM
problem running TopHat anecsulea Bioinformatics 1 03-28-2011 03:47 AM
a tophat running problem clariet Bioinformatics 1 04-12-2010 05:05 AM

Reply
 
Thread Tools
Old 02-02-2012, 07:18 AM   #1
john_nl
Member
 
Location: UK

Join Date: Feb 2012
Posts: 13
Default Running problem with cuffdiff

Hello,

I have problem with cuffdiff, where it complains about the SAM file not been sorted correctly:

Error: this SAM file doesn't appear to be correctly sorted!
current hit is at AT1G01050.1:81, last one was at AT1G01046.1:120

However, these loci are in the correct order and running cufflinks with the same SAM files does not produce any errors.

Perhaps someone else has encountered this problem before?

Any suggestions will be gratefully received.
john_nl is offline   Reply With Quote
Old 02-16-2012, 08:23 AM   #2
weasteam
Member
 
Location: FL

Join Date: Dec 2008
Posts: 26
Default

did you use the bam file generated from tophat?

I have the same problem if I use a bam file from CASAVA, but not from tophat.
weasteam is offline   Reply With Quote
Old 02-16-2012, 11:21 AM   #3
gringer
David Eccles (gringer)
 
Location: Wellington, New Zealand

Join Date: May 2011
Posts: 821
Default

Quote:
Originally Posted by john_nl View Post
Error: this SAM file doesn't appear to be correctly sorted!
current hit is at AT1G01050.1:81, last one was at AT1G01046.1:120

However, these loci are in the correct order and running cufflinks with the same SAM files does not produce any errors.
That depends on your idea of "correct". Strictly, the contig/chromosome order of sorted SAM or BAM files should follow the order from the header ("The order of @SQ lines defines the alignment sorting order"), so without the header information it can't be determined. I've got no idea if cufflinks looks for a strict ordering, or a dictionary/alphanumeric ordering when checking sort order in files.

Also, if the 'AT1G...:81' refer to read IDs (rather than contig IDs), then there's not enough information in what you've given to work anything out. If the 81 and 120 correspond to base positions on the same chromosome, then the sorting is incorrect by any measure.
gringer is offline   Reply With Quote
Reply

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 03:13 PM.


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