GithubHelp home page GithubHelp logo

Comments (8)

Dx-wmc avatar Dx-wmc commented on August 25, 2024

Also, another point of confusion for me is, is it not possible to use a gbk file with -- region parameter for different genomes, I have now manually annotated a gbk file. But when I want to apply it to another genome the --region parameter reports an error.

from bakta.

oschwengers avatar oschwengers commented on August 25, 2024

Hi, and sorry for responding late.

First: To take a deeper look into the first issue: Could you provide me with an example of this? genome in Fasta and both the raw/fixed gbk files?

Second: I'm not sure if I understand correctly what you're trying to achieve. You would like to re-use a Genbank file via --region for another genome?

from bakta.

Dx-wmc avatar Dx-wmc commented on August 25, 2024

Hi, I have prepared the example data as requested:

  1. s5.fasta: The genome sequence annotated by PGAP pipeline.
  2. s5.gbk: The raw GenBank file generated by PGAP for s5.fasta contains genes not multiple of 3 in length.
  3. s5_edited.gbk: The manually modified GenBank file where I removed the problematic genes so that Bakta's --region parameter works correctly. Directly using --region s5.gbk results in errors.
  4. 1011.fasta: Another genome sequence for which I would like to reuse the annotations from s5_edited.gbk. However, this fails unless I manually change the first line of s5_edited.gbk from s5 to 1011, which is cumbersome.

Based on these observations, I would like to propose the following enhancements to Bakta:

  1. Automatically exclude or skip genes that are not multiples of 3 in length when using the --region parameter.
  2. Reuse an annotated GenBank file for different genomes without manual modification of the file.

I have attached the example data for your review.
test.tar.gz

from bakta.

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.