Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hong_sunwoo
    Member
    • Jan 2010
    • 11

    #1

    Split accepted_hits.bam file after Tophat run?

    Hello.

    I am working on two RNA seq data from different conditions.
    Now I am using tophat - cufflinks pipe line.

    At first time, I ran tophat seperately each sam files (previous version Tophat was used).

    Yesterday, I learned that two sample can be pooled in tophat process and ran tophat(v 1.1.0) as below.
    $ tophat /rnaseq/bowtie/indexes/hg19 s_1_sequence.txt,s_2_sequence.txt

    After run, I found that only one Bam file (accepted_hits.bam).
    Because two RNA-seq data was processed, I guess that Tophat might report to Bam files.
    Does it mean that I misunderstood something?
    Or is it possible to split up again as quote below?
    If you do pool the reads, you could also rename them to tag them by sample, so you can split the sample alignments up again after the TopHat run if needed.
  • rocksd
    Member
    • Jul 2010
    • 14

    #2
    I believe you need to remove the "," between the two sequencing file if they are from two different samples.

    Comment

    • krobison
      Senior Member
      • Nov 2007
      • 734

      #3
      Removing the comma between files is not compatible with the manual; supplying two lists like that will mean they will be interpreted as the two sides of paired end reads & if the ids don't match up I suspect the program will error out.

      Code:
      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.

      Comment

      • simonandrews
        Simon Andrews
        • May 2009
        • 870

        #4
        We've had the same problem. We'd like to process multiple files in the same batch - using the combined evidence from all files to do junction detection. At the moment we've run things like you said, and then parsed the sam output file to use the ids to decide which original file the hit came from. However this won't work in all cases since the ids aren't always unique between different files.

        I think adding this functionality would be really useful, and did suggest this to the developers, but haven't heard anything back as yet.

        Comment

        • krobison
          Senior Member
          • Nov 2007
          • 734

          #5
          Could you ensure uniqueness of ids by prefixing them prior to running through TopHat? (Not that I love one more preprocessing step)

          Comment

          • fkrueger
            Senior Member
            • Sep 2009
            • 627

            #6
            Yes prefixing to ensure uniqueness would work.

            Comment

            • simonandrews
              Simon Andrews
              • May 2009
              • 870

              #7
              Originally posted by krobison View Post
              Could you ensure uniqueness of ids by prefixing them prior to running through TopHat? (Not that I love one more preprocessing step)
              You could, but it's a pain because you'd have to duplicate all of your original files to do this. Also, when we've tried this off larger numbers of samples (more than 8 lanes worth) then tophat seems to come to a grinding halt when it's trying to do the junction detection. It seems to create enormous temporary files which it then spends ages trying to sort. We ended up killing it after 24hours at this step.

              If this is to work efficiently I suspect there'd need to be some more structural changes inside the program.

              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
              17 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...