Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • camelbbs
    Member
    • Jun 2011
    • 49

    cufflinks running problem

    Hi,

    I am using bowtie and cufflinks to get gene expression from RNA seq data.

    My workflow is like this:

    bowtie -p 4 --best --strata -m 1 --sam mm9/mm9 -q SRR032476.fastq SRR032476.sam

    and when i run

    cufflinks SRR032476.sam

    I got an error like

    Code:
    cufflinks: /usr/lib64/libz.so.1: no version information available (required by cufflinks)
    [bam_header_read] EOF marker is absent.
    File SRR032476.sam doesn't appear to be a valid BAM file, trying SAM...
    [15:46:53] Inspecting reads and determining fragment length distribution.
    > Processing Locus chr2:131113838-131113873    [                         ]   0%
    Error: this SAM file doesn't appear to be correctly sorted!
    	current hit is at chr1:162968481, last one was at chr9:108470655
    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.
    the head of sam file is:

    Code:
    @HD	VN:1.0	SO:unsorted
    @SQ	SN:chr1	LN:197195432
    @SQ	SN:chr2	LN:181748087
    @SQ	SN:chr3	LN:159599783
    @SQ	SN:chr4	LN:155630120
    @SQ	SN:chr5	LN:152537259
    @SQ	SN:chr6	LN:149517037
    @SQ	SN:chr7	LN:152524553
    @SQ	SN:chr8	LN:131738871
    @SQ	SN:chr9	LN:124076172
    @SQ	SN:chr10	LN:129993255
    @SQ	SN:chr11	LN:121843856
    @SQ	SN:chr12	LN:121257530
    @SQ	SN:chr13	LN:120284312
    @SQ	SN:chr14	LN:125194864
    @SQ	SN:chr15	LN:103494974
    @SQ	SN:chr16	LN:98319150
    @SQ	SN:chr17	LN:95272651
    @SQ	SN:chr18	LN:90772031
    @SQ	SN:chr19	LN:61342430
    @SQ	SN:chrX	LN:166650296
    @SQ	SN:chrY	LN:15902555
    @SQ	SN:chrM	LN:16299
    @PG	ID:Bowtie	VN:0.12.7	CL:"bowtie -p 4 --best --strata -m 1 --sam mm9/mm9 -q SRR032476.fastq SRR032476.sam"
    SRR032476.4 I354_2_FC30605AAXX:2:1:2:1524 length=35	4	*	0	0	**	0	0	NGAGGTAGTAGGTTGTATAGTTATCGTATTCCGTT	!IIIIIIIIIIIIIIIIII9IIIII,III+IB0H$	XM:i:0
    Anyone can help this? Thanks so much.
    Last edited by camelbbs; 07-01-2011, 01:59 PM.
  • blue mood
    Member
    • Jul 2011
    • 21

    #2
    Any suggestions?

    Comment

    • hlwright
      Member
      • Feb 2011
      • 30

      #3
      Hi
      have you tried the sort function as described in the cufflinks manual?

      "The SAM file supplied to Cufflinks must be sorted by reference position. If you aligned your reads with TopHat, your alignments will be properly sorted already. If you used another tool, you may want to make sure they are properly sorted as follows:

      sort -k 3,3 -k 4,4n hits.sam > hits.sam.sorted "

      Comment

      • darked89
        Member
        • Jun 2009
        • 38

        #4
        Originally posted by blue mood View Post
        Any suggestions?
        Get the newest version of (samtools 0.1.17), and convert the SAM to sorted BAM, preferably with index.

        Comment

        • kwatts59
          Member
          • Apr 2011
          • 46

          #5

          Comment

          • blue mood
            Member
            • Jul 2011
            • 21

            #6
            Originally posted by darked89 View Post
            Get the newest version of (samtools 0.1.17), and convert the SAM to sorted BAM, preferably with index.
            Thanks,it works well.

            Comment

            • blue mood
              Member
              • Jul 2011
              • 21

              #7
              i wonder if there is any way to avoid this issue?

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM
              • SEQadmin2
                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                by SEQadmin2



                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                07-08-2026, 05:17 AM
              • GATTACAT
                Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                by GATTACAT
                Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                07-01-2026, 11:43 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Today, 10:26 AM
              0 responses
              9 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-09-2026, 10:04 AM
              0 responses
              24 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-08-2026, 10:08 AM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-07-2026, 11:05 AM
              0 responses
              33 views
              0 reactions
              Last Post SEQadmin2  
              Working...