Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramouz87
    Member
    • Oct 2009
    • 35

    #1

    Paired-end Bam from single-end aligned sam

    Hi,
    I have 2 sam(reverse and farward) files generated by bowtie.
    I would like to generate a paired-end bam file from the 2 sam files.
    using samtools merge -nr generate only a file with the concatenation of the singles reads from bothb file but do not do the pairing
    tried also samtools fixmate but it's not working.
    I've looked at the spec for SAM format, in 1.4.4. Storing paired-end reads the following is stated : "A tool is also provided to reconstruct mating information from BAM, although this is done at the cost of intensive computation and large disk space."
    Is there any tool that allow to do the pairing of single reads based on the read ID ?
    Thanks in advance for your help,
    Regards,
    Ramzi
    Last edited by ramouz87; 07-20-2010, 05:20 AM.
    Research Scientist - Bioinformatics
    Sidra Medical and Research Center
  • oghabian
    Junior Member
    • Jun 2011
    • 2

    #2
    Hi everyone!
    Did you manage to get an answer for your question dear ramouz87?
    I have a similar questions except that I have two .bam files that include the pairs that are mapped, separately. I want to associate the pairs and have the results as a single .bam file.

    Does anyone know how that is possible?

    Comment

    • efoss
      Member
      • Jul 2011
      • 98

      #3
      I just came to this site to ask the same question - I have two sam files from Bowtie that come from paired end reads and I want to create one sam or bam file that incorporates the paired end information.

      Eric

      Comment

      • lh3
        Senior Member
        • Feb 2008
        • 686

        #4
        Please redo the alignment with a mapper supporting proper paired-end mapping. Merging single-end alignment afterwards always gives you worse results.

        Comment

        • dreesbl
          Registered Vendor
          • Nov 2009
          • 6

          #5
          @ efoss, oghabian, ramouz87

          I don't think there's any reasonable way to get from one to the other. The alignments you got by treating the reads as singles are not the same as what you'll get if you align them as paired. You can either redo the alignment as paired (the best solution) or forge ahead with what you've got treating the reads as single end.

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