Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dadada4ever
    Member
    • Mar 2010
    • 18

    #1

    Tophat-fusion-post error

    Hi everyone, I have a question when using tophat-fusion-post, and any suggestions would be greatly appreciated.

    I use the tophatfusion-0.1.0 (the old version) to do the tophat-fusion and the results seems fine. But when I use the tophat-fusion-post:
    Code:
    python /share/disk2-4/zengchq/gongkn/tophatfusion-0.1.0/src/tophat-fusion-post.py -p 8 --num-fusion-reads 1 --num-fusion-pairs 2 --num-fusion-both 5  /share_bio/panfs/zengchq/baij/HumanRef/BowtieIndex_hs37.67
    The error shows:
    Code:
    [Fri Jun 29 16:15:22 2012] Beginning TopHat-Fusion post-processing run (v0.1.0 (Beta))
    -----------------------------------------------
    [Fri Jun 29 16:15:22 2012] Extracting 23-mer around fusions and mapping them using Bowtie
    [Fri Jun 29 16:15:22 2012] Filtering fusions
    	Processing: tophat_N/fusions.out
    Traceback (most recent call last):
      File "/share/disk2-4/zengchq/gongkn/tophatfusion-0.1.0/src/tophat-fusion-post.py", line 1904, in <module>
        sys.exit(main())
      File "/share/disk2-4/zengchq/gongkn/tophatfusion-0.1.0/src/tophat-fusion-post.py", line 1875, in main
        filter_fusion(params)
      File "/share/disk2-4/zengchq/gongkn/tophatfusion-0.1.0/src/tophat-fusion-post.py", line 632, in filter_fusion
        filter_fusion_impl(fusion_file, refGene_list, ensGene_list, ensGtp_dic, seq_chr_dic, fusion_gene_list)
      File "/share/disk2-4/zengchq/gongkn/tophatfusion-0.1.0/src/tophat-fusion-post.py", line 351, in filter_fusion_impl
        kmer_len = len(seq_chr_dic.keys()[0])
    IndexError: list index out of range
    The one who occur the same error said it's the reason of Bowtie index and then I tried the Bowtie1 Bowtie2 index separately and even tried to use tophat2 to run my tophat-fusion-0.1.0 results but the errors are all the same. (link here: http://www.biostars.org/post/show/47...ion-post-error).
    And my directory structure is:
    Code:
    (top_dir)
    Tophat-N
    Tophat-T
    tophatfusion_out - the output directory by tophat-fusion-post
    ensGene.txt 
    ensGtp.txt
    refGene_sorted.txt
    mcl
    blast_human - blast database
    I don't know where the question is, please give me some suggestions...
    Thank you,
    Conan.
  • bioinfo0421
    Junior Member
    • Jul 2009
    • 1

    #2
    ....................

    Comment

    • lpqsx2005
      Junior Member
      • Aug 2012
      • 3

      #3
      I have the exactly same error.Have you solved it yet? Can anybody help me?

      Comment

      • dadada4ever
        Member
        • Mar 2010
        • 18

        #4
        Originally posted by lpqsx2005 View Post
        I have the exactly same error.Have you solved it yet? Can anybody help me?
        Nope. IMO you could write perl script to filter out the raw results generated from tophat fusion and acquire the gene name manually.
        If your data is sequenced by illumina you could try some other software such as deFuse.

        Comment

        • mknut
          Member
          • Jul 2012
          • 23

          #5
          I got identical error and managed to solve it. As advised by Richard on Biostars http://www.biostars.org/p/47369/
          What you need to do is place both bowtie 1 and bowtie 2 indexes in one folder (either index them yourself or download from ftp://ftp.cbcb.umd.edu/pub/data/), point tophat-fusion-post to this folder and it should be running. Worked for me.

          Command I used:

          Code:
          tophat-fusion-post -p 8 --num-fusion-reads 1 --num-fusion-pairs 2 --num-fusion-both 5 /scratch/EXOME_DATA/RNASEQ/index_combined/hg19

          Using:
          Tophat 2.0.6
          Bowtie 0.12.8
          Bowtie2 2.0.2

          Comment

          • lpqsx2005
            Junior Member
            • Aug 2012
            • 3

            #6
            Originally posted by mknut View Post
            I got identical error and managed to solve it. As advised by Richard on Biostars http://www.biostars.org/p/47369/
            What you need to do is place both bowtie 1 and bowtie 2 indexes in one folder (either index them yourself or download from ftp://ftp.cbcb.umd.edu/pub/data/), point tophat-fusion-post to this folder and it should be running. Worked for me.

            Command I used:

            Code:
            tophat-fusion-post -p 8 --num-fusion-reads 1 --num-fusion-pairs 2 --num-fusion-both 5 /scratch/EXOME_DATA/RNASEQ/index_combined/hg19

            Using:
            Tophat 2.0.6
            Bowtie 0.12.8
            Bowtie2 2.0.2
            I will have a try.Thank you very much!

            Comment

            • lpqsx2005
              Junior Member
              • Aug 2012
              • 3

              #7
              Originally posted by mknut View Post
              I got identical error and managed to solve it. As advised by Richard on Biostars http://www.biostars.org/p/47369/
              What you need to do is place both bowtie 1 and bowtie 2 indexes in one folder (either index them yourself or download from ftp://ftp.cbcb.umd.edu/pub/data/), point tophat-fusion-post to this folder and it should be running. Worked for me.

              Command I used:

              Code:
              tophat-fusion-post -p 8 --num-fusion-reads 1 --num-fusion-pairs 2 --num-fusion-both 5 /scratch/EXOME_DATA/RNASEQ/index_combined/hg19

              Using:
              Tophat 2.0.6
              Bowtie 0.12.8
              Bowtie2 2.0.2
              It worked!Thank you!

              Comment

              • dadada4ever
                Member
                • Mar 2010
                • 18

                #8
                Bump.
                I tried to put bowtie1 and bowtie2 indexes together, but program still reported same error.
                ConanMacBook-Air:Tophat_fusion Conan$ tophat-fusion-post ../Ref_official_website_ver/hg19_mix/
                [Sun Feb 17 17:24:43 2013] Beginning TopHat-Fusion post-processing run (v2.0.7)
                -----------------------------------------------
                [Sun Feb 17 17:24:44 2013] Extracting 23-mer around fusions and mapping them using Bowtie
                [Sun Feb 17 17:24:44 2013] Filtering fusions
                Processing: tophat_S4-a/fusions.out
                Traceback (most recent call last):
                File "/Users/Conan/WorkApps/tophat-2.0.7.OSX_x86_64/tophat-fusion-post", line 2615, in <module>
                sys.exit(main())
                File "/Users/Conan/WorkApps/tophat-2.0.7.OSX_x86_64/tophat-fusion-post", line 2586, in main
                filter_fusion(bwt_idx_prefix, params)
                File "/Users/Conan/WorkApps/tophat-2.0.7.OSX_x86_64/tophat-fusion-post", line 704, in filter_fusion
                filter_fusion_impl(fusion_file, refGene_list, ensGene_list, seq_chr_dic, fusion_gene_list)
                File "/Users/Conan/WorkApps/tophat-2.0.7.OSX_x86_64/tophat-fusion-post", line 428, in filter_fusion_impl
                kmer_len = len(seq_chr_dic.keys()[0])
                IndexError: list index out of range
                Can anybody tell me where the standard error file is so that I could find out my specific problem. Since Richard on Biostar said:
                When looked in the stderr I found that tophat-fusion-post wanted to use the bowtie1 index for my genome, while I only had the bowtie 2 index, which I used to run tophat 2.
                Thank you!

                Comment

                • Nobuyuki Fujii
                  Junior Member
                  • Nov 2010
                  • 1

                  #9
                  I also encountered the same problem and the problem did not resolve the problem immediately after the correction about bowtie index.

                  Problem was solved after I remove the tophatfusion_out directory that was created by my previous run with error.

                  Please try it.

                  Originally posted by dadada4ever View Post
                  Bump.
                  I tried to put bowtie1 and bowtie2 indexes together, but program still reported same error.


                  Can anybody tell me where the standard error file is so that I could find out my specific problem. Since Richard on Biostar said:


                  Thank you!

                  Comment

                  • jp.
                    Senior Member
                    • Jul 2013
                    • 142

                    #10
                    Hi
                    I got the trouble with tophatfusio-post.
                    can you guess something...I posted here:
                    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

                    Comment

                    Latest Articles

                    Collapse

                    • SEQadmin2
                      Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                      by SEQadmin2



                      CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                      Despite this, “CRISPR helped turn genome editing from a specialized technique into
                      ...
                      07-31-2026, 11:01 AM
                    • SEQadmin2
                      Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                      by SEQadmin2


                      Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                      The systematic characterization of the human proteome has
                      ...
                      07-20-2026, 11:48 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, Yesterday, 10:35 AM
                    0 responses
                    7 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 08-06-2026, 07:41 AM
                    0 responses
                    25 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 08-03-2026, 10:13 AM
                    0 responses
                    45 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-31-2026, 02:55 AM
                    0 responses
                    48 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...