File tree Expand file tree Collapse file tree
lib/ProteinStructureUtils Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11test_local
22sdk.cfg
3+ lib /ProteinStructureUtils /ProteinStructureUtilsImpl.py.bak- *
Original file line number Diff line number Diff line change 1+
2+ /*
3+ @author chenry jmc jjeffryes tgu2
4+ */
5+ module KBaseStructure {
6+ typedef int bool;
7+
8+ /*
9+ Reference to KBase genome
10+ @id ws KBaseGenomes.Genome KBaseGenomeAnnotations.GenomeAnnotation
11+ */
12+ typedef string genome_ref;
13+
14+ /*
15+ CDS ID
16+ @id kb
17+ */
18+ typedef string cds_id;
19+
20+ /*
21+ Molecule ID
22+ @id external
23+ */
24+ typedef string mol_id;
25+
26+ /*
27+ Uniref ID
28+ @id external
29+ */
30+ typedef string uniref_id;
31+
32+ /*
33+ Reference to a file handle in shock
34+ @id handle
35+ */
36+ typedef string handle_ref;
37+
38+ /*
39+ ProteinData
40+ mol_id id: ID for the protein
41+ string sequence: amino acid sequence
42+ string md5: hash of the amino acid sequence
43+ uniref_id uniref_id: from uniprot
44+ genome_ref genome_ref: from a kbase genome
45+ cds_id cds_id; from a kbase genome
46+
47+ @optional id uniref_id genome_ref cds_id
48+ */
49+ typedef structure {
50+ mol_id id;
51+ string sequence;
52+ string md5;
53+ uniref_id uniref_id;
54+ genome_ref genome_ref;
55+ cds_id cds_id;
56+ } ProteinData;
57+
58+ /*
59+ ExpProteinStructure
60+ @optional mmcif_handle xml_handle
61+ */
62+ typedef structure {
63+ /*Experimental header*/
64+ string rcsb_id;
65+ string name;
66+ string deposition_date;
67+ string head;
68+ string release_date;
69+ string structure_method;
70+ float resolution;
71+ string author;
72+ list< string> compound;
73+ list< string> source;
74+
75+ /*Structure metadata*/
76+ int num_models;
77+ int num_chains;
78+ int num_residues;
79+ int num_atoms;
80+ int num_het_atoms;
81+ int num_water_atoms;
82+ int num_disordered_atoms;
83+ int num_disordered_residues;
84+
85+ /*Protein links*/
86+ list< ProteinData> proteins;
87+
88+ /*File links*/
89+ handle_ref pdb_handle;
90+ handle_ref mmcif_handle;
91+ handle_ref xml_handle;
92+ } ExperimentalProteinStructure;
93+
94+ /*
95+ ModelProteinStructure
96+ @optional
97+ */
98+ typedef structure {
99+ string user_data;
100+ string name;
101+ int num_chains;
102+ int num_residues;
103+ int num_atoms;
104+
105+ /*Protein links*/
106+ ProteinData protein;
107+
108+ /*File links*/
109+ handle_ref pdb_handle;
110+ } ModelProteinStructure;
111+ };
112+
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ service-language:
88 python
99
1010module-version :
11- 0.0.1
11+ 0.0.2
1212
1313owners :
1414 [asedova, jjeffryes, tgu2]
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ class ProteinStructureUtils:
2222 # state. A method could easily clobber the state set by another while
2323 # the latter method is running.
2424 ######################################### noqa
25- VERSION = "0.0.1 "
26- GIT_URL = "https://github.com/kbaseapps /ProteinStructureUtils.git"
27- GIT_COMMIT_HASH = "c382ad991f24c7fb4e191b164413a95a6a33eaba "
25+ VERSION = "0.0.2 "
26+ GIT_URL = "https://github.com/Tianhao-Gu /ProteinStructureUtils.git"
27+ GIT_COMMIT_HASH = "7fb3a1f471f5f5832cbb415fadda86ff878fc0f7 "
2828
2929 #BEGIN_CLASS_HEADER
3030 logging .basicConfig (format = '%(asctime)s %(levelname)-8s %(message)s' ,
You can’t perform that action at this time.
0 commit comments