Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arupsss
    Member
    • May 2011
    • 44

    #1

    Issue with SRA to FASTQ Conversion

    I have downloaded a SRA file from here. Now, I want to convert it into Fastq format.

    So, what I did is following,

    1) Download SRA Toolkit from here. (MS Windows 64 bit architecture - as I am using windows 7 64 bit)

    2) Put SRA file on "sratoolkit.2.1.10-win64\bin"

    3) Run command "fastq-dump SRR493095.sra"

    However, I can't understand why it is giving error ?

    Error is given here.

    Can anybody help me why is this happening ?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Did you look at the ncbi_error_report.xml file?
    If you can't find anything obvious can you post the contents of that file?

    Comment

    • Arupsss
      Member
      • May 2011
      • 44

      #3
      Originally posted by GenoMax View Post
      Did you look at the ncbi_error_report.xml file?
      If you can't find anything obvious can you post the contents of that file?
      I have uploaded it in http://pastebin.ca/2162892 .

      Comment

      • Richard Finney
        Senior Member
        • Feb 2009
        • 701

        #4
        Look here:


        The error " <Result rc="RC(rcDB,rcMgr,rcOpening,rcPath,rcIncorrect)"/>" (from your pastebin at http://pastebin.ca/2162892 ) output appears to be generated by this code :

        case kptFile:
        case kptFile | kptAlias:
        rc = KDirectoryOpenSraArchiveRead_silent ( dir, &ldir, false, path );
        if ( rc != 0 )
        rc = KDirectoryOpenTarArchiveRead_silent ( dir, &ldir, false, path );
        if ( rc == 0 )
        {
        /* recheck this newly opened directory for KDB/KFS type */
        type = KDBPathType ( ldir, "." );

        /* it its not the KDB type we wanted fail */
        if (( type != pathtype ) && (type != (pathtype | kptAlias )))
        {
        KDirectoryRelease (ldir);
        ldir = NULL;
        rc = RC ( rcDB, rcMgr, rcOpening, rcPath, rcIncorrect );
        }
        }
        else if ( rc != 0 )
        {
        rc = RC ( rcDB, rcMgr, rcOpening, rcPath, rcIncorrect );
        }
        break;
        }



        Hmmm ...
        I'd suggest specifying the full path to the SRA data file.

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          I think you need to run the command like below. I just verified that it works.

          fastq-dump ./SRR493095.sra (if the file is in the same directory), otherwise provide full path to where your file is located.

          Comment

          • Arupsss
            Member
            • May 2011
            • 44

            #6
            Originally posted by GenoMax View Post
            I think you need to run the command like below. I just verified that it works.

            fastq-dump ./SRR493095.sra (if the file is in the same directory), otherwise provide full path to where your file is located.
            I tried with full path also giving the same error. However, is there any way to download fastq format file for 150 bps reads ?

            Comment

            • Arupsss
              Member
              • May 2011
              • 44

              #7
              Originally posted by Richard Finney View Post
              Look here:


              The error " <Result rc="RC(rcDB,rcMgr,rcOpening,rcPath,rcIncorrect)"/>" (from your pastebin at http://pastebin.ca/2162892 ) output appears to be generated by this code :

              case kptFile:
              case kptFile | kptAlias:
              rc = KDirectoryOpenSraArchiveRead_silent ( dir, &ldir, false, path );
              if ( rc != 0 )
              rc = KDirectoryOpenTarArchiveRead_silent ( dir, &ldir, false, path );
              if ( rc == 0 )
              {
              /* recheck this newly opened directory for KDB/KFS type */
              type = KDBPathType ( ldir, "." );

              /* it its not the KDB type we wanted fail */
              if (( type != pathtype ) && (type != (pathtype | kptAlias )))
              {
              KDirectoryRelease (ldir);
              ldir = NULL;
              rc = RC ( rcDB, rcMgr, rcOpening, rcPath, rcIncorrect );
              }
              }
              else if ( rc != 0 )
              {
              rc = RC ( rcDB, rcMgr, rcOpening, rcPath, rcIncorrect );
              }
              break;
              }



              Hmmm ...
              I'd suggest specifying the full path to the SRA data file.
              I tried with full path also giving the same error. However, is there any way to convert .sra to fastq format ?

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #8
                I am not sure what to tell you. I am able to run the command and get the fastq file without any problem from that exact .sra file.

                Try re-downloading the .sra file (in case it somehow got corruputed during the donwload).

                Comment

                • Richard Finney
                  Senior Member
                  • Feb 2009
                  • 701

                  #9
                  fastq-dump should work
                  If it's SOLID data, I recommend abi-dump (I've had better luck with it).

                  Looking at your pastebin, I think you need the full path to your executable "fastq-dump".

                  <Binary path="/c/sratoolkit.2.1.10-win64/bin/fastq-dump" type="not found"/>


                  Try putting an ".exe" file name extension if that is in the real name of the file.

                  Comment

                  • Arupsss
                    Member
                    • May 2011
                    • 44

                    #10
                    Thanks a lot. I am trying to start from first. Another point is that after your previous days help, I get stuck on this and this. Can you help me about those ? BTW thanks a lot for your kind help.

                    Comment

                    • Arupsss
                      Member
                      • May 2011
                      • 44

                      #11
                      Thanks a lot. However, one question is,

                      is it enough to just download Sra Toolkit and run the above command ? Is any other step required for windows 7 61 bit ?

                      Comment

                      • Arupsss
                        Member
                        • May 2011
                        • 44

                        #12
                        Originally posted by GenoMax View Post
                        I am not sure what to tell you. I am able to run the command and get the fastq file without any problem from that exact .sra file.

                        Try re-downloading the .sra file (in case it somehow got corruputed during the donwload).
                        Thanks a lot GenoMax. You are right. I started from the first. Download everything again. And works nicely. Thanks.

                        Comment

                        • GenoMax
                          Senior Member
                          • Feb 2008
                          • 7142

                          #13
                          I have answered the questions you posted here in the respective threads.

                          Originally posted by Arupsss View Post
                          I get stuck on this and this. Can you help me about those ?
                          Last edited by GenoMax; 06-19-2012, 08:23 AM.

                          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
                          • 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

                          ad_right_rmr

                          Collapse

                          News

                          Collapse

                          Topics Statistics Last Post
                          Started by SEQadmin2, Today, 10:13 AM
                          0 responses
                          13 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-31-2026, 02:55 AM
                          0 responses
                          23 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-24-2026, 12:17 PM
                          0 responses
                          19 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-23-2026, 11:41 AM
                          0 responses
                          18 views
                          0 reactions
                          Last Post SEQadmin2  
                          Working...