Convert Settings From Bowtie To Bowtie2
1
0
Entering edit mode
11.9 years ago
lsvijfhuizen ▴ 90

Dear All,

I want to change from Bowtie to Bowtie2 since Bowtie2 supportes gapped alignments. Normally I used to following command in Bowtie:

bowtie -k 1 -m 1 -n 1 -p 1 -S --best --strata reference.fa file.fastq file.sam 2>>results.summary

-k 1 = report up to 1 valid alignments
-m 1 = instructs bowtie to refrain from reporting any alignments for reads having more than 1 reportable alignments.
-n 1 = Maximum number of mismatches
-p 1 = Launch parallel search threads 
-S =  File to write SAM alignments
--best--strata = Specifying --strata in addition to --best causes bowtie to report only those alignments in the best alignment "stratum".

I want to use the same settings in Bowtie2 and add the function to allow for one gap with maximal 2 bp in that specific gap. Can anyone help me with changing the settings?

Thank you!

bowtie2 bowtie alignment • 4.0k views
ADD COMMENT
2
Entering edit mode

Please take the time to read the Bowtie2 manual.

ADD REPLY
2
Entering edit mode
11.9 years ago

First of all there is no automatic conversion that would save you time. At least I have not heard of any such approach.

As Zev.Kronenberg points out please look at the Bowtie2 manual and you will find answers for most of your questions. Come back with issues that may still linger.

ADD COMMENT
1
Entering edit mode

Hi Istvan, you and Zev are right. I thought maybe there is an approach to change every code automatically. But if there isn't something for it, I will have a look at the Bowtie2 Manual. Thanks for your replay!

ADD REPLY

Login before adding your answer.

Traffic: 1832 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