After running cufflink for two samples of RNA-Seq data, I used cuffmerge and executed the following command

cuffmerge -o -g -s assemblies.txt

Where assemblies.txt contains the transcripts.gtf

But I am getting following error

Beginning transcriptome assembly merge

Preparing output location cuffmerge_out/ Converting GTF files to SAM Loading reference annotation. Loading reference annotation. Quantitating transcripts 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 (http://cufflinks.cbcb.umd.edu). Command line: cufflinks -o cuffmerge_out/ -F 0.05 -g sequence.gtf -q --overhang-tolerance 200 --library-type=transfrags -A 0.0 --min-frags-per-transfrag 0 --no-5-extend -p 1 cuffmerge_out/tmp/mergeSam_filelA9PHi [bam_header_read] EOF marker is absent. [bam_header_read] invalid BAM binary header (this is not a BAM file). File cuffmerge_out/tmp/mergeSam_filelA9PHi doesn't appear to be a valid BAM file, trying SAM... Loading reference annotation. Inspecting reads and determining fragment length distribution.

Error: this SAM file doesn't appear to be correctly sorted!     current hit is at U42361.1:174, last one was at U44758.1:645 Cufflinks requires that if your file has SQ records in the SAM header that they appear in the same order as the chromosomes names in the alignments. If there are no SQ records in the header, or if the header is missing, the alignments must be sorted lexicographically by chromsome name and by position.

    [FAILED] Error: could not execute cufflinks

Similar questions and discussions