Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • milesgr
    Member
    • Jun 2010
    • 34

    #1

    Bowtie beginner question...

    I am trying to perform an alignment of a fastq file using bowtie.

    bowtie -q -p 8 -v 3 -a -m 600 --best --strata /inputfolder/inputFILE.fq

    I get the following error:
    No query or output file specified!

    I also tried the following:
    bowtie -q /inputfolder/inputFILE.fq -p 8 -v 3 -a -m 600 --best --strata

    and received the same message.

    I'm not sure what I am doing wrong but I feel like it's something very simple. Any help would be greatly appreciated.
  • DZhang
    Senior Member
    • Jun 2010
    • 177

    #2
    Hi milesgr,

    Did you prepare the index files for Bowtie? You need to specify the base in the command.

    Douglas

    Comment

    • milesgr
      Member
      • Jun 2010
      • 34

      #3
      Thanks for the quick response...I originally forgot to include the index (so I fixed that), but I did have a build of it already. One more question...

      I built the script to run by (see the below script) changing folders to the folder containing the scripts, which is writable. I then (below this) call bowtie using the full path, referencing the index file (in index_folder) and the fastq file (in folder fastqpath). Neither index_folder or fastqpath are writable folders. My question is, to which folder will the output file be attempted? I assumed it was the working directory, but I wanted to make sure. Furthermore, if I wanted the output file to go to a different folder, how would I accomplish this? Thanks.

      cd script_directory

      /full_path/bowtie -q -p 8 -v 3 -a -m 600 --best --strata /index_folder /fastqpath/fastqfile.fq

      Comment

      • DZhang
        Senior Member
        • Jun 2010
        • 177

        #4
        Your current command, as is, will print the output to the screen. Check the bowtie online manual on the "output" session; it has many options for its output. As to redirect the output to a different directory, just specify the path to it and make sure the directory is already there (and as you are already aware, writable).

        Douglas

        Comment

        • milesgr
          Member
          • Jun 2010
          • 34

          #5
          I read up on this and I guess my last (hopefully) question is:

          If I add the --sam as shown below, this should output to a sam format, correct? Further, when you specify, "As to redirect the output to a different directory, just specify the path to it and make sure the directory is already there.", what do you mean just specify the path to it? Where would I place that specification?

          /full_path/bowtie -q -p 8 -v 3 -a -m 600 --best --strata --sam /index_folder /fastqpath/fastqfile.fq

          Say, for instance I wanted to output the .sam file to /home/temp, could you do me a favor and put that in the command so I could see an example of this? Thanks again for all your help...I really appreciate it.

          Comment

          • DZhang
            Senior Member
            • Jun 2010
            • 177

            #6
            /full_path/bowtie -q -p 8 -v 3 -a -m 600 --best --strata --sam /index_folder /fastqpath/fastqfile.fq > /home/temp/bowtie_out.sam

            Comment

            • chaomeizhang
              Junior Member
              • Aug 2011
              • 7

              #7
              batch bowtie alignment

              Firstly I must say I am a new to the linus and bowtie.

              My questions are
              1 I did demultilexing using CASAVA, and got a bunch of fatsq.gz files, then I did unzip of all the files. Should I do the alignment with bowtie file by file individually or write a loop or use a batch file to do the alignment?

              2 After I get the alignment, may I come back to use the CASAVA? or I had better to use the downstream softwares such as Myrna (paper) ,TopHat (paper), Cufflinks (paper),RNASEQR (paper).

              many thanks in advance.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                by SEQadmin2



                Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                ...
                10-14-2026, 09:55 AM
              • SEQadmin2
                New Genomics Technologies Take Aim at Long-Standing Limits
                by SEQadmin2


                Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                ...
                09-28-2026, 10:25 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Yesterday, 11:13 AM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, Yesterday, 10:48 AM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-15-2026, 10:52 AM
              0 responses
              35 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              42 views
              0 reactions
              Last Post SEQadmin2  
              Working...