Giter VIP home page Giter VIP logo

Comments (4)

laurensvdwiel avatar laurensvdwiel commented on July 4, 2024

Hi Coos, the pull request contains all changes needed for this issue to be recolved. Please check it out and close if resolved

from metadome.

laurensvdwiel avatar laurensvdwiel commented on July 4, 2024

Fixed per #21

from metadome.

cbaakman avatar cbaakman commented on July 4, 2024

The problem doesn't seem to be completely fixed. I've pulled from the master branch, rebuilt with docker-compose, but the message keeps showing:

ERROR:PF01391: Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/celery/app/trace.py", line 382, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/src/app/metadome/factory.py", line 90, in __call__
    return TaskBase.__call__(self, *args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/celery/app/trace.py", line 641, in __protected_call__
    return self.run(*args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/celery/app/base.py", line 467, in run
    return task._orig_run(*args, **kwargs)
  File "/usr/src/app/metadome/tasks.py", line 73, in initialize_metadomain
    return MetaDomain.initializeFromDomainID(domain_id)
  File "/usr/src/app/metadome/domain/models/entities/meta_domain.py", line 138, in initializeFromDomainID
    meta_codons_per_consensus_pos, consensus_length, n_instances = generate_pfam_aligned_codons(domain_id)
  File "/usr/src/app/metadome/domain/data_generation/mapping/meta_domain_mapping.py", line 133, in generate_pfam_aligned_codons
    raise Exception("duplicate uniprot position in metadomain for uniprot_ac ='"+str(_alignment['uniprot_ac'])+"' at position '"+str(uniprot_pos)+"'")
Exception: duplicate uniprot position in metadomain for uniprot_ac ='Q9Y215-5' at position '200'

INFO:PF01393: <MetaDomain(domain_id='PF01393', consensus_length='53', n_proteins='3', n_instances='3')>
INFO:PF00999: <MetaDomain(domain_id='PF00999', consensus_length='381', n_proteins='23', n_instances='23')>
INFO:PF04117: <MetaDomain(domain_id='PF04117', consensus_length='62', n_proteins='4', n_instances='4')>
INFO:PF00052: <MetaDomain(domain_id='PF00052', consensus_length='132', n_proteins='10', n_instances='14')>
INFO:PF00157: <MetaDomain(domain_id='PF00157', consensus_length='72', n_proteins='26', n_instances='27')>
INFO:PF03950: <MetaDomain(domain_id='PF03950', consensus_length='174', n_proteins='3', n_instances='3')>
INFO:PF00206: <MetaDomain(domain_id='PF00206', consensus_length='312', n_proteins='6', n_instances='7')>
INFO:PF00447: <MetaDomain(domain_id='PF00447', consensus_length='96', n_proteins='7', n_instances='7')>
INFO:PF03662: <MetaDomain(domain_id='PF03662', consensus_length='318', n_proteins='7', n_instances='7')>
INFO:PF01795: <MetaDomain(domain_id='PF01795', consensus_length='309', n_proteins='3', n_instances='3')>
ERROR:PF02389: Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/celery/app/trace.py", line 382, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/src/app/metadome/factory.py", line 90, in __call__
    return TaskBase.__call__(self, *args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/celery/app/trace.py", line 641, in __protected_call__
    return self.run(*args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/celery/app/base.py", line 467, in run
    return task._orig_run(*args, **kwargs)
  File "/usr/src/app/metadome/tasks.py", line 73, in initialize_metadomain
    return MetaDomain.initializeFromDomainID(domain_id)
  File "/usr/src/app/metadome/domain/models/entities/meta_domain.py", line 138, in initializeFromDomainID
    meta_codons_per_consensus_pos, consensus_length, n_instances = generate_pfam_aligned_codons(domain_id)
  File "/usr/src/app/metadome/domain/data_generation/mapping/meta_domain_mapping.py", line 133, in generate_pfam_aligned_codons
    raise Exception("duplicate uniprot position in metadomain for uniprot_ac ='"+str(_alignment['uniprot_ac'])+"' at position '"+str(uniprot_pos)+"'")
Exception: duplicate uniprot position in metadomain for uniprot_ac ='Q9UBC9' at position '66'

INFO:PF02366: <MetaDomain(domain_id='PF02366', consensus_length='245', n_proteins='5', n_instances='5')>
INFO:PF02044: <MetaDomain(domain_id='PF02044', consensus_length='14', n_proteins='5', n_instances='5')>
INFO:PF00538: <MetaDomain(domain_id='PF00538', consensus_length='74', n_proteins='14', n_instances='18')>
INFO:PF01088: <MetaDomain(domain_id='PF01088', consensus_length='211', n_proteins='7', n_instances='7')>
INFO:PF00618: <MetaDomain(domain_id='PF00618', consensus_length='105', n_proteins='46', n_instances='46')>
ERROR:PF00038: Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/celery/app/trace.py", line 382, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/src/app/metadome/factory.py", line 90, in __call__
    return TaskBase.__call__(self, *args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/celery/app/trace.py", line 641, in __protected_call__
    return self.run(*args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/celery/app/base.py", line 467, in run
    return task._orig_run(*args, **kwargs)
  File "/usr/src/app/metadome/tasks.py", line 73, in initialize_metadomain
    return MetaDomain.initializeFromDomainID(domain_id)
  File "/usr/src/app/metadome/domain/models/entities/meta_domain.py", line 138, in initializeFromDomainID
    meta_codons_per_consensus_pos, consensus_length, n_instances = generate_pfam_aligned_codons(domain_id)
  File "/usr/src/app/metadome/domain/data_generation/mapping/meta_domain_mapping.py", line 133, in generate_pfam_aligned_codons
    raise Exception("duplicate uniprot position in metadomain for uniprot_ac ='"+str(_alignment['uniprot_ac'])+"' at position '"+str(uniprot_pos)+"'")
Exception: duplicate uniprot position in metadomain for uniprot_ac ='Q14CN4-3' at position '320'

@laurensvdwiel could you test for these specific accession codes?

from metadome.

laurensvdwiel avatar laurensvdwiel commented on July 4, 2024

Stupid me forgot to include a commit in the pull request, added this now

from metadome.

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.