Question: Bowtie2 offrate option?
0
gravatar for ols5fg
3.8 years ago by
ols5fg0
United States
ols5fg0 wrote:

I've been having a lot of problems using bowtie in conjunction with eXpress (http://bio.math.berkeley.edu/eXpress/tutorial.html) to align and count RNA-seq reads. I decided to try to use bowtie2 instead, and I built my bowtie2 index using bowtie2 2.2.5's bowtie-build command with the option '-o 1' in order to index with an offrate of 1, and this worked just fine.

When I try to use these indices in an alignment with the '-o 1' option, I get this error message:

invalid option -- 'o'

And looking to the help page that comes along with the error, offrate is not, in fact, an option in bowtie2:

 Performance:
  -p/--threads <int> number of alignment threads to launch (1)
  --reorder          force SAM output order to match order of input reads
  --mm               use memory-mapped I/O for index; many 'bowtie's can share

whereas the bowtie2 manual online states that it is an option:

(http://bowtie-bio.sourceforge.net/bowtie2/manual.shtml#command-line-2)

Performance options

-o/--offrate <int>

Override the offrate of the index with <int>. If <int> is greater than the offrate used to build the index, then some row markings are discarded when the index is read into memory. This reduces the memory footprint of the aligner but requires more time to calculate text offsets. <int> must be greater than the value used to build the index.

 

 

 

 

 
 

I have tried using bowtie2 2.2.5, the newest version, and bowtie2 2.2.4, but neither seem to have --offrate as an input option for alignment. Am I missing something? Do I need a different version of the program? Any thoughts would be appreciated.  

rna-seq offrate bowtie2 • 1.7k views
ADD COMMENTlink modified 3.3 years ago by PS0 • written 3.8 years ago by ols5fg0

The manual says you must call -o with a value greater than the one used to build the index, but you are calling it with the same value. Did you try to use a larger value?

ADD REPLYlink written 3.7 years ago by h.mon24k

Thank you for your reply, however even with a higher <int> with the -o or --offrate option, the program returns that 'o' is an invalid option. 

ADD REPLYlink written 3.5 years ago by ols5fg0

I'm not entirely sure that that option ever actually existed.

ADD REPLYlink written 3.5 years ago by Devon Ryan88k
0
gravatar for PS
3.3 years ago by
PS0
PS0 wrote:

It's an option for bowtie2-build, to be used when building the index.  bowtie2-build documentation.  

ADD COMMENTlink written 3.3 years ago by PS0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1610 users visited in the last hour