bowtie2- running command problem
1
0
Entering edit mode
9.4 years ago
vasilislenis ▴ 150

Hello,

I'm trying to map some paired- end reads of the sheep up to the reference genome. So, I have generated the index by using the following command:

bowtie2-build oviAri3.fa oviAri3_bowtie

The files that are created:

oviAri3_bowtie.1.bt2
oviAri3_bowtie.2.bt2
oviAri3_bowtie.3.bt2
oviAri3_bowtie.4.bt2
oviAri3_bowtie.rev.1.bt2
oviAri3_bowtie.rev.2.bt2

So far, everything seems to be ok. Now, I'm trying to do the mapping with the following command:

bowtie2 oviAri3_bowtie \
  -1 BH1_GCCAAT_L001_R1_001.fastq.gz.p \
  -2 BH1_GCCAAT_L001_R2_001.fastq.gz.p \
  BH1_GCCAAT_L001_PE_bwt.sam

The program exits with the message:

No index, query, or output file specified!

unfortunately I cannot find what I'm doing wrong.

Thank you very much in advance,

Vasilis.

ps The bowtie version that I'm using is the latest one: 2.2.4

reference alignment bowtie2 • 13k views
ADD COMMENT
2
Entering edit mode
9.4 years ago
iraun 6.2k

Try this:

bowtie2 \
  -x oviAri3_bowtie \
  -1 BH1_GCCAAT_L001_R1_001.fastq.gz.p \
  -2 BH1_GCCAAT_L001_R2_001.fastq.gz.p \
  -S BH1_GCCAAT_L001_PE_bwt.sam

You need to specify the index with -x and the output with -S.

ADD COMMENT
0
Entering edit mode

It seems that its running :)

Thank you very much!

ADD REPLY

Login before adding your answer.

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