Comments (3)
Hi, thanks for the issue. Unfortunately this actually seems to be a bug on the UniProt end. If the job has finished, UniProt won't give us a job status for some reason. In any case, I'll write a workaround for this strange behaviour.
from unipressed.
Alright, I will wait for the workaround then :-) I am creating a Docker image with Unipressed installed and with a simple script that accepts a list of accession numbers and produces the corresponding mappings. It would be nice if your library has a method to check for valid from and to pairs (https://rest.uniprot.org/configure/idmapping/fields).
from unipressed.
Well Unipressed does actually validate the correct to and from pairs, but it does so using static typing, so you'll only notice the checking if you use mypy/pydantic etc or you use an IDE that has a built-in type checker like PyCharm or VS Code. If that doesn't fit your use case, and you're after runtime type checking, then I'll open a separate issue for that, since it may be possible using pydantic etc.
from unipressed.
Related Issues (20)
- Fix missing fields listed only in the autocomplete HOT 1
- Integrate the OpenAPI spec
- Implement a Python API for the entry retrieval API HOT 1
- Support the `/uniprotkb/{accession}/publications` and ` /uniprotkb/{accession}/interactions` endpoints
- Support the stream API for all search endpoints
- Support the `/genecentric` endpoints HOT 1
- Support ID Mapping Requests
- Fully deduplicate the evidence dictionaries
- idmapping sleep/ wait HOT 10
- Include filter/field options in the documentation HOT 1
- Add FormatType to the docs, and any other missing Literals
- Add `include_isoform` parameter HOT 2
- Generate `types/__init__.py` HOT 1
- Improve docstrings for "duplicate" fields like `xref` which has many value prefixes
- Move `include_isoform` to `uniprotkb` only
- Better type annotations for `each_record()` HOT 1
- Support automatic parsing of more formats
- Better handling for ranges
- Investigate using Pydantic models
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unipressed.