File tree Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -85,11 +85,21 @@ Homebrew will notify you as new versions of `py-ard` are released.
85
85
86
86
### Install from source
87
87
88
+ Checkout the ` py-ard ` source code.
89
+
90
+ ``` shell
91
+ git clone https://github.com/nmdp-bioinformatics/py-ard.git
92
+ cd py-ard
93
+ ```
94
+
95
+ Create and activate virtual environment. Install the py-ard dependencies.
96
+
88
97
``` shell
89
- python3 -m venv venv
98
+ make venv
99
+
90
100
source venv/bin/activate
91
101
92
- python setup.py install
102
+ make install
93
103
```
94
104
95
105
See [ Our Contribution Guide] ( CONTRIBUTING.rst ) for open source contribution to ` py-ard ` .
@@ -103,13 +113,16 @@ it'll throw an Invalid Exception, not silently return an empty result.
103
113
104
114
#### Initialize ` py-ard `
105
115
106
- Import ` pyard ` package.
116
+ Import and initialize ` pyard ` package.
117
+ The default initialization is to use the latest version of IPD-IMGT/HLA database.
107
118
108
119
``` python
109
120
import pyard
121
+
122
+ ard = pyard.init()
110
123
```
111
124
112
- Initialize ` ARD ` object with a version of IMGT HLA database
125
+ Initialize ` py-ard ` with a particular version of IPD/ IMGT- HLA database.
113
126
114
127
``` python
115
128
import pyard
@@ -144,13 +157,6 @@ As MAC data changes frequently, you can choose to refresh the MAC code for curre
144
157
ard.refresh_mac_codes()
145
158
```
146
159
147
- The default initialization is to use the latest version of IPD-IMGT/HLA database.
148
-
149
- ``` python
150
- import pyard
151
-
152
- ard = pyard.init()
153
- ```
154
160
155
161
You can check the current version of IPD-IMGT/HLA database.
156
162
You can’t perform that action at this time.
0 commit comments