Unconfigured Ad

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

    #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
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      43 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      33 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      44 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      45 views
      0 reactions
      Last Post SEQadmin2  
      Working...