Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

downloadpfam fails for full alignments #73

Open
3f6a opened this issue Apr 28, 2024 · 1 comment
Open

downloadpfam fails for full alignments #73

3f6a opened this issue Apr 28, 2024 · 1 comment

Comments

@3f6a
Copy link

3f6a commented Apr 28, 2024

downloadpfam seems to fail when attempting to download full alignments:

MIToS.Pfam.downloadpfam("PF11591"; alignment="full")

ERROR: HTTP.Exceptions.StatusError(404, "GET", "/interpro/wwwapi/entry/pfam/PF11591/?annotation=alignment:full&download", HTTP.Messages.Response:
"""
HTTP/1.1 404 Not Found
Server: gunicorn
Vary: Accept,Cookie,Origin
Content-Type: application/json
InterPro-Version: 99.0
Access-Control-Expose-Headers: Content-Length, InterPro-Version, InterPro-Version-Minor, Cached
Strict-Transport-Security: max-age=0
Date: Sun, 28 Apr 2024 10:53:34 GMT
Access-Control-Max-Age: 3600
InterPro-Version-Minor: 0
Access-Control-Allow-Origin: *
X-Content-Type-Options: nosniff
Connection: Keep-Alive
Allow: GET, HEAD
X-Frame-Options: DENY
Access-Control-Allow-Methods: GET, HEAD, OPTIONS, POST, PUT
Access-Control-Allow-Headers: x-requested-with, Content-Type, origin, authorization, accept, client-security-token
Referrer-Policy: same-origin
Content-Length: 35

""")

However, downloading seed alignments works fine:

MIToS.Pfam.downloadpfam("PF11591"; alignment="seed") # succeeds
@timholy
Copy link
Contributor

timholy commented May 10, 2024

I submitted a ticket and got this:

Hello Tim,

Indeed for the last few releases only the seed alignments were made available.
However from next release (scheduled for the end of May), the full alignments will again be available through both the website and the API.

In the meantime, you can download all full alignments from the Pfam FTP ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants