Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JDinis
    Junior Member
    • Mar 2012
    • 3

    #1

    Illumina pair end read extraction.

    Hi all,

    I am working with a data set of 161x161 pair-end sequences generated on the Illumina MiSeq. In short, my goal is to extract all pair-end reads that overlap a 500 bp window of my assembly (easy part). I want to be able to show linkages of polymorphisms within this window.

    The problem that I am having is that I also want to extract all paired reads that are associated to different polymorphisms, such as all reads that overlap positions 700, 750 and 1005 based on my MSA (hard part).

    Is there a good program that can extract reads from MSA, SAM or BAM alignments based on the qualifier of nucleotide positions? If so what are your suggestions?

    Thanks all for your time.

    JD
  • SeekAnswers
    Member
    • Mar 2012
    • 21

    #2
    You can specify the coordinates that you like to extract from your bam with samtools view and make a smaller bam file.

    Then use something like bam2fastq to pull out the reads in that region.

    Comment

    • JDinis
      Junior Member
      • Mar 2012
      • 3

      #3
      To my knowledge of samtools (correct me if I am wrong) that function only work when extracting a range, extract all reads from 400 to 900 nt based on a reference. This will not work for my application.

      My goal is to extract paired reads that overlap coordinates 700 and 750 and 1000, it is similar in concept but a very different output. However, if I am wrong could you please let me know and could you please explain the syntax for such a search in samtools.

      Thanks for the reply.

      Comment

      • Dario1984
        Senior Member
        • Jun 2011
        • 166

        #4
        Use the scanBam function from the R package Rsamtools. You can give it a set of ranges of width 1, using the what parameter to ScanBamParam.

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