Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • jomaco
    replied
    Thanks. Very useful, I wasn't aware you could combine -F and -f

    Leave a comment:


  • swbarnes2
    replied
    Throw a -F 4 in there too, or you will get unmapped reads whose mate also did not map.

    Leave a comment:


  • jomaco
    started a topic Samtools filtering

    Samtools filtering

    Hi

    I am trying to filter for those reads which are mapped but where the mate is unmapped.

    I tried:

    Code:
    bsub "source samtools-0.1.18; samtools view -bt -f 8 F3H.fa.fai L2557F3H.sam > L2557F3H.bam"
    This doesn't appear to have worked correctly.

    I understand the bitwise flag codes to an extent but to be honest I've just been using the "plain english" picard tool (http://picard.sourceforge.net/explain-flags.html). I don't think I understand how to specify for these codes using the minus "-f" parameter.

    Thanks

    Jon

Latest Articles

Collapse

  • seqadmin
    Investigating the Gut Microbiome Through Diet and Spatial Biology
    by seqadmin




    The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
    02-24-2025, 06:31 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 03-03-2025, 01:15 PM
0 responses
171 views
0 likes
Last Post seqadmin  
Started by seqadmin, 02-28-2025, 12:58 PM
0 responses
261 views
0 likes
Last Post seqadmin  
Started by seqadmin, 02-24-2025, 02:48 PM
0 responses
646 views
0 likes
Last Post seqadmin  
Started by seqadmin, 02-21-2025, 02:46 PM
0 responses
265 views
0 likes
Last Post seqadmin  
Working...
X