Skip to content

Commit

Permalink
Updated gget info pdb oiutput unittest fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert committed Mar 11, 2023
1 parent 9e5962d commit f6bec83
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Python: `save=True` will save the output in the current working directory.

**Flags**
`-pdb` `--pdb`
Include PDB IDs in output.
Include PDB IDs in output (might increase runtime).

`-eo` `--ensembl_only`
Only return results from Ensembl (excludes results from UniProt, NCBI and PDB, but runs significantly faster).
Expand Down
2 changes: 1 addition & 1 deletion docs/src/updates.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## ✨ What's new
**Version ≥ 0.27.3:**
- [`gget info`](./info.md) now excludes PDB IDs by default to increase speed (PDB results can be included using flag `--pdb`).
- [`gget info`](./info.md) excludes PDB IDs by default to increase speed (PDB results can be included using flag `--pdb` / `pdb=True`).

**Version ≥ 0.27.2:**
- Updated [`gget alphafold`](./alphafold.md) to [DeepMind's AlphaFold v2.3.0](https://github.com/deepmind/alphafold/releases/tag/v2.3.0) (including new arguments `multimer_for_monomer` and `multimer_recycles`)
Expand Down
3 changes: 3 additions & 0 deletions gget/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,9 @@ def get_pdb_ids(ens_id):
"""
Function to fetch all PDB IDs linked to an Ensembl ID.
using the PDBe API https://wwwdev.ebi.ac.uk/pdbe/aggregated-api/mappings/ensembl_to_pdb/[ens_id]
API documentation:
https://www.ebi.ac.uk/pdbe/aggregated-api/#/SIFTS/get_ensembl_to_pdb_mappings_api_mappings_ensembl_to_pdb__gene_id__get
"""

res = requests.get(ENS_TO_PDB_API + ens_id)
Expand Down

0 comments on commit f6bec83

Please sign in to comment.