Please help me with pyfasta
1
0
Entering edit mode
8.8 years ago
seta ★ 1.9k

Hi all,

I have a basic question. I am trying to use pyfasta 0.5.2 for splitting a large fasta file. I successfully install pyfasta via python setup.py install --user. But, when I try to run the program with pyfasta split, it gives me an error that command not found. There is a directory called "pyfasta" within pyfasta-0.5.2 directory, it contain three files named, fasta.py, __init__.py, records.py, and split_fasta.py. I'm totally confused how to run the program. Could you please help me for solve this issue?

Thank you

fasta pyfasta • 5.6k views
ADD COMMENT
0
Entering edit mode

Is ~/.local/bin in your PATH? That's where the executables will get installed.

ADD REPLY
0
Entering edit mode

I think you need to re-run as a super user (sudo) because its not in path, but its installed or add it to path manually. You will also require setuptool for it to run properly.

ADD REPLY
0
Entering edit mode

@seta Hi are you able to run the split - header in pyfasta I am unable to run it can you give the usage for it im able to run other split options but not - header I want the usage in windows

ADD REPLY
0
Entering edit mode

Please use ADD COMMENT or ADD REPLY to answer to previous reactions, as such this thread remains logically structured and easy to follow. I have now moved your post but as you can see it's not optimal. Adding an answer should only be used for providing a solution to the question asked.

ADD REPLY
2
Entering edit mode
8.8 years ago

Note the --user option. It's quite likely that ~/.local/bin just isn't in the PATH.

ADD COMMENT
1
Entering edit mode

Thank you very much, Devon. I added ~/.local/bin to the PATH and the problem was solved.

ADD REPLY

Login before adding your answer.

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