Error: Encountered internal Bowtie 2 exception (#1) (ERR): bowtie2-align exited with value 1
2
0
Entering edit mode
7.5 years ago
salamandra ▴ 550

I'm trying to run bowtie2.

These are the commands:

UNMAP=/pathtofile/unmappedreads.txt
BWTID=/pathtofile/btw2index/hg19
READS=/pathtofile/merged.fastq
OUTPUT=/pathtofile/merged.SAM
bowtie2 -p 4 —un $UNMAP —no-unal -x $BWTID -U $READS -S $OUTPUT

I get this error:

Extra parameter(s) specified: "—un", "/pathtofile/unmappedreads.txt", "—no-unal"
Error: Encountered internal Bowtie 2 exception (#1)
Command: /usr/local/bin/../Cellar/bowtie2/2.2.4/bin/bowtie2-align-s --wrapper basic-0 -p 4 -x /pathtofile/btw2index/hg19 -S /pathtofile/merged.SAM -U /pathtofile/merged.fastq —un /pathtofile/unmappedreads.txt —no-unal 
(ERR): bowtie2-align exited with value 1

Could please someone help?

ChIP-Seq • 27k views
ADD COMMENT
0
Entering edit mode

if this problem is not solved until now, you can remove the "-p 4" and try again.

ADD REPLY
0
Entering edit mode

Hello could someone please assist to resolve this error:

My command:

bowtie2-build -f NC_000913.3.fasta /home/cw2/Documents/ReferenceDB/MG1655_genome

Error: could not open NC_000913.3.fasta
Total time for call to driver() for forward index: 00:00:00
Error: Encountered internal Bowtie 2 exception (#1)
Command: /usr/bin/bowtie2-build-s --wrapper basic-0 -f NC_000913.3.fasta /home/cw2/Documents/ReferenceDB/MG1655_genome
ADD REPLY
1
Entering edit mode

Looks like your fasta reference is not in the current directory. Provide full/relative path for a start.

ADD REPLY
0
Entering edit mode

Thank you. Its done.

ADD REPLY
2
Entering edit mode
7.5 years ago
GenoMax 147k

Some bowtie2 options are specified with -- (two hyphens). Unless your terminal converted those to a single smarthyphen that would be first place to start (--un and --no-unal).

ADD COMMENT
2
Entering edit mode
3.6 years ago
Levin ▴ 20

try to use --threads 4 replace -p 4

ADD COMMENT

Login before adding your answer.

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