OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Data Structures | Functions | Variables
ost.io.remote Namespace Reference

Data Structures

class  RemoteRepository
 

Functions

def RemoteGet
 
def RemoteLoad
 

Variables

dictionary REMOTE_REPOSITORIES
 

Function Documentation

def ost.io.remote.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.

def ost.io.remote.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

dictionary 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.