Git Product home page Git Product logo

Comments (4)

jorvis avatar jorvis commented on July 1, 2024

Looking at this - can you verify that you were using python3 (and so pip3?) It would be helpful to paste the command you used to run the convert_gff3_to_gbk.py script.

from biocode.

BenjaminSchwessinger avatar BenjaminSchwessinger commented on July 1, 2024

So I ran this in an anaconda python3 environment convert_gff3_to_gbk.py -i ../../032017_assembly/Pst_104E_v12_h_ctg.anno.gff3 -g ../../032017_assembly/Pst_104E_v12_h_ctg.fa -seq -o Pst_104E_v12_h_ctg.gbk

The issue was that convert_gff3_to_gbk.py is in my bin and looks for the data folder like this TEMPLATE_ENVIRONMENT = Environment(
autoescape=False,
loader=FileSystemLoader(os.path.join(PATH, '../data')),
trim_blocks=False)
. The data folder was not copied to this location. I simply pulled the data folder from git and put it in the right location so all is working now.

from biocode.

jorvis avatar jorvis commented on July 1, 2024

Thanks for tracking that issue down. It reminded me that when doing an installation via PyPi (rather than GitHub clone) that I wasn't handling the data/*.templates files. I've made a series of commits yesterday and today in order to fix this, and commit faee877 was the one where the actual conversion script was changed.. This will be available in the 0.2.0 release of biocode since both the python script and entire installer had to be updated.

from biocode.

jorvis avatar jorvis commented on July 1, 2024

Release 0.2.0 made, and tested within the docker image.

from biocode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.