Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yaseen.ladak
    Junior Member
    • Nov 2013
    • 7

    #1

    Raw counts - FeatureCounts (Rsubread), HT Seq and BEdtools

    Dear All,
    I would really appreciate some help.
    I have a aligned BAM file which is sorted. This file was obtained from paired end sequencing. I am trying to find the raw counts which fall in the regions mentioned in the GTF.

    The GTF is below:
    *********************************
    1dh10b ena exon 12163 14079 . + . gene_id "ECDH10B_0014"; transcript_id "ACB01219"; exon_number "1"; gene_name "dnaK"; gene_source "ena"; gene_biotype "protein_coding"; transcript_name "dnaK-1"; transcript_source "ena"; transcript_biotype "protein_coding"; exon_id "ACB01219-1";
    1dh10b ena exon 4040647 4043550 . + . gene_id "ECDH10B_3947"; transcript_id "ECDH10B_3947-1"; exon_number "1"; gene_name "rrlC"; gene_source "ena"; gene_biotype "rRNA"; transcript_name "rrlC"; transcript_source "ena"; transcript_biotype "rRNA"; exon_id "ECDH10B_3947-1";
    ***************************************

    When I ran Rsubreads in the paired end command and results mentioned below:

    *************
    The code for feature count:


    fc1<-featureCounts(files=c("R1.bam"),
    annot.ext="/data/tellis/analysis/genome/combined/dh10b_gfp_psb1c3_h3/test_part.gtf",
    isGTFAnnotationFile=TRUE,GTF.featureType="exon",
    isPairedEnd=TRUE)
    dge1 <- DGEList(counts=fc1$counts, genes=fc1$annotation)
    write.table(dge1$counts,file="/data/tellis/analysis/genome/combined/dh10b_gfp_psb1c3_h3/test_part_gtf_pe.txt",sep="\t")

    Result obtained:
    "R1.bam"
    "ECDH10B_0014" 6528
    "ECDH10B_3947" 255754

    When I run the above with single end mode i.e. isPairedEnd=FALSE, I get the following results:
    "R1.bam"
    "ECDH10B_0014" 12049
    "ECDH10B_3947" 440677

    I wanted to double check this with bedtools:
    bedtools coverage -a test_part.gtf -b R1.bam > cov_prt_gtf_bam.txt

    The counts I got were:
    ECDH10B_0014 12049
    ECDH10B_3947 4040647

    However, because bedtools results dont account for paired end the results were similar to feature counts in single end mode.

    But when I ran HTseq command as below
    htseq-count -f bam -s no R1.bam test_part.gtf > htseq_test_part_gtf.txt
    Results
    ECDH10B_3947 0
    ECDH10B_0014 6509

    When I checked on the IGV browser for the location on where the gene ECDH10B_3947 is I could hardly find any reads but bedtools in single mode picked up counts similar to feature counts single mode. There were also almost half the counts in feature counts in paired end mode. But the HT seq counts were zero and on IGV also there were no reads. ITs strange that for ECDH10B_0014 gene the counts of HT seq was similar to feature count in paired end mode.

    Can someone please help? I wold be grateful.

    Thanks,
    Yaseen



    ***************

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
26 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
20 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
36 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
43 views
0 reactions
Last Post SEQadmin2  
Working...