Giter VIP home page Giter VIP logo

Comments (2)

jjkoehorst avatar jjkoehorst commented on July 30, 2024

This also seems to be the case with EMBL / FASTA files. For example

python3 enaBrowserTools/python3/enaDataGet.py -f embl -exp -d GCA_004875785.1 GCA_004875785.1
Checking availability of https://www.ebi.ac.uk/ena/browser/api/embl/GCA_004875785.1
ERROR: Record does not exist or is not available for accession provided

Should be able to obtain the fasta or embl file from that virus. The ENA page of GCA_004875785.1 also mentions that a contig is available with identifier JF974300.1 but accessing that directly also results in an issue

python3 enaBrowserTools/python3/enaDataGet.py -f embl -exp -d JF974300.1 JF974300.1          
Checking availability of https://www.ebi.ac.uk/ena/browser/api/embl/JF974300.1
Error downloading read record: HTTP Error 400: 
Unable to fetch file for JF974300.1, format embl
Completed

Attempting to download the fasta file also does not work

python3 enaBrowserTools/python3/enaDataGet.py -f fasta -exp -d JF974300.1 JF974300.1
Checking availability of https://www.ebi.ac.uk/ena/browser/api/fasta/JF974300.1
Error downloading read record: HTTP Error 400: 
Unable to fetch file for JF974300.1, format fasta
Completed

Small update, from my home IP address I am able to receive the data but not from the university's server. This resulted in a git checkout and locally where it was working I was under v.1.5.2 while on the server I was using the latest commit. Perhaps this could work for you @rpolicastro

from enabrowsertools.

rpolicastro avatar rpolicastro commented on July 30, 2024

For anyone that may be having the same problem, I found in their code that they are checking for accession numbers with a maximum of 7 digits. However, newer entries can have at least 8 digits. I've initiated a pull request to fix this problem.

from enabrowsertools.

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.