Giter Site home page Giter Site logo

Comments (7)

gtonkinhill avatar gtonkinhill commented on September 8, 2024

Hi,

It looks like none of the gene sequences have made it to the clustering stage, as indicated by total seq: 0. This is leading to this error and the program crashing.

I would double check your annotation files and ensure they have CDS entries. These are the ones Panaroo makes use of.

from panaroo.

bpeacock44 avatar bpeacock44 commented on September 8, 2024

from panaroo.

bpeacock44 avatar bpeacock44 commented on September 8, 2024

Just to make sure - I am using this as my input file, which is the gff file followed by the assembly file on each line. This is the correct input? Thank you again.

K12.gff K12.fna
LF_82.gff LF_82.fna
V3_2.gff V3_2.fna
V3_5.gff V3_5.fna

from panaroo.

gtonkinhill avatar gtonkinhill commented on September 8, 2024

Hi,

That looks correct to me. There has not been extensive testing on the output of PGAP so it's possible there is a bug in the code.
If possible, it would be very helpful if you could attach a couple of input files (gff/fna pairs) to this issue to help with diagnosing the problem.

from panaroo.

bpeacock44 avatar bpeacock44 commented on September 8, 2024

Sure thing! I am new to genome annotation so I could very well have done something strange. I've put the files here.

from panaroo.

gtonkinhill avatar gtonkinhill commented on September 8, 2024

Thanks very much for that. It looks like your fasta sequence names do not match those given in the gff file.
The sequence names in the fasta are prepended by >lcl|. To address this you can use sed. The following command can be used on your fasta file but note that it works inplace and thus will overwrite the originals.

sed -i 's/>lcl|/>/g' K12.fna

I will look at adding a more informative error message to Panaroo for the next release.

from panaroo.

bpeacock44 avatar bpeacock44 commented on September 8, 2024

Many thanks again!

from panaroo.

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.