alignment using bowtie2
1
0
Entering edit mode
3.0 years ago
adR ▴ 120

Hello everyone, Just quick question on Alignment using in the current version of bowtie2. I am doing alignment for the sequence read indicated below(30.fastq). However, getting the warning below. Could not figure it out that does it mean? Is that mean I shall not give name for the out sam file?

bowtie2 --local -x bowtie 30.fastq –Sbowtie3.sam
Warning: Output file '–Sbowtie3.sam' was specified without -S.  This will not work in future Bowtie 2 versions.  Please use -S instead.

Then I thought this might be because I did not give space between -S and the the name bowtie3.sam

bowtie2 --local -x bowtie 30.fastq –S bowtie3.sam

but also got a Warning:

Output file '–S' was specified without -S.  This will not work in future Bowtie 2 versions.  Please use -S instead.
Extra parameter(s) specified: "bowtie3.sam"
Error: Encountered internal Bowtie 2 exception (#1)
Command: /usr/bin/bowtie2-align-s --wrapper basic-0 --local -x bowtie bowtie2.fastq –S bowtie3.sam
(ERR): bowtie2-align exited with value 1

Your help is apricated thank you!

bowtie2 sequencing alignment • 1.0k views
ADD COMMENT
1
Entering edit mode
3.0 years ago

There are two issues in your code:

  1. You miss the -1/-2/-U argument for the input fastq file
  2. the "–S" you use is wrong (long dash). This is correct: "-S".

So the following code should work:

bowtie2 --local -x bowtie -U 30.fastq -S bowtie3.sam
ADD COMMENT
0
Entering edit mode

@Carlo Yague,

Thank you so much for your response! I am doing unpaired alignment for a single fastq. However what is U letter represent? Also Would you also type the code as you showed above for the paired-end alignment. Best Ad

ADD REPLY
1
Entering edit mode

-U means "unpaired", and is used for single-end fastq. If you have paired-end reads in two fastq files, you can use -1 read1.fastq -2 read2.fastq instead.

ADD REPLY

Login before adding your answer.

Traffic: 1781 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6