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

    • 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...