Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • AVincent
    Junior Member
    • Jul 2010
    • 4

    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
  • Bardj
    UB Buffalo Bioinformatics
    • Nov 2009
    • 26

    #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

    • sp_wade
      Junior Member
      • Mar 2010
      • 9

      #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

      • AVincent
        Junior Member
        • Jul 2010
        • 4

        #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

        • schmima
          Member
          • Apr 2010
          • 56

          #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

          • AVincent
            Junior Member
            • Jul 2010
            • 4

            #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

            • schmima
              Member
              • Apr 2010
              • 56

              #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

              • schmima
                Member
                • Apr 2010
                • 56

                #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

                • AVincent
                  Junior Member
                  • Jul 2010
                  • 4

                  #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

                  • MagmaManiac
                    Junior Member
                    • Dec 2010
                    • 2

                    #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

                    • biznatch
                      Senior Member
                      • Nov 2010
                      • 124

                      #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

                      • MagmaManiac
                        Junior Member
                        • Dec 2010
                        • 2

                        #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

                        • babaref
                          Junior Member
                          • Jul 2011
                          • 2

                          #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

                          • Lcontami
                            Junior Member
                            • Feb 2013
                            • 5

                            #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

                            • zgtmann
                              Member
                              • Feb 2013
                              • 13

                              #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

                              • 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
                              • SEQadmin2
                                Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                                by SEQadmin2


                                I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                                Here are nine questions we think about, in roughly the order they matter, before...
                                06-18-2026, 07:11 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 07-02-2026, 11:08 AM
                              0 responses
                              19 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-30-2026, 05:37 AM
                              0 responses
                              20 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-26-2026, 11:10 AM
                              0 responses
                              21 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-17-2026, 06:09 AM
                              0 responses
                              54 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...