bowtie2: ImportError: No module named argparse
0
0
Entering edit mode
5.4 years ago
BioBaby ▴ 20

hi all, I am beginner for NGS analysis.I installed bowtie2 and when I run bowtie2 for indexing the genome it gave this following error: ImportError: No module named argparse I tried to install this module by yum install python-argparse then it gave same error: File "/usr/local/bin/bowtie2-build", line 27, in <module> import argparse ImportError: No module named argparse. OS :centOS

RNA-Seq next-gen alignment software error • 2.5k views
ADD COMMENT
0
Entering edit mode

How did you install bowtie? Which is your python version?

ADD REPLY
0
Entering edit mode
ADD REPLY
0
Entering edit mode

That's a really old python version. I agree with colindaven, just use bioconda for all your bioinformatics software.

ADD REPLY
0
Entering edit mode

i updated python version still I got same error.

ADD REPLY
0
Entering edit mode

How did you update python? Which version do you have now? Look, just use bioconda okay?

ADD REPLY
0
Entering edit mode

solved...I copy argparse.py script and paste into bowtie2 folder. Thanks WouterDeCoster and colindaven

ADD REPLY
1
Entering edit mode

You temporarily patched the problem, but all of this is suggestive of far more problems you will encounter later. Anyway, good luck.

ADD REPLY
0
Entering edit mode

I'd go for bioconda and follow their tutorial. It'll save you a world of pain ....

ADD REPLY

Login before adding your answer.

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