File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -22,48 +22,48 @@ Install from source
2222
2323.. code-block ::
2424
25- python3 -m venv venv
26- source venv/bin/activate
25+ python3 -m venv venv
26+ source venv/bin/activate
2727
28- python setup.py install
28+ python setup.py install
2929
3030 Install from PyPi
3131-----------------
3232
3333.. code-block ::
3434
35- pip install py-ard
35+ pip install py-ard
3636
3737
3838 Example
3939-------
4040
4141.. code-block :: python3
4242
43- from pyard import ARD
43+ from pyard import ARD
4444
45- # Initialize ARD object
46- ard = ARD('3290')
45+ # Initialize ARD object
46+ ard = ARD('3290')
4747
4848 # You can specify a data directory for temp files
4949 # ard = ard = ARD('3290', data_dir='/tmp/py-ard')
5050
51- # Initialize with latest DB
52- ard = ARD()
51+ # Initialize with latest DB
52+ ard = ARD()
5353
54- allele = "A*01:01:01"
54+ allele = "A*01:01:01"
5555
56- ard.redux(allele, 'G')
57- # >> 'A*01:01:01G'
56+ ard.redux(allele, 'G')
57+ # >> 'A*01:01:01G'
5858
59- ard.redux(allele, 'lg')
60- # >> 'A*01:01g'
59+ ard.redux(allele, 'lg')
60+ # >> 'A*01:01g'
6161
62- ard.redux(allele, 'lgx')
63- # 'A*01:01'
62+ ard.redux(allele, 'lgx')
63+ # 'A*01:01'
6464
65- ard_gl = ard.redux_gl("A*01:01/A*01:01N+A*02:AB^B*07:02+B*07:AB", "G")
66- # >>> ard_gl
67- # 'B*07:02:01G+B*07:02:01G^A*01:01:01G+A*02:01:01G/A*02:02'
65+ ard_gl = ard.redux_gl("A*01:01/A*01:01N+A*02:AB^B*07:02+B*07:AB", "G")
66+ # >>> ard_gl
67+ # 'B*07:02:01G+B*07:02:01G^A*01:01:01G+A*02:01:01G/A*02:02'
6868
6969
You can’t perform that action at this time.
0 commit comments