Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • idonaldson
    Member
    • Oct 2009
    • 37

    SOLiD paired-end read analysis with BFAST 0.7.0a

    I am trying to get going with paired-end mapping using BFAST 0.7.0a, but stalling so far.

    I have 50bp F3 reads and 35bp F5-BC reads from a SOLiD4.

    This is my current workflow:
    - filterer the reads to remove poor quality reads

    - combine F3 and F5-BC read files to an interleaved FASTQ file using solid2fastq.

    - remove reads that do not have a corresponding partner (due to quality filtering step)
    so only paired 50bp and 35bp reads in FASTQ, e.g.:
    Code:
    @2_58_1022
    T11030012.13.031.13..220020201100120232000.0010..00
    +
    8B>@7<A9!A=!A?9!BA!!;B?B:@A?@79A=?7/B??=/!&?.4!!><
    @2_58_1022
    G03012022110321000220002310222320030
    +
    .386;BA749?>50<@8591@:=7+6'1)3+&4%/
    @2_59_549
    T32212131.1203201231302132200022200213130200102.020
    +
    A?=@@@B@!B?@8@@-?A?@>A@@=<>>6?(//;=*;6?60'1+<1!0'?
    @2_59_549
    G31302031000200031220202301033020330
    +
    93<A=B/>7+'525=;896@8/=4/?>:@9/=B6B
    - run bfast match
    Code:
    bfast match -f genome.fa -A 1 -n 1 -t -r interleaved.fastq > interleaved.bmf
    - run bfast localalign
    Code:
    bfast localalign -f genome.fa -m interleaved.bmf -A 1 -n 1 -t > interleaved.baf
    -run bfast postprocess
    Code:
    bfast postprocess -f genome.fa -i interleaved.baf -A 1 -O 1 -n 1 -t -a 2 -Y 0 > interleaved.sam
    - convert SAM to BAM and run flagstat
    Code:
    31104184 + 0 in total (QC-passed reads + QC-failed reads)
    0 + 0 duplicates
    8402049 + 0 mapped (27.01%:-nan%)
    31104184 + 0 paired in sequencing
    15552092 + 0 read1
    15552092 + 0 read2
    0 + 0 properly paired (0.00%:-nan%)
    0 + 0 with itself and mate mapped
    8402049 + 0 singletons (27.01%:-nan%)
    0 + 0 with mate mapped to a different chr
    0 + 0 with mate mapped to a different chr (mapQ>=5)
    No valid pairs!

    If i map the F3 and F5_BC individually i get about 55% mapping for F3, but 0% for F5_BC.
    The flags in the SAM file also indicate the reads are indeed in pairs, bit the downstream read does not match (89 for F3 and 165 for F5_BC).

    So the F5_BC is not mapping at all for some reason. Am i doing something silly here?!

    Thanks for any guidance!

    Ian
  • Chipper
    Senior Member
    • Mar 2008
    • 323

    #2
    Maybe your index is longer than 35 bp? I don't see how else you could get 0% mapping... Is the -n 1 flag specifying which index is used?

    Comment

    • idonaldson
      Member
      • Oct 2009
      • 37

      #3
      @Chipper - The index was created using 'bfast index' using the default seeds. '-n 1' just specifies the number of threads used by the program.

      Thanks for your reply.

      Comment

      • Patidar
        Member
        • Feb 2012
        • 10

        #4
        I am running bfast on SOLiD PE data with the default ssetting. After I got the bam files I loaded them into IVG and got indels and lots of snps(more then what I was getting using bioscpe). Approximately every reed have 1 or more indels in it.
        I'd appreciate if someone can help me out with the parameters I should choose to get a better alignment.

        Thanks

        Comment

        • kenietz
          Member
          • Nov 2011
          • 86

          #5
          Hi guys,
          i got the same strange result when working with SOLID PE data:

          ----- FLAGSTAT-----

          151746110 + 0 in total (QC-passed reads + QC-failed reads)
          0 + 0 duplicates
          60525771 + 0 mapped (39.89%:-nan%)
          151746110 + 0 paired in sequencing
          75873055 + 0 read1
          75873055 + 0 read2
          0 + 0 properly paired (0.00%:-nan%)
          0 + 0 with itself and mate mapped
          60525771 + 0 singletons (39.89%:-nan%)
          0 + 0 with mate mapped to a different chr
          0 + 0 with mate mapped to a different chr (mapQ>=5)

          --------------------------------

          But may be is connected to this warning i got from 'bfast postprocess':
          bfast postprocess -f hg19.fa -i reads.baf -A 1 -O 1 -n 4 -Y 0 -a 3 -z > reads.sam

          ------ warning ------

          Estimating paired end distance...
          Found only 0 distances to infer the insert size distribution
          ************************************************************
          In function "GetPEDBins": Warning[OutOfRange]. Variable/Value: b->numDistances.
          Message: Not enough distances to infer insert size distribution.
          ***** Warning *****
          ************************************************************
          Reads processed: 100000
          ************************************************************
          ************************************************************

          ------------------------

          What that error means at all?

          Thank you for you help!

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by SEQadmin2


            I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

            Here are nine questions we think about, in roughly the order they matter, before...
            06-18-2026, 07:11 AM
          • 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.
            ...
            06-02-2026, 10:05 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 06-26-2026, 11:10 AM
          0 responses
          12 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-17-2026, 06:09 AM
          0 responses
          46 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-09-2026, 11:58 AM
          0 responses
          106 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-05-2026, 10:09 AM
          0 responses
          125 views
          0 reactions
          Last Post SEQadmin2  
          Working...