Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Bowtie "could not open read file"

    Hi everyone,

    I am new to this forum and not at all familiar with bioinformatics.
    I am just starting to learn how to use Bowtie to make alignments from solexa next gen sequencing fastq files.

    Here is how I ran it:

    bowtie hg18 reads/Pool7_BC1_read1 Pool7_BC1_read1_output.txt

    But I got this error message:

    "Warning: Could not open read file "reads/Pool7_BC1_read1" for reading; skipping...
    Command: bowtie hg18 reads/Pool7_BC1_read1 Pool7_BC1_read1_output.txt"

    My files, such as "Pool7_BC1_read1", are FASTQ but don't have an extension. Is that the reason why Bowtie can't read them? I tried to add an extension but it didn't work either though.

    I guess I am doing something wrong but I can't figure out what it is.

    Thanks very much for your help,
    AV

  • #2
    You wrote:

    bowtie hg18 reads/Pool7_BC1_read1 Pool7_BC1_read1_output.txt

    Is that the exact command that you put in? I feel like the error message and the input you posted aren't matching up with what I would have expected.

    Comment


    • #3
      Hi,AVincent!

      There is a blank space both in your file name and path.
      While in the linux OS ,the character could not be recognized.
      You may rename the path and read file!

      Good luck!

      Comment


      • #4
        Hi everyone,

        Yes this is the exact command I wrote.

        I am running Windows XP Professional x64 Edition so I used the System32\cmd.exe to try to run Bowtie and it worked for the tutorial:


        But when I try to input my own file, I get the error message I previoulsy mentionned...

        I also tried to use MSYS as recommanded in the Bowtie manual but I can't make it work either.

        Thank you very much for your help,
        AV

        Comment


        • #5
          hm - try:
          bowtie hg18 -q reads/Pool7_BC1_read1 Pool7_BC1_read1_output.txt
          (add the -q option - even though default - one never knows ^^)
          but strange, that the tutorial is working... How is it with the '/' character in windows?

          otherwise:
          check format (?)
          check permissions (?)

          good luck

          Comment


          • #6
            Thanks schmima for your quick reply.

            I tried to add the -q option but got the same warning...
            The format is FASTQ.
            Can I ask you what you mean by "check permission"?

            Thanks!

            Comment


            • #7
              to check the file permission - so if bowtie is allowed to open it (don't know if this issue applies for windows and if bowtie wouldn't tell you about the permission problem).

              otherwise:
              try to rename the files (no capital, no special chars etc) or maybe to move the read file in the same directory as your bowtie executable is:

              bowtie hg18 -q myreads myreadsresults

              Hm - hope something will help

              Comment


              • #8
                just another idea:
                if your file is large, check what happens if you split it - so that every single file is less than 2-3 GB in size.

                Comment


                • #9
                  I renamed the file and tried to move it to the bowtie directory but I got the same warning again.
                  My files are already around 2-4GB in size so I don't really know what else I can do...
                  But thanks again schmima!...

                  Comment


                  • #10
                    Did you get it to work?

                    Hey AVicent,

                    Did you finally get it to work? I'm having the same problem, in Ubuntu however. Have tried moving the files to the same directory as the binary, but still getting the same "could not open read file" message. Please let me know if/how you solved this.

                    Thanks!

                    Comment


                    • #11
                      When you specify file you want to process, give the entire path, like C:\directory1\directory2\file.fastq
                      Last edited by biznatch; 01-04-2011, 02:11 PM.

                      Comment


                      • #12
                        Thanks biznatch, I finally got it to work. It was some small thing, I don't remember now...probably something like what you wrote.

                        Comment


                        • #13
                          Please rename the filename to hg18.fq then try the script below:

                          bowtie hg18 reads/hg18.fq

                          In windows you have to try on a computer with high memory
                          I recommend to try with linux

                          Comment


                          • #14
                            Hey,
                            I just spent a whole day trying to make this code work... For me the problem was that my FASTQ file's extension was fastq.
                            When changed for .fq, and specified in the command line,
                            bowtie hg18 reads/Pool7_BC1_read1.fq Pool7_BC1_read1_output.txt
                            it worked.

                            Comment


                            • #15
                              Hello everybody,

                              I have the same problem but I cannot solve it :-( Do you have any advice?

                              I couldnt even run the example bowtie (getting stared http://bowtie-bio.sourceforge.net/tutorial.shtml)...

                              I have in the same directory e_coli_1000.fa + indexes , e_coli_1000.fq..

                              When I try bowtie e_coli reads/e_coli_1000.fq it says:

                              Warning: Could not open read file "reads/e_coli_1000.fq" for reading; skipping...
                              Command: bowtie e_coli reads/e_coli_1000.fq


                              Thank you very much for any advice...

                              Comment

                              Latest Articles

                              Collapse

                              • seqadmin
                                Techniques and Challenges in Conservation Genomics
                                by seqadmin



                                The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

                                Avian Conservation
                                Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
                                03-08-2024, 10:41 AM
                              • seqadmin
                                The Impact of AI in Genomic Medicine
                                by seqadmin



                                Artificial intelligence (AI) has evolved from a futuristic vision to a mainstream technology, highlighted by the introduction of tools like OpenAI's ChatGPT and Google's Gemini. In recent years, AI has become increasingly integrated into the field of genomics. This integration has enabled new scientific discoveries while simultaneously raising important ethical questions1. Interviews with two researchers at the center of this intersection provide insightful perspectives into...
                                02-26-2024, 02:07 PM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by seqadmin, 03-14-2024, 06:13 AM
                              0 responses
                              32 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 03-08-2024, 08:03 AM
                              0 responses
                              71 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 03-07-2024, 08:13 AM
                              0 responses
                              80 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 03-06-2024, 09:51 AM
                              0 responses
                              68 views
                              0 likes
                              Last Post seqadmin  
                              Working...
                              X