OpenStructure
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
ost.io.remote Namespace Reference

Data Structures

class  RemoteRepository
 

Functions

 RemoteGet (id, from_repo='pdb')
 
 RemoteLoad (id, from_repo='pdb')
 

Variables

dict REMOTE_REPOSITORIES
 

Function Documentation

◆ RemoteGet()

RemoteGet (   id,
  from_repo = 'pdb' 
)
Invokes :func:`RemoteRepository.Get` on predefined repositories 
('pdb', 'smtl', 'cif', 'pdb_redo')

:param from_repo:    One of the predefined repositories
:type from_repo:     :class:`str`

Definition at line 124 of file remote.py.

◆ RemoteLoad()

RemoteLoad (   id,
  from_repo = 'pdb' 
)
Invokes :func:`RemoteRepository.Load` on predefined repositories 
('pdb', 'smtl', 'cif', 'pdb_redo')

:param from_repo:    One of the predefined repositories
:type from_repo:     :class:`str`

Definition at line 137 of file remote.py.

Variable Documentation

◆ REMOTE_REPOSITORIES

dict REMOTE_REPOSITORIES
Initial value:
1= {
2 'pdb' : RemoteRepository('rcsb.org (PDB)', 'https://files.rcsb.org/download/$ID.pdb.gz',
3 type='pdb', id_transform='upper'),
4 'smtl' : RemoteRepository('SMTL', 'https://swissmodel.expasy.org/templates/$ID.pdb',
5 type='pdb', id_transform='lower'),
6 'cif' : RemoteRepository('rcsb.org (mmCIF)', 'https://files.rcsb.org/download/$ID.cif.gz',
7 type='cif', id_transform='lower'),
8 'pdb_redo' : RemoteRepository('pdbredo', 'https://pdb-redo.eu/db/$ID/$ID_besttls.pdb.gz',
9 type='pdb', id_transform='lower'),
10}

Definition at line 113 of file remote.py.