Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jasminegirl18
    Junior Member
    • Feb 2014
    • 5

    Can't use my SAM files for cuffdiff

    Hi everyone,

    I am running a cuffdiff with GTF files from cuffmerge and SAM files from my mapped reads (CLC Bio). However, I've got error notification that my SAM files are not aligned. I searched through the web and found this:

    Do Cufflinks and Cuffdiff support both BAM and SAM?

    Yes. If a SAM is supplied, a message will be output that the file is not a valid BAM file. However, Cufflinks will recognize this and treat the file as a SAM. When using a SAM file, you should include a proper header or ensure that the reads are lexicographically by chromosome and then numerically by left position. You can accomplish this sorting with the command sort -k3,3 -k4,4n in.sam > out.sam.


    As I am running from Galaxy website and not using the LINUX setting, what should I do to keep my analysis going using cuffdiff. Thanks.

    Jasmine
  • yueluo
    Member
    • Aug 2013
    • 82

    #2
    Are your SAM files "sorted" by coordinates ?

    Comment

    • swbarnes2
      Senior Member
      • May 2008
      • 910

      #3
      SAM files are far larger than .bam files, you are going to want to compress them for the long term, so since you are having problems with them now, you should probably just compress them already.

      Comment

      • jasminegirl18
        Junior Member
        • Feb 2014
        • 5

        #4
        @yueluo May I know how can I do that? Does that means that I assigned coordinates to each mapped sample (different conditions) so that cuffmerge can recognise it? Which tool can I use in Galaxy?

        Hope to get reply from you soon. I am really foreign to bioinformatics tools. Thanks guys =)

        Comment

        • yueluo
          Member
          • Aug 2013
          • 82

          #5
          What did your error message look like?
          Here is a quote from cufflinks on how to sort the sam file:
          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

          • jasminegirl18
            Junior Member
            • Feb 2014
            • 5

            #6
            @yueluo Thanks. I do realise it now that it will be easier for me to align my reads using Tophat instead of CLC Bio. The problem is because I am using cufflink thru Galaxy website and I am unsure how to key in the command stated above. If I am not wrong, the command stated above is only LINUX based right?

            Thanks for your help =)

            Comment

            • jasminegirl18
              Junior Member
              • Feb 2014
              • 5

              #7
              @yueluo By the way, are you a frequent user of galaxy?

              Comment

              • yueluo
                Member
                • Aug 2013
                • 82

                #8
                @jasminegirl
                Sorry,no... I have access to local clusters/servers.

                Comment

                • jasminegirl18
                  Junior Member
                  • Feb 2014
                  • 5

                  #9
                  @yueluo Oh i see. But thanks anyway for your help. I will update you on my progress. Thanks.

                  Comment

                  Latest Articles

                  Collapse

                  • seqadmin
                    Pathogen Surveillance with Advanced Genomic Tools
                    by seqadmin




                    The COVID-19 pandemic highlighted the need for proactive pathogen surveillance systems. As ongoing threats like avian influenza and newly emerging infections continue to pose risks, researchers are working to improve how quickly and accurately pathogens can be identified and tracked. In a recent SEQanswers webinar, two experts discussed how next-generation sequencing (NGS) and machine learning are shaping efforts to monitor viral variation and trace the origins of infectious...
                    Yesterday, 11:48 AM
                  • seqadmin
                    New Genomics Tools and Methods Shared at AGBT 2025
                    by seqadmin


                    This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

                    The Headliner
                    The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
                    03-03-2025, 01:39 PM
                  • seqadmin
                    Investigating the Gut Microbiome Through Diet and Spatial Biology
                    by seqadmin




                    The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
                    02-24-2025, 06:31 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, 03-20-2025, 05:03 AM
                  0 responses
                  37 views
                  0 reactions
                  Last Post seqadmin  
                  Started by seqadmin, 03-19-2025, 07:27 AM
                  0 responses
                  43 views
                  0 reactions
                  Last Post seqadmin  
                  Started by seqadmin, 03-18-2025, 12:50 PM
                  0 responses
                  35 views
                  0 reactions
                  Last Post seqadmin  
                  Started by seqadmin, 03-03-2025, 01:15 PM
                  0 responses
                  191 views
                  0 reactions
                  Last Post seqadmin  
                  Working...