Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shocker8786
    Member
    • Jan 2013
    • 28

    #1

    Align paired and unpaired reads with Tophat

    I have a stranded PE RNAseq data set that I want to align with tophat using the --library-type fr-firststrand option. After adaptor trimming I end up with my 4 files:

    paired_1
    paired_2
    unpaired_1
    unpaired_2

    Is there a way to align these so I do not loose the strand information for the unpaired reads? When I run tophat with the files listed like this:

    paired_1,unpaired_1 paired_2,unpaired_2

    It seems to want to try and align the two unpaired files as paired files. If I combine the two unpaired files and run tophat with the files listed like this:

    paired_1 paired_2,unpaired

    It recognizes the last file as unpaired. But am I loosing my strand specificity by aligning this way? Thanks.
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Inputting the files like:
    Code:
    paired_1,unpaired_1 paired_2,unpaired_2
    Will result in "unpaired_1" and "unpaired_2" being treated as paired, which is the opposite of what you want. To keep the strandedness correct you'll need to run things twice. Firstly using "paired_1,unpaired_1 paired_2" with library-type set to fr-firststrand and then just "unpaired_2" by itself with "fr-secondstrand". I should note that aligning unpaired_2 is usually not worthwhile (the reads are often crap), but perhaps you'll get luckier than I have with that.

    Comment

    • shocker8786
      Member
      • Jan 2013
      • 28

      #3
      Thank you very much for your response, that makes a lot of sense.

      Comment

      • natar210@gmail.com
        Junior Member
        • Jun 2013
        • 2

        #4
        On this note ..I Have a question. I am doing PE RNA-Seq analysis of mouse data. My read length is 90bp and fragment size is 127 bp which means I have overlapping reads. I used Flash and found that not all reads overlap.

        I have a file with merged reads which overlaps and also two files with non overlap reads. basically three fastq files.

        How do I go about running Tophat with this and I am not really sure hot to calculate the mean inner mate distance and sd??

        Has anyone come across this situation???

        Comment

        • dpryan
          Devon Ryan
          • Jul 2011
          • 3478

          #5
          There's no need to run Flash on them, just use tophat2 and bowtie2 instead of bowtie1.

          For the mean inner distance, just try 0 and see if that produces acceptable results (I recall reading that tophat re-estimates the insert length as it runs, though I can't say I've ever checked if that's correct).

          Comment

          • natar210@gmail.com
            Junior Member
            • Jun 2013
            • 2

            #6
            Thanks alot Ryan... I will try that.

            Comment

            • NicoBxl
              not just another member
              • Aug 2010
              • 264

              #7
              or just use STAR that do not need to specify inner distance. and also is much faster for the same ( even better ) results

              Comment

              Latest Articles

              Collapse

              • 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, detection...
                Today, 06:46 AM
              • 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

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 10-28-2026, 09:57 AM
              0 responses
              23 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-28-2026, 09:51 AM
              0 responses
              15 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 11:13 AM
              0 responses
              68 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 10:48 AM
              0 responses
              48 views
              0 reactions
              Last Post SEQadmin2  
              Working...