-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip2 install biocode error #49
Comments
I need to take away this dependency. For now, install pandoc using apt-get
then the pypandoc module before biocode.
…On Dec 28, 2017 7:07 AM, "Olukayode Daramola" ***@***.***> wrote:
Hi I tried installing biocode using pipe3 in python3, and here is the
output (I also tried using pip install biocode, from python 3.6.3 in
anaconda)
Collecting biocode
Using cached biocode-0.5.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "/tmp/pip-build-a5aeh2_4/biocode/setup.py", line 5, in
from pypandoc import convert
ModuleNotFoundError: No module named 'pypandoc'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-a5aeh2_4/biocode/setup.py", line 8, in <module>
raise Exception("Error: pypandoc module not found, could not convert Markdown to RST")
Exception: Error: pypandoc module not found, could not convert Markdown to RST
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-build-a5aeh2_4/biocode/
I need to convert augustus gtf to GFF3 format
any ideas?
Thanks
Kay
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#49>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAUMk3kHcD5m657EKxQuGLMjAzzYk81Cks5tE66mgaJpZM4ROZkL>
.
|
Did you make any progress here? Also, the title said you were attempting this using pip2, but the body of your report said pip3. Just in case, biocode isn't supported in Python 2.x |
Marking as resolved, since the current code no longer has the dependency which caused this error. |
Hi Jorvis, |
OK, so you got a successful installation now? If so, you can just run the convert_augustus_to_gff3.py script, which should now be in your PATH. Run it without arguments to see usage:
|
what I've is to
says; it does bring me back to why i wanted to install biocode in the first place, seems the last column (9), which contains the attributes is in a bad format, thats why I couldnt use it in the first place. Unfortunately, I just trying to learn how to maybe use python to re-write affected columns. |
Do you mind attaching the file or putting it somewhere I can download it? Also, which version of Augustus are you using? The biocode.gff.get_gff3_features() will only work if the GFF3 is valid already and the output from Augustus isn't. The script I mentioned is used to transform the August GFF into actual, valid GFF3, after which you can use the biocode libraries on it. |
so I tried what you suggested: convert_augustus_to_gff3.py -i augustus_erins.gtf -o new_augustus my input looks like, scaffold10x_1 AUGUSTUS gene 3591 4530 0.27 - . g1 the output just says; ##gff-version 3 and that's it. so I think its the last columns of the input files I need to work on. Thanks for your assistance so far |
OK, that helps. Can you tell me what version of Augustus was used to generate this file? Mario does like changing the output formats occasionally, so I'll need to modify the conversion script to account for the different versions. |
Let's please shift this discussion to issue #51, since the installer isn't an issue here. |
Hi I tried installing biocode using pipe3 in python3, and here is the output (I also tried using pip install biocode, from python 3.6.3 in anaconda)
Collecting biocode
Using cached biocode-0.5.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "/tmp/pip-build-a5aeh2_4/biocode/setup.py", line 5, in
from pypandoc import convert
ModuleNotFoundError: No module named 'pypandoc'
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-a5aeh2_4/biocode/
I need to convert augustus gtf to GFF3 format
any ideas?
Thanks
Kay
The text was updated successfully, but these errors were encountered: