Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RNA-seq Tophat2 errors

    Hi everyone

    I'm rather new to this field, so am trying my best and have spent the better part of a day trying to get Tophat2 to work with RNA-seq data and the hg19 reference. I can smell that I'm close, but I just don't or can't see what is wrong with the way I'm running the program. I have installed everything as per instructions, the programs are all in the path, the indexes installed, and so I start with the following:

    Code:
    tophat2 -p 4 -o hivA --library-type fr-firststrand --keep-tmp --b2-very-sensitive $HOME/programs/bowtie2/hg19 $HOME/lincrna/fastq/A_1.fastq, $HOME/lincrna/fastq/A_2.fastq
    which gives


    [2012-05-09 09:20:23] Beginning TopHat run (v2.0.0)
    -----------------------------------------------
    [2012-05-09 09:20:23] Checking for Bowtie
    Bowtie version: 2.0.0.5
    [2012-05-09 09:20:23] Checking for Samtools
    Samtools version: 0.1.18.0
    [2012-05-09 09:20:23] Checking for Bowtie index files
    [2012-05-09 09:20:23] Checking for reference FASTA file
    [2012-05-09 09:20:23] Generating SAM header for /home/thompsonl/programs/bowtie2/hg19
    Traceback (most recent call last):
    File "/home/thompsonl/programs/tophat2/tophat", line 3778, in ?
    sys.exit(main())
    File "/home/thompsonl/programs/tophat2/tophat", line 3645, in main
    params.read_params = check_reads_format(params, reads_list)
    File "/home/thompsonl/programs/tophat2/tophat", line 1676, in check_reads_format
    zf = ZReader(f_name, params.system_params)
    File "/home/thompsonl/programs/tophat2/tophat", line 1629, in __init__
    self.file=open(filename)
    IOError: [Errno 2] No such file or directory: ''

    Now obviously, it can't find something, but what exactly can't it find ? I've checked the logs in the output directory but that doesn't yield any additional info. I've also tried a precompiled and source version of tophat2, but it doesn't seem to make a difference.

    Any suggestions for my myopia ?

    Thanks
    Liam

  • #2
    The error is complaining that it could not open the sequence file. I think you don't need that comma after the first fastq file.
    " $HOME/lincrna/fastq/A_1.fastq,"
    Last edited by rnaseek; 05-09-2012, 12:34 AM.

    Comment


    • #3
      Sigh..this seems to work now, thanks for clearing that up . Just a further question though, as the A_1.fastq and A_2.fastq are sequencing replicates should they instead be named A1_1.fastq A2_1.fastq ? Keeping in mind that this is single end RNA-seq not paired end.

      Comment


      • #4
        I thought it was a Paired End run. Since it is not a paired end you might want to rename the files and try running with the comma.

        Comment


        • #5
          The system dislikes any combination of commas that I try, I'll try without a comma, use "--library-type fr-firststrand" in the command line and see if it worked afterwords. Thanks for the suggestions.

          Comment


          • #6
            Since they are replicates (tech. reps?), you can run independently, compare and decide to merge the bam files later if needed.

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin


              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
              Yesterday, 07:01 AM
            • seqadmin
              Current Approaches to Protein Sequencing
              by seqadmin


              Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
              04-04-2024, 04:25 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            55 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            52 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            45 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-04-2024, 09:00 AM
            0 responses
            55 views
            0 likes
            Last Post seqadmin  
            Working...
            X