Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • moon_ligth
    Junior Member
    • Nov 2014
    • 1

    htseq-count

    Hello All,

    I have some .bam files from samples of human, two group of sample: First one for Normal and the other for patient, I have no access for the reads files. and i want to generated the genes counts to use it with in edgeR. i am new to these things. Could any one please help me with the steps.
    i directly tied the following command after i install the htseq-count

    htseq-count -f .bam .gtf > counts.txt

    from where i can get the the right .gtf file to use and do i need to put all the .bam files of every group together to get the counts.


    Please help
  • blancha
    Senior Member
    • May 2013
    • 367

    #2
    Start by checking the header of one of the BAM files.
    samtools view -H name.bam

    At the end of the header section, check the data field CL (command line) in the PG (Program) line.
    This will provide you with useful information about the GTF file to use, e.g. Ensembl or UCSC.

    Comment

    • blancha
      Senior Member
      • May 2013
      • 367

      #3
      For your second question, no you shouldn't merge the BAM files together if each BAM file corresponds to one sample.

      You will count the reads for each BAM file separately.
      DESeq2 will take as input the htseq-count for each file.

      Incidentally, if you are not able to identify the exact GTF file used from the header, you could always extract the reads from the BAM file and repeat the alignments. This would be more work however, and not absolutely necessary.

      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, 07-13-2026, 10:26 AM
      0 responses
      18 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-09-2026, 10:04 AM
      0 responses
      30 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
      34 views
      0 reactions
      Last Post SEQadmin2  
      Working...