Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brinda
    Junior Member
    • Jan 2014
    • 2

    #1

    Bug in featureCounts?

    We are using featureCounts for both and single-end and pair-end data. In the command we always have the '-p' flag on, assuming it will be ignored for single-end data. However, we notice that the function of '-M' is affected because of '-p' flag.

    When we run single-end data without the -M flag, all the reads with NH > 1 are ignored, as expected. In the test data attached, we get a read count of 4. With -M flag, we get a count of 16, including reads with NH > 1, again, as expected.

    However, when we run single-end data without the -M flag but with '-p' flag, the multi-mapping reads (NH > 1) are no longer ignored and we get a read count of 16.

    The '-p' should have no effect on filtering multi-mapping reads. I'm attaching a sample sam and gtf file where this behavior may be replicated.
  • shi
    Wei Shi
    • Feb 2010
    • 236

    #2
    As stated in the program usage, the '-p' option should only be used for the summarization of paired-end reads. So you should not use it for the single-end reads.

    featureCounts tries to find the pair for each read when '-p' is specified. This causes a problem when single-end reads are provided and '-p' option was incorrectly specified.

    In the next release (late Februray hopefully), featureCounts will automatically detect the read type (single-end or paired-end) and it will ignore '-p' option when single-end reads are provided.

    Wei

    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
    29 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 10:48 AM
    0 responses
    22 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-15-2026, 10:52 AM
    0 responses
    38 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...