Giter VIP home page Giter VIP logo

Comments (2)

seanmcallister avatar seanmcallister commented on August 29, 2024

Same error essentially in MnGenie:

(magiclamp) sean-mini-server:2022_PCC_ManuscriptWork sean_server$ MagicLamp.py MnGenie -bin_dir bins -bin_ext faa -out heme_MnGenie -t 4 --orfs --makeplots
checking arguments
.
.
.
All required arguments provided!

starting main pipeline...
analyzing All_proteins_fullannotation_HEMEGENES.faa: 102%   
Identifying genomic proximities and putative operons
Traceback (most recent call last):
  File "/Users/sean_server/software/MagicLamp/MagicLamp.py", line 42, in <module>
    MnGenie.main()
  File "/Users/sean_server/software/MagicLamp/genies/MnGenie.py", line 834, in main
    CoordDict[i][contig].append(int(numOrf))
ValueError: invalid literal for int() with base 10: 'Zeta11'

from magiclamp.

Arkadiy-Garber avatar Arkadiy-Garber commented on August 29, 2024

The issue here is that the MagicLamp genies all expect protein files formatted like they are by Prodigal or Prokka: a contig identifier followed by an underscore and integer, which indicates relative position on each contig. This is why the preferred input is a contigs file that will be used as input to a Prodigal run. The genies will accept protein.faa files, but only if their headers are formatted in this specific way

When I made this tool, I didn't consider the fact that many users may have previously-produced and annotated proteins for analysis. I am considering doing a major overhaul to that part of the algorithm to allow for submission of proteins regardless of header format, but have not had time to do this yet.

from magiclamp.

Related Issues (13)

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.