Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • starbug
    Junior Member
    • Nov 2013
    • 5

    bwa paired read FR issue

    Hi,

    I have been trying to run the following bwa mem command:

    bwa mem -M -t 16 w_ind.fa SRR412532_1.fastq.gz SRR412532_2.fastq.gz | samtools view -Sb - | samtools sort - SRR412532.sorted && samtools index SRR412532.sorted.bam

    And for each iteration get the following:

    [M:rocess] read 1777778 sequences (160000020 bp)...
    [M::mem_pestat] # candidate unique pairs for (FF, FR, RF, RR): (0, 2, 0, 0)
    [M::mem_pestat] skip orientation FF as there are not enough pairs
    [M::mem_pestat] skip orientation FR as there are not enough pairs
    [M::mem_pestat] skip orientation RF as there are not enough pairs
    [M::mem_pestat] skip orientation RR as there are not enough pairs
    [M::mem_process_seqs] Processed 1777778 reads in 75.678 CPU sec, 22.324 real sec

    This shoud be a paired read dataset and when I check the FASTQ files I see:

    gzcat SRR412532_1.fastq.gz | head
    @SRR412532.1 FCC02L0ACXX:3:1101:1130:1956/1
    NGAGCTTCAGGCCCAGGCCAAGGCTTACTTTGAGAAGACGCAGGAGCAGCTAACACCCCTGGTCAAGAAGGCCGGAACTGACCTGATCAA
    +
    #1=DDDDEHHHGGIGHI=FHGGGIG>BAFGHC>=BCGG>:?DG?CB;FECE>CC@G1=5,,;?;@ACA;>;2=;'820>@>>>C<>@@A>
    @SRR412532.2 FCC02L0ACXX:3:1101:1035:1967/1
    NACAAAAAGCAAAATGAATCTAGCTGTCCCTGTCCTGGCCGGTATTCCATCTTCTAGAACCTGTTTCCGTGTTTTTCCTGGAGTGTCTGC
    +
    #1:BDFFFF?FHHIGEHIB@AHIGICFDEGGIHGEEHIIGEG?FFEDHIGGGIIIG;CGGGEGGHGA3;.;.?B@=@AC>>55(5>5;A#
    @SRR412532.3 FCC02L0ACXX:3:1101:1464:1954/1
    NTGCTTTTCTGCCCTGGAAGTTGATGAGGCATATGTTCCCAAAGAGTTTAACGCTGAAACATTCACCTTCCATGCAGACTTATGCACACT

    gzcat SRR412532_2.fastq.gz | head
    @SRR412532.1 FCC02L0ACXX:3:1101:1130:1956/2
    GTTGGGAGAGGGCTCCAGACCTGGCCAGTGGGGGTTCTAGGGGCCAGCAGGGGAGGGAAGACAATGGTCTGGACGCCTCACTGGGTGGCA
    +
    @B@?DDDDAHFHHIFHIJIGIGCHHIGI3?FGII7;FE@GHIBHAEB?@E;>>8?@2'588ACCCDC(44?9@AB><B9(8@A#######
    @SRR412532.2 FCC02L0ACXX:3:1101:1035:1967/2
    GGGTTTAGGGACCTCCCTGGGTGGAACAATCTACACGGTTGAAGCACTAGCAGGGAGGTTCTAGTGGGATCACACGTTTATTAACATGCT
    +
    ?@@=BDFFGHDFFGGHIGIHCFEHHGGHGHGGGGGHIDBFHIJCFHCAGIFGHGIHEB?;BBC>;AC6A>?=CDCB?A<BDDCDDCA@CC
    @SRR412532.3 FCC02L0ACXX:3:1101:1464:1954/2
    GGCTTGTGTTTCACCAGCTCAGCAAGTGCAGATTGTTTCTTGACTTGTTTCTCAGCCTCAGGAAGTGTGCATAAGACTGCATGGAAGGTG

    I am not sure why there are not enough FR pairs as the reads seem to be in the same order with matching headings... Am probably missing something obvious!!! Any ideas??

    All help much appreciated!!

    Thanks in advance
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Are you using current versions of bwa/samtools?

    Comment

    • starbug
      Junior Member
      • Nov 2013
      • 5

      #3
      bwa version 0.7.12 / samtools 1.2

      Have tried a couple of other SRA datasets with this bwa install and they map really nicely. Bit stumped as to what's different about this one...

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Have you done a quick count on the two files to make sure that there is an equal number of reads in them? (grep for "^@SRR412532" and do a line count on both files).

        Comment

        • starbug
          Junior Member
          • Nov 2013
          • 5

          #5
          Ooh no I hadn't thought of that! Just given that a try now but both showing same count (26,073,197)

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            But it appears that bwa is only reading 1,777,778 sequences based on the log above so something is wrong with the files. Perhaps you can try to download them again?

            You can find the fastq files at EBI SRA: http://www.ebi.ac.uk/ena/data/view/SRR412532 if you don't want to deal with SRA.

            Comment

            • starbug
              Junior Member
              • Nov 2013
              • 5

              #7
              Have just downloaded the FASTQs from the EBI again (sorry, I should have mentioned I bypassed SRA) and still the same issue. Is it worth downloading them as SRAs with fastq-dump even though it will take longer?

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #8
                Since files at EBI have this problem it may be worth a shot getting them using fastq-dump from SRA.

                There are instances where the original data as submitted may have a problem. If the files from SRA don't work either then you should contact SRA support and/or the original submitter to let them know.
                Last edited by GenoMax; 01-21-2016, 04:57 AM.

                Comment

                Latest Articles

                Collapse

                • SEQadmin2
                  From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                  by SEQadmin2


                  Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                  The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                  ...
                  Yesterday, 10:05 AM
                • SEQadmin2
                  Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
                  by SEQadmin2


                  With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


                  Introduction

                  Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
                  05-22-2026, 06:42 AM
                • SEQadmin2
                  Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
                  by SEQadmin2

                  Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


                  Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
                  05-06-2026, 09:04 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, Yesterday, 12:03 PM
                0 responses
                19 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, Yesterday, 11:40 AM
                0 responses
                14 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 05-28-2026, 11:40 AM
                0 responses
                29 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 05-26-2026, 10:12 AM
                0 responses
                31 views
                0 reactions
                Last Post SEQadmin2  
                Working...