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

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 • 14k 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
4.1 years ago
GenoMax 102k

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
0
Entering edit mode
6 weeks ago
Levin • 0

try to use --threads 4 replace -p 4

ADD COMMENT

Login before adding your answer.

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