Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • fanzhen
    Junior Member
    • Feb 2019
    • 2

    Tophat error

    I am new to RNAseq, I am trying to map my reads to my reference genome. It generates this error
    Generating SAM header for /path/ref
    Traceback (most recent call last):
    File "/apps/tuxedo/tophat/2.1.2/bin/tophat", line 4107, in <module>
    sys.exit(main())
    File "/apps/tuxedo/tophat/2.1.2/bin/tophat", line 3961, in main
    params.read_params = check_reads_format(params, reads_list)
    File "/apps/tuxedo/tophat/2.1.2/bin/tophat", line 1856, in check_reads_format
    zf = ZReader(f_name, params)
    File "/apps/tuxedo/tophat/2.1.2/bin/tophat", line 1809, in __init__
    self.file=open(filename)
    IOError: [Errno 2] No such file or directory: ''

    Any ideas how to fix this?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    IOError: [Errno 2] No such file or directory: ''
    This is the critical piece. TopHat is not finding some file/directory that you specified in your command. Since you have not included your full command you will need to investigate which it may be.

    Comment

    • fanzhen
      Junior Member
      • Feb 2019
      • 2

      #3
      The following is my command.
      tophat2 -p 8 -r 300 -N 1 -o tophat_out /path/ref read1 read2
      And I have ref.fa and Bowtie built reference in this folder.
      The last line in log file is 'Generating SAM header for /path/ref'
      [2019-02-18 20:27:51] Beginning TopHat run (v2.1.2)
      -----------------------------------------------
      [2019-02-18 20:27:51] Checking for Bowtie
      Bowtie version: 2.3.4.3
      [2019-02-18 20:27:51] Checking for Bowtie index files (genome)..
      [2019-02-18 20:27:51] Checking for reference FASTA file
      [2019-02-18 20:27:51] Generating SAM header for /path/ref

      Comment

      • dan123
        Junior Member
        • Oct 2021
        • 1

        #4
        error same

        Originally posted by fanzhen View Post
        I am new to RNAseq, I am trying to map my reads to my reference genome. It generates this error
        Generating SAM header for /path/ref
        Traceback (most recent call last):
        File "/apps/tuxedo/tophat/2.1.2/bin/tophat", line 4107, in <module>
        sys.exit(main())
        File "/apps/tuxedo/tophat/2.1.2/bin/tophat", line 3961, in main
        params.read_params = check_reads_format(params, reads_list)
        File "/apps/tuxedo/tophat/2.1.2/bin/tophat", line 1856, in check_reads_format
        zf = ZReader(f_name, params)
        File "/apps/tuxedo/tophat/2.1.2/bin/tophat", line 1809, in __init__
        self.file=open(filename)
        IOError: [Errno 2] No such file or directory: ''

        Any ideas how to fix this?


        Have you solved this problems?

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by SEQadmin2



          Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
          ...
          07-09-2026, 11:10 AM
        • SEQadmin2
          Cancer Drug Resistance: The Lingering Barrier to Rising Survival
          by SEQadmin2



          Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

          There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
          07-08-2026, 05:17 AM
        • GATTACAT
          Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by GATTACAT
          Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
          07-01-2026, 11:43 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 07-13-2026, 10:26 AM
        0 responses
        20 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-09-2026, 10:04 AM
        0 responses
        30 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-08-2026, 10:08 AM
        0 responses
        18 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-07-2026, 11:05 AM
        0 responses
        34 views
        0 reactions
        Last Post SEQadmin2  
        Working...