Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mbk0asis
    Member
    • Dec 2011
    • 41

    combining htseq-count files into one

    Hi.
    I have 12 htseq-count result files.
    When I tried to combine them with Excel, I found that there were some missing rows in one file that were present in another.
    For example,
    <file1>
    a1 3
    a2 4
    a3 5
    a4 3

    <file2>
    a1 4
    a3 6
    a4 5


    Hot can I combine without loss of data like following?
    <file 1+2>
    a1 3 4
    a2 4 N/A
    a3 5 6
    a4 3 6


    Thank you!
  • Simon Anders
    Senior Member
    • Feb 2010
    • 995

    #2
    1. If there are missing rows, then you have a prime example for a data manipulation that is trivial in any statistics or scripting language but really complicated in Excel. Time to learn some scripting.

    2. There shouldn't be any missing rows, because htseq-count outputs a count for each gene that is mentioned with an exon line in the GTF file, no matter whether reads map to it or not. Something went wrong. Maybe you used different annotation files?

    Comment

    • mbk0asis
      Member
      • Dec 2011
      • 41

      #3
      Thanks for the reply.
      I'm actually learning python now, but it is difficult learn it since no one around me is familiar with scripting.
      Anyway, I ran htseq-count with SAM and GTF files for each sample.
      Following is the command I used for it.
      htseq-count -m intersection-strict -s no -i gene_naem I1.sam /home/bk/Desktop/bosTaurus_2013/GTF/I1_transcripts.gtf > I1_counts.txt
      I have data from 12 different samples, so I changed the file names according to the sample names.

      Comment

      • chadn737
        Senior Member
        • Jan 2009
        • 392

        #4
        Are these de novo assemblies or did you make a gtf file for each sample using Cufflinks? Because it looks like you are using a gtf file specific to the sample.

        In that case, each gtf will have slightly different lists of transcripts. In order to have htseq-count give the same output for each sample, you need to use the same gtf file for all of them.

        Comment

        • mbk0asis
          Member
          • Dec 2011
          • 41

          #5
          I didn't make GTF files. They are from a company we paid for sequencing.
          I know the company used Cufflinks for expression estimation.

          They didn't really explain me about those files. Besides I don't have much knowledge in the bioinfo. area, so everything is confusing for me.

          So what should I do to get the same GTF file

          Sorry for my disorganized question. English is not my primary language, so please understand...

          Comment

          • dpryan
            Devon Ryan
            • Jul 2011
            • 3478

            #6
            Have a look at the cuffmerge command that comes with cufflinks.

            Comment

            • chadn737
              Senior Member
              • Jan 2009
              • 392

              #7
              Not a problem. Use cuffmerge to merge all the GTF files into a into a single GTF and then use htseq-count using the merged GTF file.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                by SEQadmin2


                Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                The systematic characterization of the human proteome has
                ...
                Yesterday, 11:48 AM
              • 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

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Yesterday, 11:10 AM
              0 responses
              8 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-13-2026, 10:26 AM
              0 responses
              30 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-09-2026, 10:04 AM
              0 responses
              39 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-08-2026, 10:08 AM
              0 responses
              25 views
              0 reactions
              Last Post SEQadmin2  
              Working...