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

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Today, 06:37 PM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      56 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      175 views
      0 reactions
      Last Post SEQadmin2  
      Working...