Giter Site home page Giter Site logo

retriever's Issues

mutalyzer_retriever - Email address is not specified, HTTP Error 404: Not Found and mutalyzer_retriever.retriever.NoReferenceError

Dear,

Since 28/03/2024, mutalyzer_retriever command cannot retrieve references.

I tested v0.2.4, v0.2.7, v0.3.0 and v0.3.3 of Mutalyzer on our CentOS and Ubuntu servers.

Here the two erros I have:
v2.0.4

/home/localadmin/.local/lib/python3.8/site-packages/Bio/Entrez/__init__.py:726: UserWarning:
            Email address is not specified.

            To make use of NCBI's E-utilities, NCBI requires you to specify your
            email address with each request.  As an example, if your email address
            is [email protected], you can specify it as follows:
               from Bio import Entrez
               Entrez.email = '[email protected]'
            In case of excessive usage of the E-utilities, NCBI will attempt to contact
            a user at the email address provided before blocking access to the
            E-utilities.
  warnings.warn(
Traceback (most recent call last):
  File "/home/localadmin/.local/bin/mutalyzer_retriever", line 12, in <module>
    sys.exit(main())
  File "/home/localadmin/.local/lib/python3.8/site-packages/mutalyzer_retriever/cli.py", line 220, in main
    _endpoint(args)(args)
  File "/home/localadmin/.local/lib/python3.8/site-packages/mutalyzer_retriever/cli.py", line 184, in _retrieve_raw
    output = retrieve_raw(
  File "/home/localadmin/.local/lib/python3.8/site-packages/mutalyzer_retriever/retriever.py", line 124, in retrieve_raw
    reference_content, reference_type, reference_source = _fetch_unknown_source(
  File "/home/localadmin/.local/lib/python3.8/site-packages/mutalyzer_retriever/retriever.py", line 99, in _fetch_unknown_source
    _raise_error(status)
  File "/home/localadmin/.local/lib/python3.8/site-packages/mutalyzer_retriever/retriever.py", line 55, in _raise_error
    raise NoReferenceError(status, uncertain_sources)
mutalyzer_retriever.retriever.NoReferenceError:

Uncertain sources: ncbi

lrg:
 NameError: (HTTPError)(HTTP Error 404: Not Found)
ncbi:
 ConnectionError:
ensembl:
 NameError:

>=v0.2.7

Traceback (most recent call last):
  File "/usr/local/bin/mutalyzer_retriever", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/mutalyzer_retriever/cli.py", line 124, in main
    timeout=args.timeout,
  File "/usr/local/lib/python3.6/site-packages/mutalyzer_retriever/retriever.py", line 114, in retrieve_raw
    reference_id, reference_type, size_off, timeout
  File "/usr/local/lib/python3.6/site-packages/mutalyzer_retriever/retriever.py", line 85, in _fetch_unknown_source
    _raise_error(status)
  File "/usr/local/lib/python3.6/site-packages/mutalyzer_retriever/retriever.py", line 43, in _raise_error
    raise NoReferenceError(status)
mutalyzer_retriever.retriever.NoReferenceError:
lrg: NameError.
ncbi: ConnectionError.
ensembl: NameError.

Is there something updated in Ensembl and NCBI? Do you know how to fix it?

These commands does not work:

mutalyzer_retriever --id "NM_020937.3" --parse
mutalyzer_retriever --id 'NM_020937.3' --parse
mutalyzer_retriever --id NM_020937.3 --parse
mutalyzer_retriever --id AC254562.1 --parse
mutalyzer_retriever --id NM_001320134.1 --parse
mutalyzer_retriever --id NM_020937.3 --related --indent 2
mutalyzer_retriever --id NM_020937.3 -s ensembl
mutalyzer_retriever --id NM_020937.3 -s ncbi

These commands work:

mutalyzer_retriever  --id LRG_303 --parse
mutalyzer_retriever --id LRG_303 --related --indent 2
mutalyzer_retriever --id LRG_303 -s lrg

I also tried to define an adress email in mutalyzer_retriever and /home/localadmin/.local/lib/python3.8/site-packages/Bio/Entrez/init.py:

from Bio import Entrez
Entrez.email = '[email protected]'
email = '[email protected]'

Best,
Vimel

Missing support for mitochondrial genes.

Mitochondrial genes have no transcripts in the classical sense, so no NM_ identifiers are present in the annotation. We should therefore allow for other ways to select a CDS, the name of the gene seems to be the most practical candidate.

Please see the following example: NC_012920.1(ND4):c.10del

Own GFF parser

Given that the current GFF parser is not really actively maintained, it may be a good idea to consider developing our own parser.

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.