Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • annavilborg
    Junior Member
    • Feb 2013
    • 8

    #1

    Input Paired-ended data to Tophat

    Hi,

    This should really be an easy thing, but I am getting conflicting advice...so my question is: What is the correct way to input paired-ended (75bp, Illumina Hi-Seq) strand specific data to Tophat? Should I enter the separate file lists for R1 and R2 fastq files? Or should I use a merged file (that is also available for download from our sequencing facility) and input the same file twice?

    The first option seems more logical to me, but I have heard and read that if one inputs the same file twice, Tophat should be able to figure out that this is paired-ended data, split it (I assume) and use that.

    Does anyone know the correct approach?

    Thank you!
  • mknut
    Member
    • Jul 2012
    • 23

    #2
    From the manual:
    Usage: tophat [options]* <index_base> <reads1_1[,...,readsN_1]> [reads1_2,...readsN_2]

    <reads1_1[,...,readsN_1]> A comma-separated list of files containing reads in FASTQ or FASTA format. When running TopHat with paired-end reads, this should be the *_1 ("left") set of files.
    <[reads1_2,...readsN_2]> A comma-separated list of files containing reads in FASTA or FASTA format. Only used when running TopHat with paired end reads, and contains the *_2 ("right") set of files. The *_2 files MUST appear in the same order as the *_1 files.
    So for example:
    Code:
    tophat -o outputDirectoryName -r 50 --library-type fr-unstranded /path/to/genome/reference /path/to/first/read/read_1.fastq /path/to/second/read/read_2.fastq
    Having a quick look at the tophat sourcecode (prep_reads.cpp), it looks like tophat processes reads sequentially, ie. the first read in read_1.fastq has to be the mate of the first read in read_2.fastq. Tophat does not seem to be doing any automatic read mate matching, at least nothing I can see. I think that if you merge the reads into one file and submit it twice as read1 and read2, you will lose synchronisation between the reads, if it works at all. Anyway, the method above is the method suggested in the manual, so I would stick to it.
    To reiterate:
    Should I enter the separate file lists for R1 and R2 fastq files?
    Yes

    Comment

    • annavilborg
      Junior Member
      • Feb 2013
      • 8

      #3
      Thank you! And thanks for explaining how tophat does this, great to get the background. I'll go ahead and run my samples as separate R1 and R2 files.

      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, Yesterday, 11:13 AM
      0 responses
      19 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Yesterday, 10:48 AM
      0 responses
      18 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Working...