Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sugo
    Junior Member
    • Nov 2013
    • 8

    #1

    Tophat paired-end reads and minimum length

    Hello,

    I have a few questions about running my paired-end reads through Tophat (using Galaxy).

    1) From what I've read on this forum, it sounds like paired end reads have to be properly mate-matched (that is, each pair must have a mate, and be in the same order, in the R1 and R2 files) in order for Tophat to map the mates properly. My question is, if I save any remaining unpaired mates after QC in a separate file, and run them through Tophat separately from the paired end reads, how can I then join the single-end and paired-end data together for analysis in Cufflinks?

    2) How do I determine the standard deviation of distances between my mate-pairs? All I've got to work off of is a graph of the size distributions, which range from about 200 to about 1000 (average ~300). I want to ensure that Tophat is still able to successfully map those larger fragments.

    3) What is the shortest fragment length that it is reasonable to try and map? I noticed that the default Tophat setting on galaxy is to map a minimum read segment length of 25. So I'm wondering if this is a good cutoff for minimum length of read to keep after QC.

    Any thoughts or suggestions are greatly appreciated
  • Wallysb01
    Senior Member
    • Feb 2011
    • 286

    #2
    1) Personally I wouldn’t bother with this. There might be reasons those reads didn’t map in the right orientation that would mean you’d rather just ignore them anyway. Are you hurting for coverage? Because you probably won’t really recover much this way anyway. If you didn’t have gross problems with library prep or sequencing, hopefully tophat should be aligning 80%+ of the reads correctly.

    2) You can use "bamtools stats -insert -in aligned_reads.bam” to figure this out. But remember, tophat can handle pairs that have introns between them, so you really shouldn’t worry about 1000bp. Some pairs will have >100,000bp between them. For instance, in one of my RNAseq data sets the median insert size is just 169bp, while average is 49Kbp. Obviously introns are pushing that average way up.

    3) You really shouldn’t have it shorter than about 50bp for detecting splicing. Tophat runs by trying to align the whole read first, then breaking it up into peaces (default is 4 fragments of 25bp for 100bp reads). If you only have one fragment worth (i.e. leaving it at 25bp and having <50bp read length), the splicing mapping is basically worthless. You can set that 25bp to be 20 or something, and get down to a total read length of 40bp, but remember that the shorter the read length the less unique mappings you’re going to have. So your alignments will get progressively worse as you drop that down. The option is set with "--segment-length”. Personally, I wouldn’t do much trimming though. You can get rid of adapters, but in my experience quality trimming really doesn’t help when you’re aligning to a genome. These aligners are already quality aware, so mismatches in poor quality regions don’t hurt you much.

    Comment

    • carmeyeii
      Senior Member
      • Mar 2011
      • 137

      #3
      Originally posted by Wallysb01 View Post
      1) Personally I wouldn’t bother with this. There might be reasons those reads didn’t map in the right orientation that would mean you’d rather just ignore them anyway. Are you hurting for coverage? Because you probably won’t really recover much this way anyway. If you didn’t have gross problems with library prep or sequencing, hopefully tophat should be aligning 80%+ of the reads correctly.
      I think you misunderstood the OP. He meant having pairs of reads which have become mate-less after QC, not after mapping.

      So, one mate will pass QC, but the other one will not, thus leaving you with a list of single-end reads who lost their partner due to sequencing quality reasons, but they could still align on their own.

      What to do in those cases?

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      39 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      28 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      41 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      45 views
      0 reactions
      Last Post SEQadmin2  
      Working...